2 ; object definitions ...
3 (define-object AccountChooser
6 (c-name "EmpathyAccountChooser")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
10 (define-object AvatarChooser
13 (c-name "EmpathyAvatarChooser")
14 (gtype-id "EMPATHY_TYPE_AVATAR_CHOOSER")
17 (define-object AvatarImage
19 (parent "GtkEventBox")
20 (c-name "EmpathyAvatarImage")
21 (gtype-id "EMPATHY_TYPE_AVATAR_IMAGE")
24 (define-object CellRendererActivatable
26 (parent "GtkCellRendererPixbuf")
27 (c-name "EmpathyCellRendererActivatable")
28 (gtype-id "EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE")
31 (define-object CellRendererExpander
33 (parent "GtkCellRenderer")
34 (c-name "EmpathyCellRendererExpander")
35 (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
38 (define-object CellRendererText
40 (parent "GtkCellRendererText")
41 (c-name "EmpathyCellRendererText")
42 (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
48 (c-name "EmpathyChat")
49 (gtype-id "EMPATHY_TYPE_CHAT")
52 (define-object ChatView
54 (parent "GtkTextView")
55 (c-name "EmpathyChatView")
56 (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
62 (c-name "EmpathyConf")
63 (gtype-id "EMPATHY_TYPE_CONF")
66 (define-object ContactListStore
68 (parent "GtkTreeStore")
69 (c-name "EmpathyContactListStore")
70 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
73 (define-object ContactListView
75 (parent "GtkTreeView")
76 (c-name "EmpathyContactListView")
77 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
80 (define-object PresenceChooser
82 (parent "GtkToggleButton")
83 (c-name "EmpathyPresenceChooser")
84 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
87 (define-object SmileyManager
90 (c-name "EmpathySmileyManager")
91 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
97 (c-name "EmpathyTheme")
98 (gtype-id "EMPATHY_TYPE_THEME")
101 (define-object ThemeBoxes
102 (in-module "Empathy")
103 (parent "EmpathyTheme")
104 (c-name "EmpathyThemeBoxes")
105 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
108 (define-object ThemeIrc
109 (in-module "Empathy")
110 (parent "EmpathyTheme")
111 (c-name "EmpathyThemeIrc")
112 (gtype-id "EMPATHY_TYPE_THEME_IRC")
115 (define-object ThemeManager
116 (in-module "Empathy")
118 (c-name "EmpathyThemeManager")
119 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
122 ;; Enumerations and flags ...
124 (define-enum ContactListStoreSort
125 (in-module "Empathy")
126 (c-name "EmpathyContactListStoreSort")
127 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
129 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
130 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
134 (define-enum ContactListStoreCol
135 (in-module "Empathy")
136 (c-name "EmpathyContactListStoreCol")
137 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
139 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
140 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
141 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
142 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
143 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
144 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
145 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
146 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
147 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
148 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
149 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
150 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
151 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
155 (define-flags ContactListFeatureFlags
156 (in-module "Empathy")
157 (c-name "EmpathyContactListFeatureFlags")
158 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
160 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
161 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
162 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
163 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
164 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
165 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
166 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
167 '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
168 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
172 (define-flags ContactWidgetFlags
173 (in-module "Empathy")
174 (c-name "EmpathyContactWidgetFlags")
175 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
177 '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
178 '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
179 '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
180 '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
181 '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
182 '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
186 (define-flags ContactFeatureFlags
187 (in-module "Empathy")
188 (c-name "EmpathyContactFeatureFlags")
189 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
191 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
192 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
193 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
194 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
195 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
196 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
197 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
202 ;; From empathy-images.h
206 ;; From empathy-account-chooser.h
208 (define-function account_chooser_get_type
209 (c-name "empathy_account_chooser_get_type")
210 (return-type "GType")
213 (define-function account_chooser_new
214 (c-name "empathy_account_chooser_new")
215 (is-constructor-of "EmpathyAccountChooser")
216 (return-type "GtkWidget*")
219 (define-method get_account
220 (of-object "EmpathyAccountChooser")
221 (c-name "empathy_account_chooser_get_account")
222 (return-type "McAccount*")
225 (define-method set_account
226 (of-object "EmpathyAccountChooser")
227 (c-name "empathy_account_chooser_set_account")
228 (return-type "gboolean")
230 '("McAccount*" "account")
234 (define-method get_has_all_option
235 (of-object "EmpathyAccountChooser")
236 (c-name "empathy_account_chooser_get_has_all_option")
237 (return-type "gboolean")
240 (define-method set_has_all_option
241 (of-object "EmpathyAccountChooser")
242 (c-name "empathy_account_chooser_set_has_all_option")
245 '("gboolean" "has_all_option")
249 (define-method set_filter
250 (of-object "EmpathyAccountChooser")
251 (c-name "empathy_account_chooser_set_filter")
254 '("EmpathyAccountChooserFilterFunc" "filter")
255 '("gpointer" "user_data")
259 (define-function account_chooser_filter_is_connected
260 (c-name "empathy_account_chooser_filter_is_connected")
261 (return-type "gboolean")
263 '("McAccount*" "account")
264 '("gpointer" "user_data")
270 ;; From empathy-chat.h
272 (define-function chat_get_type
273 (c-name "empathy_chat_get_type")
274 (return-type "GType")
277 (define-function chat_new
278 (c-name "empathy_chat_new")
279 (is-constructor-of "EmpathyChat")
280 (return-type "EmpathyChat*")
282 '("EmpathyTpChat*" "tp_chat")
286 (define-method get_tp_chat
287 (of-object "EmpathyChat")
288 (c-name "empathy_chat_get_tp_chat")
289 (return-type "EmpathyTpChat*")
292 (define-method set_tp_chat
293 (of-object "EmpathyChat")
294 (c-name "empathy_chat_set_tp_chat")
297 '("EmpathyTpChat*" "tp_chat")
301 (define-method get_account
302 (of-object "EmpathyChat")
303 (c-name "empathy_chat_get_account")
304 (return-type "McAccount*")
307 (define-method get_id
308 (of-object "EmpathyChat")
309 (c-name "empathy_chat_get_id")
310 (return-type "const-gchar*")
313 (define-method get_name
314 (of-object "EmpathyChat")
315 (c-name "empathy_chat_get_name")
316 (return-type "const-gchar*")
319 (define-method get_subject
320 (of-object "EmpathyChat")
321 (c-name "empathy_chat_get_subject")
322 (return-type "const-gchar*")
325 (define-method get_remote_contact
326 (of-object "EmpathyChat")
327 (c-name "empathy_chat_get_remote_contact")
328 (return-type "EmpathyContact*")
331 (define-method get_members_count
332 (of-object "EmpathyChat")
333 (c-name "empathy_chat_get_members_count")
334 (return-type "guint")
337 (define-method get_contact_menu
338 (of-object "EmpathyChat")
339 (c-name "empathy_chat_get_contact_menu")
340 (return-type "GtkWidget*")
344 (of-object "EmpathyChat")
345 (c-name "empathy_chat_clear")
349 (define-method scroll_down
350 (of-object "EmpathyChat")
351 (c-name "empathy_chat_scroll_down")
356 (of-object "EmpathyChat")
357 (c-name "empathy_chat_cut")
362 (of-object "EmpathyChat")
363 (c-name "empathy_chat_copy")
368 (of-object "EmpathyChat")
369 (c-name "empathy_chat_paste")
373 (define-method correct_word
374 (of-object "EmpathyChat")
375 (c-name "empathy_chat_correct_word")
378 '("GtkTextIter*" "start")
379 '("GtkTextIter*" "end")
380 '("const-gchar*" "new_word")
386 ;; From empathy-irc-network-dialog.h
388 (define-method dialog_show
389 (of-object "EmpathyIrcNetwork")
390 (c-name "empathy_irc_network_dialog_show")
391 (return-type "GtkWidget*")
393 '("GtkWidget*" "parent")
399 ;; From empathy-spell-dialog.h
401 (define-function spell_dialog_show
402 (c-name "empathy_spell_dialog_show")
405 '("EmpathyChat*" "chat")
406 '("GtkTextIter*" "start")
407 '("GtkTextIter*" "end")
408 '("const-gchar*" "word")
414 ;; From empathy-accounts-dialog.h
416 (define-function accounts_dialog_show
417 (c-name "empathy_accounts_dialog_show")
418 (return-type "GtkWidget*")
420 '("GtkWindow*" "parent")
421 '("McAccount*" "selected_account")
427 ;; From empathy-chat-view.h
429 (define-function chat_view_get_type
430 (c-name "empathy_chat_view_get_type")
431 (return-type "GType")
434 (define-function chat_view_new
435 (c-name "empathy_chat_view_new")
436 (is-constructor-of "EmpathyChatView")
437 (return-type "EmpathyChatView*")
440 (define-method append_message
441 (of-object "EmpathyChatView")
442 (c-name "empathy_chat_view_append_message")
445 '("EmpathyMessage*" "msg")
449 (define-method append_event
450 (of-object "EmpathyChatView")
451 (c-name "empathy_chat_view_append_event")
454 '("const-gchar*" "str")
458 (define-method append_button
459 (of-object "EmpathyChatView")
460 (c-name "empathy_chat_view_append_button")
463 '("const-gchar*" "message")
464 '("GtkWidget*" "button1")
465 '("GtkWidget*" "button2")
469 (define-method scroll
470 (of-object "EmpathyChatView")
471 (c-name "empathy_chat_view_scroll")
474 '("gboolean" "allow_scrolling")
478 (define-method scroll_down
479 (of-object "EmpathyChatView")
480 (c-name "empathy_chat_view_scroll_down")
484 (define-method get_selection_bounds
485 (of-object "EmpathyChatView")
486 (c-name "empathy_chat_view_get_selection_bounds")
487 (return-type "gboolean")
489 '("GtkTextIter*" "start")
490 '("GtkTextIter*" "end")
495 (of-object "EmpathyChatView")
496 (c-name "empathy_chat_view_clear")
500 (define-method find_previous
501 (of-object "EmpathyChatView")
502 (c-name "empathy_chat_view_find_previous")
503 (return-type "gboolean")
505 '("const-gchar*" "search_criteria")
506 '("gboolean" "new_search")
510 (define-method find_next
511 (of-object "EmpathyChatView")
512 (c-name "empathy_chat_view_find_next")
513 (return-type "gboolean")
515 '("const-gchar*" "search_criteria")
516 '("gboolean" "new_search")
520 (define-method find_abilities
521 (of-object "EmpathyChatView")
522 (c-name "empathy_chat_view_find_abilities")
525 '("const-gchar*" "search_criteria")
526 '("gboolean*" "can_do_previous")
527 '("gboolean*" "can_do_next")
531 (define-method highlight
532 (of-object "EmpathyChatView")
533 (c-name "empathy_chat_view_highlight")
536 '("const-gchar*" "text")
540 (define-method copy_clipboard
541 (of-object "EmpathyChatView")
542 (c-name "empathy_chat_view_copy_clipboard")
546 (define-method get_theme
547 (of-object "EmpathyChatView")
548 (c-name "empathy_chat_view_get_theme")
549 (return-type "EmpathyTheme*")
552 (define-method set_theme
553 (of-object "EmpathyChatView")
554 (c-name "empathy_chat_view_set_theme")
557 '("EmpathyTheme*" "theme")
561 (define-method set_margin
562 (of-object "EmpathyChatView")
563 (c-name "empathy_chat_view_set_margin")
570 (define-function chat_view_get_smiley_menu
571 (c-name "empathy_chat_view_get_smiley_menu")
572 (return-type "GtkWidget*")
574 '("GCallback" "callback")
575 '("gpointer" "user_data")
579 (define-method get_last_timestamp
580 (of-object "EmpathyChatView")
581 (c-name "empathy_chat_view_get_last_timestamp")
582 (return-type "time_t")
585 (define-method set_last_timestamp
586 (of-object "EmpathyChatView")
587 (c-name "empathy_chat_view_set_last_timestamp")
590 '("time_t" "timestamp")
594 (define-method get_last_contact
595 (of-object "EmpathyChatView")
596 (c-name "empathy_chat_view_get_last_contact")
597 (return-type "EmpathyContact*")
600 (define-function chat_view_get_avatar_pixbuf_with_cache
601 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
602 (return-type "GdkPixbuf*")
604 '("EmpathyContact*" "contact")
610 ;; From empathy-log-window.h
612 (define-function log_window_show
613 (c-name "empathy_log_window_show")
614 (return-type "GtkWidget*")
616 '("McAccount*" "account")
617 '("const-gchar*" "chat_id")
618 '("gboolean" "chatroom")
619 '("GtkWindow*" "parent")
625 ;; From empathy-theme-boxes.h
627 (define-function theme_boxes_get_type
628 (c-name "empathy_theme_boxes_get_type")
629 (return-type "GType")
634 ;; From empathy-account-widget.h
636 (define-function account_widget_handle_params
637 (c-name "empathy_account_widget_handle_params")
640 '("McAccount*" "account")
641 '("GladeXML*" "glade")
642 '("const-gchar*" "first_widget_name")
647 (define-function account_widget_add_forget_button
648 (c-name "empathy_account_widget_add_forget_button")
651 '("McAccount*" "account")
652 '("GladeXML*" "glade")
653 '("const-gchar*" "button")
654 '("const-gchar*" "entry")
658 (define-function account_widget_generic_new
659 (c-name "empathy_account_widget_generic_new")
660 (is-constructor-of "EmpathyAccountWidgetGeneric")
661 (return-type "GtkWidget*")
663 '("McAccount*" "account")
667 (define-function account_widget_salut_new
668 (c-name "empathy_account_widget_salut_new")
669 (is-constructor-of "EmpathyAccountWidgetSalut")
670 (return-type "GtkWidget*")
672 '("McAccount*" "account")
676 (define-function account_widget_msn_new
677 (c-name "empathy_account_widget_msn_new")
678 (is-constructor-of "EmpathyAccountWidgetMsn")
679 (return-type "GtkWidget*")
681 '("McAccount*" "account")
685 (define-function account_widget_jabber_new
686 (c-name "empathy_account_widget_jabber_new")
687 (is-constructor-of "EmpathyAccountWidgetJabber")
688 (return-type "GtkWidget*")
690 '("McAccount*" "account")
694 (define-function account_widget_icq_new
695 (c-name "empathy_account_widget_icq_new")
696 (is-constructor-of "EmpathyAccountWidgetIcq")
697 (return-type "GtkWidget*")
699 '("McAccount*" "account")
703 (define-function account_widget_aim_new
704 (c-name "empathy_account_widget_aim_new")
705 (is-constructor-of "EmpathyAccountWidgetAim")
706 (return-type "GtkWidget*")
708 '("McAccount*" "account")
712 (define-function account_widget_yahoo_new
713 (c-name "empathy_account_widget_yahoo_new")
714 (is-constructor-of "EmpathyAccountWidgetYahoo")
715 (return-type "GtkWidget*")
717 '("McAccount*" "account")
721 (define-function account_widget_groupwise_new
722 (c-name "empathy_account_widget_groupwise_new")
723 (is-constructor-of "EmpathyAccountWidgetGroupwise")
724 (return-type "GtkWidget*")
726 '("McAccount*" "account")
732 ;; From empathy-conf.h
734 (define-function conf_get_type
735 (c-name "empathy_conf_get_type")
736 (return-type "GType")
739 (define-function conf_get
740 (c-name "empathy_conf_get")
741 (return-type "EmpathyConf*")
744 (define-function conf_shutdown
745 (c-name "empathy_conf_shutdown")
749 (define-method notify_add
750 (of-object "EmpathyConf")
751 (c-name "empathy_conf_notify_add")
752 (return-type "guint")
754 '("const-gchar*" "key")
755 '("EmpathyConfNotifyFunc" "func")
760 (define-method notify_remove
761 (of-object "EmpathyConf")
762 (c-name "empathy_conf_notify_remove")
763 (return-type "gboolean")
769 (define-method set_int
770 (of-object "EmpathyConf")
771 (c-name "empathy_conf_set_int")
772 (return-type "gboolean")
774 '("const-gchar*" "key")
779 (define-method get_int
780 (of-object "EmpathyConf")
781 (c-name "empathy_conf_get_int")
782 (return-type "gboolean")
784 '("const-gchar*" "key")
789 (define-method set_bool
790 (of-object "EmpathyConf")
791 (c-name "empathy_conf_set_bool")
792 (return-type "gboolean")
794 '("const-gchar*" "key")
795 '("gboolean" "value")
799 (define-method get_bool
800 (of-object "EmpathyConf")
801 (c-name "empathy_conf_get_bool")
802 (return-type "gboolean")
804 '("const-gchar*" "key")
805 '("gboolean*" "value")
809 (define-method set_string
810 (of-object "EmpathyConf")
811 (c-name "empathy_conf_set_string")
812 (return-type "gboolean")
814 '("const-gchar*" "key")
815 '("const-gchar*" "value")
819 (define-method get_string
820 (of-object "EmpathyConf")
821 (c-name "empathy_conf_get_string")
822 (return-type "gboolean")
824 '("const-gchar*" "key")
829 (define-method set_string_list
830 (of-object "EmpathyConf")
831 (c-name "empathy_conf_set_string_list")
832 (return-type "gboolean")
834 '("const-gchar*" "key")
839 (define-method get_string_list
840 (of-object "EmpathyConf")
841 (c-name "empathy_conf_get_string_list")
842 (return-type "gboolean")
844 '("const-gchar*" "key")
845 '("GSList**" "value")
851 ;; From empathy-theme.h
853 (define-function theme_get_type
854 (c-name "empathy_theme_get_type")
855 (return-type "GType")
858 (define-method update_view
859 (of-object "EmpathyTheme")
860 (c-name "empathy_theme_update_view")
863 '("EmpathyChatView*" "view")
867 (define-method append_message
868 (of-object "EmpathyTheme")
869 (c-name "empathy_theme_append_message")
872 '("EmpathyChatView*" "view")
873 '("EmpathyMessage*" "msg")
877 (define-method append_text
878 (of-object "EmpathyTheme")
879 (c-name "empathy_theme_append_text")
882 '("EmpathyChatView*" "view")
883 '("const-gchar*" "body")
884 '("const-gchar*" "tag")
885 '("const-gchar*" "link_tag")
889 (define-method append_spacing
890 (of-object "EmpathyTheme")
891 (c-name "empathy_theme_append_spacing")
894 '("EmpathyChatView*" "view")
898 (define-method append_event
899 (of-object "EmpathyTheme")
900 (c-name "empathy_theme_append_event")
903 '("EmpathyChatView*" "view")
904 '("const-gchar*" "str")
908 (define-method append_timestamp
909 (of-object "EmpathyTheme")
910 (c-name "empathy_theme_append_timestamp")
913 '("EmpathyChatView*" "view")
914 '("EmpathyMessage*" "message")
915 '("gboolean" "show_date")
916 '("gboolean" "show_time")
920 (define-method maybe_append_date_and_time
921 (of-object "EmpathyTheme")
922 (c-name "empathy_theme_maybe_append_date_and_time")
925 '("EmpathyChatView*" "view")
926 '("EmpathyMessage*" "message")
930 (define-method get_show_avatars
931 (of-object "EmpathyTheme")
932 (c-name "empathy_theme_get_show_avatars")
933 (return-type "gboolean")
936 (define-method set_show_avatars
937 (of-object "EmpathyTheme")
938 (c-name "empathy_theme_set_show_avatars")
947 ;; From empathy-account-widget-irc.h
949 (define-function account_widget_irc_new
950 (c-name "empathy_account_widget_irc_new")
951 (is-constructor-of "EmpathyAccountWidgetIrc")
952 (return-type "GtkWidget*")
954 '("McAccount*" "account")
960 ;; From empathy-account-widget-sip.h
962 (define-function account_widget_sip_new
963 (c-name "empathy_account_widget_sip_new")
964 (is-constructor-of "EmpathyAccountWidgetSip")
965 (return-type "GtkWidget*")
967 '("McAccount*" "account")
973 ;; From empathy-contact-dialogs.h
975 (define-function subscription_dialog_show
976 (c-name "empathy_subscription_dialog_show")
979 '("EmpathyContact*" "contact")
980 '("GtkWindow*" "parent")
984 (define-method information_dialog_show
985 (of-object "EmpathyContact")
986 (c-name "empathy_contact_information_dialog_show")
989 '("GtkWindow*" "parent")
991 '("gboolean" "is_user")
995 (define-function new_contact_dialog_show
996 (c-name "empathy_new_contact_dialog_show")
999 '("GtkWindow*" "parent")
1005 ;; From empathy-new-message-dialog.h
1007 (define-function new_message_dialog_show
1008 (c-name "empathy_new_message_dialog_show")
1009 (return-type "GtkWidget*")
1011 '("GtkWindow*" "parent")
1017 ;; From empathy-theme-irc.h
1019 (define-function theme_irc_get_type
1020 (c-name "empathy_theme_irc_get_type")
1021 (return-type "GType")
1026 ;; From empathy-avatar-chooser.h
1028 (define-function avatar_chooser_get_type
1029 (c-name "empathy_avatar_chooser_get_type")
1030 (return-type "GType")
1033 (define-function avatar_chooser_new
1034 (c-name "empathy_avatar_chooser_new")
1035 (is-constructor-of "EmpathyAvatarChooser")
1036 (return-type "GtkWidget*")
1040 (of-object "EmpathyAvatarChooser")
1041 (c-name "empathy_avatar_chooser_set")
1042 (return-type "none")
1044 '("EmpathyAvatar*" "avatar")
1048 (define-method get_image_data
1049 (of-object "EmpathyAvatarChooser")
1050 (c-name "empathy_avatar_chooser_get_image_data")
1051 (return-type "none")
1053 '("const-gchar**" "data")
1054 '("gsize*" "data_size")
1055 '("const-gchar**" "mime_type")
1061 ;; From empathy-contact-list-store.h
1063 (define-function contact_list_store_get_type
1064 (c-name "empathy_contact_list_store_get_type")
1065 (return-type "GType")
1068 (define-function empathy_contact_list_store_new
1069 (is-constructor-of "EmpathyContactListStore")
1070 (c-name "empathy_contact_list_store_new")
1071 (return-type "EmpathyContactListStore*")
1073 '("EmpathyContactList*" "list_iface")
1077 (define-method get_list_iface
1078 (of-object "EmpathyContactListStore")
1079 (c-name "empathy_contact_list_store_get_list_iface")
1080 (return-type "EmpathyContactList*")
1083 (define-method get_show_offline
1084 (of-object "EmpathyContactListStore")
1085 (c-name "empathy_contact_list_store_get_show_offline")
1086 (return-type "gboolean")
1089 (define-method set_show_offline
1090 (of-object "EmpathyContactListStore")
1091 (c-name "empathy_contact_list_store_set_show_offline")
1092 (return-type "none")
1094 '("gboolean" "show_offline")
1098 (define-method get_show_avatars
1099 (of-object "EmpathyContactListStore")
1100 (c-name "empathy_contact_list_store_get_show_avatars")
1101 (return-type "gboolean")
1104 (define-method set_show_avatars
1105 (of-object "EmpathyContactListStore")
1106 (c-name "empathy_contact_list_store_set_show_avatars")
1107 (return-type "none")
1109 '("gboolean" "show_avatars")
1113 (define-method get_show_groups
1114 (of-object "EmpathyContactListStore")
1115 (c-name "empathy_contact_list_store_get_show_groups")
1116 (return-type "gboolean")
1119 (define-method set_show_groups
1120 (of-object "EmpathyContactListStore")
1121 (c-name "empathy_contact_list_store_set_show_groups")
1122 (return-type "none")
1124 '("gboolean" "show_groups")
1128 (define-method get_is_compact
1129 (of-object "EmpathyContactListStore")
1130 (c-name "empathy_contact_list_store_get_is_compact")
1131 (return-type "gboolean")
1134 (define-method set_is_compact
1135 (of-object "EmpathyContactListStore")
1136 (c-name "empathy_contact_list_store_set_is_compact")
1137 (return-type "none")
1139 '("gboolean" "is_compact")
1143 (define-method get_sort_criterium
1144 (of-object "EmpathyContactListStore")
1145 (c-name "empathy_contact_list_store_get_sort_criterium")
1146 (return-type "EmpathyContactListStoreSort")
1149 (define-method set_sort_criterium
1150 (of-object "EmpathyContactListStore")
1151 (c-name "empathy_contact_list_store_set_sort_criterium")
1152 (return-type "none")
1154 '("EmpathyContactListStoreSort" "sort_criterium")
1158 (define-function contact_list_store_row_separator_func
1159 (c-name "empathy_contact_list_store_row_separator_func")
1160 (return-type "gboolean")
1162 '("GtkTreeModel*" "model")
1163 '("GtkTreeIter*" "iter")
1164 '("gpointer" "data")
1168 (define-function contact_list_store_get_parent_group
1169 (c-name "empathy_contact_list_store_get_parent_group")
1170 (return-type "gchar*")
1172 '("GtkTreeModel*" "model")
1173 '("GtkTreePath*" "path")
1174 '("gboolean*" "path_is_group")
1178 (define-function contact_list_store_search_equal_func
1179 (c-name "empathy_contact_list_store_search_equal_func")
1180 (return-type "gboolean")
1182 '("GtkTreeModel*" "model")
1184 '("const-gchar*" "key")
1185 '("GtkTreeIter*" "iter")
1186 '("gpointer" "search_data")
1192 ;; From empathy-presence-chooser.h
1194 (define-function presence_chooser_get_type
1195 (c-name "empathy_presence_chooser_get_type")
1196 (return-type "GType")
1199 (define-function presence_chooser_new
1200 (c-name "empathy_presence_chooser_new")
1201 (is-constructor-of "EmpathyPresenceChooser")
1202 (return-type "GtkWidget*")
1205 (define-function presence_chooser_create_menu
1206 (c-name "empathy_presence_chooser_create_menu")
1207 (return-type "GtkWidget*")
1212 ;; From empathy-theme-manager.h
1214 (define-function theme_manager_get_type
1215 (c-name "empathy_theme_manager_get_type")
1216 (return-type "GType")
1219 (define-function theme_manager_get
1220 (c-name "empathy_theme_manager_get")
1221 (return-type "EmpathyThemeManager*")
1224 (define-function theme_manager_get_themes
1225 (c-name "empathy_theme_manager_get_themes")
1226 (return-type "const-gchar**")
1229 (define-method apply
1230 (of-object "EmpathyThemeManager")
1231 (c-name "empathy_theme_manager_apply")
1232 (return-type "none")
1234 '("EmpathyChatView*" "view")
1235 '("const-gchar*" "theme")
1239 (define-method apply_saved
1240 (of-object "EmpathyThemeManager")
1241 (c-name "empathy_theme_manager_apply_saved")
1242 (return-type "none")
1244 '("EmpathyChatView*" "view")
1250 ;; From empathy-avatar-image.h
1252 (define-function avatar_image_get_type
1253 (c-name "empathy_avatar_image_get_type")
1254 (return-type "GType")
1257 (define-function avatar_image_new
1258 (c-name "empathy_avatar_image_new")
1259 (is-constructor-of "EmpathyAvatarImage")
1260 (return-type "GtkWidget*")
1264 (of-object "EmpathyAvatarImage")
1265 (c-name "empathy_avatar_image_set")
1266 (return-type "none")
1268 '("EmpathyAvatar*" "avatar")
1274 ;; From empathy-contact-list-view.h
1276 (define-function contact_list_view_get_type
1277 (c-name "empathy_contact_list_view_get_type")
1278 (return-type "GType")
1281 (define-function contact_list_view_new
1282 (c-name "empathy_contact_list_view_new")
1283 (is-constructor-of "EmpathyContactListView")
1284 (return-type "EmpathyContactListView*")
1286 '("EmpathyContactListStore*" "store")
1287 '("EmpathyContactListFeatureFlags" "list_features")
1288 '("EmpathyContactFeatureFlags" "contact_features")
1292 (define-method get_selected
1293 (of-object "EmpathyContactListView")
1294 (c-name "empathy_contact_list_view_get_selected")
1295 (return-type "EmpathyContact*")
1298 (define-method get_selected_group
1299 (of-object "EmpathyContactListView")
1300 (c-name "empathy_contact_list_view_get_selected_group")
1301 (return-type "gchar*")
1304 (define-method get_contact_menu
1305 (of-object "EmpathyContactListView")
1306 (c-name "empathy_contact_list_view_get_contact_menu")
1307 (return-type "GtkWidget*")
1310 (define-method get_group_menu
1311 (of-object "EmpathyContactListView")
1312 (c-name "empathy_contact_list_view_get_group_menu")
1313 (return-type "GtkWidget*")
1318 ;; From empathy-ui-utils.h
1320 (define-function glade_get_file_simple
1321 (c-name "empathy_glade_get_file_simple")
1322 (return-type "none")
1324 '("const-gchar*" "filename")
1325 '("const-gchar*" "root")
1326 '("const-gchar*" "domain")
1327 '("const-gchar*" "first_required_widget")
1332 (define-function glade_get_file
1333 (c-name "empathy_glade_get_file")
1334 (return-type "GladeXML*")
1336 '("const-gchar*" "filename")
1337 '("const-gchar*" "root")
1338 '("const-gchar*" "domain")
1339 '("const-gchar*" "first_required_widget")
1344 (define-function glade_connect
1345 (c-name "empathy_glade_connect")
1346 (return-type "none")
1348 '("GladeXML*" "gui")
1349 '("gpointer" "user_data")
1350 '("gchar*" "first_widget")
1355 (define-function glade_setup_size_group
1356 (c-name "empathy_glade_setup_size_group")
1357 (return-type "none")
1359 '("GladeXML*" "gui")
1360 '("GtkSizeGroupMode" "mode")
1361 '("gchar*" "first_widget")
1366 (define-function icon_name_from_account
1367 (c-name "empathy_icon_name_from_account")
1368 (return-type "const-gchar*")
1370 '("McAccount*" "account")
1374 (define-function icon_name_for_presence
1375 (c-name "empathy_icon_name_for_presence")
1376 (return-type "const-gchar*")
1378 '("McPresence" "presence")
1382 (define-function icon_name_for_contact
1383 (c-name "empathy_icon_name_for_contact")
1384 (return-type "const-gchar*")
1386 '("EmpathyContact*" "contact")
1390 (define-function pixbuf_from_data
1391 (c-name "empathy_pixbuf_from_data")
1392 (return-type "GdkPixbuf*")
1395 '("gsize" "data_size")
1399 (define-function pixbuf_from_avatar_scaled
1400 (c-name "empathy_pixbuf_from_avatar_scaled")
1401 (return-type "GdkPixbuf*")
1403 '("EmpathyAvatar*" "avatar")
1409 (define-function pixbuf_avatar_from_contact_scaled
1410 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1411 (return-type "GdkPixbuf*")
1413 '("EmpathyContact*" "contact")
1419 (define-function pixbuf_scale_down_if_necessary
1420 (c-name "empathy_pixbuf_scale_down_if_necessary")
1421 (return-type "GdkPixbuf*")
1423 '("GdkPixbuf*" "pixbuf")
1424 '("gint" "max_size")
1428 (define-function pixbuf_from_icon_name
1429 (c-name "empathy_pixbuf_from_icon_name")
1430 (return-type "GdkPixbuf*")
1432 '("const-gchar*" "icon_name")
1433 '("GtkIconSize" "icon_size")
1437 (define-function text_iter_forward_search
1438 (c-name "empathy_text_iter_forward_search")
1439 (return-type "gboolean")
1441 '("const-GtkTextIter*" "iter")
1442 '("const-gchar*" "str")
1443 '("GtkTextIter*" "match_start")
1444 '("GtkTextIter*" "match_end")
1445 '("const-GtkTextIter*" "limit")
1449 (define-function text_iter_backward_search
1450 (c-name "empathy_text_iter_backward_search")
1451 (return-type "gboolean")
1453 '("const-GtkTextIter*" "iter")
1454 '("const-gchar*" "str")
1455 '("GtkTextIter*" "match_start")
1456 '("GtkTextIter*" "match_end")
1457 '("const-GtkTextIter*" "limit")
1461 (define-function window_get_is_visible
1462 (c-name "empathy_window_get_is_visible")
1463 (return-type "gboolean")
1465 '("GtkWindow*" "window")
1469 (define-function window_present
1470 (c-name "empathy_window_present")
1471 (return-type "none")
1473 '("GtkWindow*" "window")
1474 '("gboolean" "steal_focus")
1478 (define-function window_iconify
1479 (c-name "empathy_window_iconify")
1480 (return-type "none")
1482 '("GtkWindow*" "window")
1483 '("GtkStatusIcon*" "status_icon")
1487 (define-function get_toplevel_window
1488 (c-name "empathy_get_toplevel_window")
1489 (return-type "GtkWindow*")
1491 '("GtkWidget*" "widget")
1495 (define-function url_show
1496 (c-name "empathy_url_show")
1497 (return-type "none")
1499 '("const-char*" "url")
1503 (define-function toggle_button_set_state_quietly
1504 (c-name "empathy_toggle_button_set_state_quietly")
1505 (return-type "none")
1507 '("GtkWidget*" "widget")
1508 '("GCallback" "callback")
1509 '("gpointer" "user_data")
1510 '("gboolean" "active")
1514 (define-function link_button_new
1515 (c-name "empathy_link_button_new")
1516 (is-constructor-of "EmpathyLinkButton")
1517 (return-type "GtkWidget*")
1519 '("const-gchar*" "url")
1520 '("const-gchar*" "title")
1524 (define-function text_buffer_tag_set
1525 (c-name "empathy_text_buffer_tag_set")
1526 (return-type "GtkTextTag*")
1528 '("GtkTextBuffer*" "buffer")
1529 '("const-gchar*" "tag_name")
1530 '("const-gchar*" "first_property_name")
1537 ;; From empathy-cell-renderer-activatable.h
1539 (define-function cell_renderer_activatable_get_type
1540 (c-name "empathy_cell_renderer_activatable_get_type")
1541 (return-type "GType")
1544 (define-function cell_renderer_activatable_new
1545 (c-name "empathy_cell_renderer_activatable_new")
1546 (is-constructor-of "EmpathyCellRendererActivatable")
1547 (return-type "GtkCellRenderer*")
1552 ;; From empathy-contact-widget.h
1554 (define-method widget_new
1555 (of-object "EmpathyContact")
1556 (c-name "empathy_contact_widget_new")
1557 (return-type "GtkWidget*")
1559 '("EmpathyContactWidgetFlags" "flags")
1563 (define-function contact_widget_get_contact
1564 (c-name "empathy_contact_widget_get_contact")
1565 (return-type "EmpathyContact*")
1567 '("GtkWidget*" "widget")
1571 (define-function contact_widget_set_contact
1572 (c-name "empathy_contact_widget_set_contact")
1573 (return-type "none")
1575 '("GtkWidget*" "widget")
1576 '("EmpathyContact*" "contact")
1580 (define-function contact_widget_set_account_filter
1581 (c-name "empathy_contact_widget_set_account_filter")
1582 (return-type "none")
1584 '("GtkWidget*" "widget")
1585 '("EmpathyAccountChooserFilterFunc" "filter")
1586 '("gpointer" "user_data")
1592 ;; From empathy-profile-chooser.h
1594 (define-function profile_chooser_new
1595 (c-name "empathy_profile_chooser_new")
1596 (is-constructor-of "EmpathyProfileChooser")
1597 (return-type "GtkWidget*")
1600 (define-function profile_chooser_get_selected
1601 (c-name "empathy_profile_chooser_get_selected")
1602 (return-type "McProfile*")
1604 '("GtkWidget*" "widget")
1608 (define-function profile_chooser_n_profiles
1609 (c-name "empathy_profile_chooser_n_profiles")
1610 (return-type "gint")
1612 '("GtkWidget*" "widget")
1618 ;; From empathy-cell-renderer-expander.h
1620 (define-function cell_renderer_expander_get_type
1621 (c-name "empathy_cell_renderer_expander_get_type")
1622 (return-type "GType")
1625 (define-function cell_renderer_expander_new
1626 (c-name "empathy_cell_renderer_expander_new")
1627 (is-constructor-of "EmpathyCellRendererExpander")
1628 (return-type "GtkCellRenderer*")
1633 ;; From empathy-geometry.h
1635 (define-function geometry_save
1636 (c-name "empathy_geometry_save")
1637 (return-type "none")
1639 '("const-gchar*" "name")
1647 (define-function geometry_load
1648 (c-name "empathy_geometry_load")
1649 (return-type "none")
1651 '("const-gchar*" "name")
1661 ;; From empathy-smiley-manager.h
1663 (define-function smiley_manager_get_type
1664 (c-name "empathy_smiley_manager_get_type")
1665 (return-type "GType")
1668 (define-function smiley_manager_new
1669 (c-name "empathy_smiley_manager_new")
1670 (is-constructor-of "EmpathySmileyManager")
1671 (return-type "EmpathySmileyManager*")
1675 (of-object "EmpathySmileyManager")
1676 (c-name "empathy_smiley_manager_load")
1677 (return-type "none")
1681 (of-object "EmpathySmileyManager")
1682 (c-name "empathy_smiley_manager_add")
1683 (return-type "none")
1685 '("const-gchar*" "icon_name")
1686 '("const-gchar*" "first_str")
1691 (define-method add_from_pixbuf
1692 (of-object "EmpathySmileyManager")
1693 (c-name "empathy_smiley_manager_add_from_pixbuf")
1694 (return-type "none")
1696 '("GdkPixbuf*" "smiley")
1697 '("const-gchar*" "first_str")
1702 (define-method get_all
1703 (of-object "EmpathySmileyManager")
1704 (c-name "empathy_smiley_manager_get_all")
1705 (return-type "GSList*")
1708 (define-method parse
1709 (of-object "EmpathySmileyManager")
1710 (c-name "empathy_smiley_manager_parse")
1711 (return-type "GSList*")
1713 '("const-gchar*" "text")
1718 (of-object "EmpathySmiley")
1719 (c-name "empathy_smiley_free")
1720 (return-type "none")
1725 ;; From empathy-cell-renderer-text.h
1727 (define-function cell_renderer_text_get_type
1728 (c-name "empathy_cell_renderer_text_get_type")
1729 (return-type "GType")
1732 (define-function cell_renderer_text_new
1733 (c-name "empathy_cell_renderer_text_new")
1734 (is-constructor-of "EmpathyCellRendererText")
1735 (return-type "GtkCellRenderer*")
1740 ;; From empathy-spell.h
1742 (define-function spell_supported
1743 (c-name "empathy_spell_supported")
1744 (return-type "gboolean")
1747 (define-function spell_get_language_name
1748 (c-name "empathy_spell_get_language_name")
1749 (return-type "const-gchar*")
1751 '("const-gchar*" "code")
1755 (define-function spell_get_language_codes
1756 (c-name "empathy_spell_get_language_codes")
1757 (return-type "GList*")
1760 (define-function spell_free_language_codes
1761 (c-name "empathy_spell_free_language_codes")
1762 (return-type "none")
1768 (define-function spell_check
1769 (c-name "empathy_spell_check")
1770 (return-type "gboolean")
1772 '("const-gchar*" "word")
1776 (define-function spell_get_suggestions
1777 (c-name "empathy_spell_get_suggestions")
1778 (return-type "GList*")
1780 '("const-gchar*" "word")
1784 (define-function spell_free_suggestions
1785 (c-name "empathy_spell_free_suggestions")
1786 (return-type "none")
1788 '("GList*" "suggestions")
1794 ;; From empathy-contact-menu.h
1796 (define-method menu_new
1797 (of-object "EmpathyContact")
1798 (c-name "empathy_contact_menu_new")
1799 (return-type "GtkWidget*")
1801 '("EmpathyContactFeatureFlags" "features")
1805 (define-method chat_menu_item_new
1806 (of-object "EmpathyContact")
1807 (c-name "empathy_contact_chat_menu_item_new")
1808 (return-type "GtkWidget*")
1811 (define-method call_menu_item_new
1812 (of-object "EmpathyContact")
1813 (c-name "empathy_contact_call_menu_item_new")
1814 (return-type "GtkWidget*")
1817 (define-method log_menu_item_new
1818 (of-object "EmpathyContact")
1819 (c-name "empathy_contact_log_menu_item_new")
1820 (return-type "GtkWidget*")
1823 (define-method info_menu_item_new
1824 (of-object "EmpathyContact")
1825 (c-name "empathy_contact_info_menu_item_new")
1826 (return-type "GtkWidget*")
1829 (define-method edit_menu_item_new
1830 (of-object "EmpathyContact")
1831 (c-name "empathy_contact_edit_menu_item_new")
1832 (return-type "GtkWidget*")