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 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
171 (define-flags ContactWidgetFlags
172 (in-module "Empathy")
173 (c-name "EmpathyContactWidgetFlags")
174 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
176 '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
177 '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
178 '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
179 '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
180 '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
181 '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
185 (define-flags ContactFeatureFlags
186 (in-module "Empathy")
187 (c-name "EmpathyContactFeatureFlags")
188 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
190 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
191 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
192 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
193 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
194 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
195 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
196 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
201 ;; From empathy-images.h
205 ;; From empathy-account-chooser.h
207 (define-function empathy_account_chooser_get_type
208 (c-name "empathy_account_chooser_get_type")
209 (return-type "GType")
212 (define-function empathy_account_chooser_new
213 (c-name "empathy_account_chooser_new")
214 (is-constructor-of "EmpathyAccountChooser")
215 (return-type "GtkWidget*")
218 (define-method get_account
219 (of-object "EmpathyAccountChooser")
220 (c-name "empathy_account_chooser_get_account")
221 (return-type "McAccount*")
224 (define-method set_account
225 (of-object "EmpathyAccountChooser")
226 (c-name "empathy_account_chooser_set_account")
227 (return-type "gboolean")
229 '("McAccount*" "account")
233 (define-method get_has_all_option
234 (of-object "EmpathyAccountChooser")
235 (c-name "empathy_account_chooser_get_has_all_option")
236 (return-type "gboolean")
239 (define-method set_has_all_option
240 (of-object "EmpathyAccountChooser")
241 (c-name "empathy_account_chooser_set_has_all_option")
244 '("gboolean" "has_all_option")
248 (define-method set_filter
249 (of-object "EmpathyAccountChooser")
250 (c-name "empathy_account_chooser_set_filter")
253 '("EmpathyAccountChooserFilterFunc" "filter")
254 '("gpointer" "user_data")
258 (define-function empathy_account_chooser_filter_is_connected
259 (c-name "empathy_account_chooser_filter_is_connected")
260 (return-type "gboolean")
262 '("McAccount*" "account")
263 '("gpointer" "user_data")
269 ;; From empathy-chat.h
271 (define-function empathy_chat_get_type
272 (c-name "empathy_chat_get_type")
273 (return-type "GType")
276 (define-function empathy_chat_new
277 (c-name "empathy_chat_new")
278 (is-constructor-of "EmpathyChat")
279 (return-type "EmpathyChat*")
281 '("EmpathyTpChat*" "tp_chat")
285 (define-method get_tp_chat
286 (of-object "EmpathyChat")
287 (c-name "empathy_chat_get_tp_chat")
288 (return-type "EmpathyTpChat*")
291 (define-method set_tp_chat
292 (of-object "EmpathyChat")
293 (c-name "empathy_chat_set_tp_chat")
296 '("EmpathyTpChat*" "tp_chat")
300 (define-method get_account
301 (of-object "EmpathyChat")
302 (c-name "empathy_chat_get_account")
303 (return-type "McAccount*")
306 (define-method get_id
307 (of-object "EmpathyChat")
308 (c-name "empathy_chat_get_id")
309 (return-type "const-gchar*")
312 (define-method get_name
313 (of-object "EmpathyChat")
314 (c-name "empathy_chat_get_name")
315 (return-type "const-gchar*")
318 (define-method get_subject
319 (of-object "EmpathyChat")
320 (c-name "empathy_chat_get_subject")
321 (return-type "const-gchar*")
324 (define-method get_remote_contact
325 (of-object "EmpathyChat")
326 (c-name "empathy_chat_get_remote_contact")
327 (return-type "EmpathyContact*")
330 (define-method get_members_count
331 (of-object "EmpathyChat")
332 (c-name "empathy_chat_get_members_count")
333 (return-type "guint")
336 (define-method get_contact_menu
337 (of-object "EmpathyChat")
338 (c-name "empathy_chat_get_contact_menu")
339 (return-type "GtkWidget*")
343 (of-object "EmpathyChat")
344 (c-name "empathy_chat_clear")
348 (define-method scroll_down
349 (of-object "EmpathyChat")
350 (c-name "empathy_chat_scroll_down")
355 (of-object "EmpathyChat")
356 (c-name "empathy_chat_cut")
361 (of-object "EmpathyChat")
362 (c-name "empathy_chat_copy")
367 (of-object "EmpathyChat")
368 (c-name "empathy_chat_paste")
372 (define-method correct_word
373 (of-object "EmpathyChat")
374 (c-name "empathy_chat_correct_word")
377 '("GtkTextIter*" "start")
378 '("GtkTextIter*" "end")
379 '("const-gchar*" "new_word")
385 ;; From empathy-irc-network-dialog.h
387 (define-method dialog_show
388 (of-object "EmpathyIrcNetwork")
389 (c-name "empathy_irc_network_dialog_show")
390 (return-type "GtkWidget*")
392 '("GtkWidget*" "parent")
398 ;; From empathy-spell-dialog.h
400 (define-function empathy_spell_dialog_show
401 (c-name "empathy_spell_dialog_show")
404 '("EmpathyChat*" "chat")
405 '("GtkTextIter*" "start")
406 '("GtkTextIter*" "end")
407 '("const-gchar*" "word")
413 ;; From empathy-accounts-dialog.h
415 (define-function empathy_accounts_dialog_show
416 (c-name "empathy_accounts_dialog_show")
417 (return-type "GtkWidget*")
419 '("GtkWindow*" "parent")
425 ;; From empathy-chat-view.h
427 (define-function empathy_chat_view_get_type
428 (c-name "empathy_chat_view_get_type")
429 (return-type "GType")
432 (define-function empathy_chat_view_new
433 (c-name "empathy_chat_view_new")
434 (is-constructor-of "EmpathyChatView")
435 (return-type "EmpathyChatView*")
438 (define-method append_message
439 (of-object "EmpathyChatView")
440 (c-name "empathy_chat_view_append_message")
443 '("EmpathyMessage*" "msg")
447 (define-method append_event
448 (of-object "EmpathyChatView")
449 (c-name "empathy_chat_view_append_event")
452 '("const-gchar*" "str")
456 (define-method append_button
457 (of-object "EmpathyChatView")
458 (c-name "empathy_chat_view_append_button")
461 '("const-gchar*" "message")
462 '("GtkWidget*" "button1")
463 '("GtkWidget*" "button2")
467 (define-method scroll
468 (of-object "EmpathyChatView")
469 (c-name "empathy_chat_view_scroll")
472 '("gboolean" "allow_scrolling")
476 (define-method scroll_down
477 (of-object "EmpathyChatView")
478 (c-name "empathy_chat_view_scroll_down")
482 (define-method get_selection_bounds
483 (of-object "EmpathyChatView")
484 (c-name "empathy_chat_view_get_selection_bounds")
485 (return-type "gboolean")
487 '("GtkTextIter*" "start")
488 '("GtkTextIter*" "end")
493 (of-object "EmpathyChatView")
494 (c-name "empathy_chat_view_clear")
498 (define-method find_previous
499 (of-object "EmpathyChatView")
500 (c-name "empathy_chat_view_find_previous")
501 (return-type "gboolean")
503 '("const-gchar*" "search_criteria")
504 '("gboolean" "new_search")
508 (define-method find_next
509 (of-object "EmpathyChatView")
510 (c-name "empathy_chat_view_find_next")
511 (return-type "gboolean")
513 '("const-gchar*" "search_criteria")
514 '("gboolean" "new_search")
518 (define-method find_abilities
519 (of-object "EmpathyChatView")
520 (c-name "empathy_chat_view_find_abilities")
523 '("const-gchar*" "search_criteria")
524 '("gboolean*" "can_do_previous")
525 '("gboolean*" "can_do_next")
529 (define-method highlight
530 (of-object "EmpathyChatView")
531 (c-name "empathy_chat_view_highlight")
534 '("const-gchar*" "text")
538 (define-method copy_clipboard
539 (of-object "EmpathyChatView")
540 (c-name "empathy_chat_view_copy_clipboard")
544 (define-method get_theme
545 (of-object "EmpathyChatView")
546 (c-name "empathy_chat_view_get_theme")
547 (return-type "EmpathyTheme*")
550 (define-method set_theme
551 (of-object "EmpathyChatView")
552 (c-name "empathy_chat_view_set_theme")
555 '("EmpathyTheme*" "theme")
559 (define-method set_margin
560 (of-object "EmpathyChatView")
561 (c-name "empathy_chat_view_set_margin")
568 (define-function empathy_chat_view_get_smiley_menu
569 (c-name "empathy_chat_view_get_smiley_menu")
570 (return-type "GtkWidget*")
572 '("GCallback" "callback")
573 '("gpointer" "user_data")
577 (define-method get_last_timestamp
578 (of-object "EmpathyChatView")
579 (c-name "empathy_chat_view_get_last_timestamp")
580 (return-type "time_t")
583 (define-method set_last_timestamp
584 (of-object "EmpathyChatView")
585 (c-name "empathy_chat_view_set_last_timestamp")
588 '("time_t" "timestamp")
592 (define-method get_last_contact
593 (of-object "EmpathyChatView")
594 (c-name "empathy_chat_view_get_last_contact")
595 (return-type "EmpathyContact*")
598 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
599 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
600 (return-type "GdkPixbuf*")
602 '("EmpathyContact*" "contact")
608 ;; From empathy-log-window.h
610 (define-function empathy_log_window_show
611 (c-name "empathy_log_window_show")
612 (return-type "GtkWidget*")
614 '("McAccount*" "account")
615 '("const-gchar*" "chat_id")
616 '("gboolean" "chatroom")
617 '("GtkWindow*" "parent")
623 ;; From empathy-theme-boxes.h
625 (define-function empathy_theme_boxes_get_type
626 (c-name "empathy_theme_boxes_get_type")
627 (return-type "GType")
632 ;; From empathy-account-widget.h
634 (define-function empathy_account_widget_handle_params
635 (c-name "empathy_account_widget_handle_params")
638 '("McAccount*" "account")
639 '("GladeXML*" "glade")
640 '("const-gchar*" "first_widget_name")
645 (define-function empathy_account_widget_add_forget_button
646 (c-name "empathy_account_widget_add_forget_button")
649 '("McAccount*" "account")
650 '("GladeXML*" "glade")
651 '("const-gchar*" "button")
652 '("const-gchar*" "entry")
656 (define-function empathy_account_widget_generic_new
657 (c-name "empathy_account_widget_generic_new")
658 (is-constructor-of "EmpathyAccountWidgetGeneric")
659 (return-type "GtkWidget*")
661 '("McAccount*" "account")
665 (define-function empathy_account_widget_salut_new
666 (c-name "empathy_account_widget_salut_new")
667 (is-constructor-of "EmpathyAccountWidgetSalut")
668 (return-type "GtkWidget*")
670 '("McAccount*" "account")
674 (define-function empathy_account_widget_msn_new
675 (c-name "empathy_account_widget_msn_new")
676 (is-constructor-of "EmpathyAccountWidgetMsn")
677 (return-type "GtkWidget*")
679 '("McAccount*" "account")
683 (define-function empathy_account_widget_jabber_new
684 (c-name "empathy_account_widget_jabber_new")
685 (is-constructor-of "EmpathyAccountWidgetJabber")
686 (return-type "GtkWidget*")
688 '("McAccount*" "account")
692 (define-function empathy_account_widget_icq_new
693 (c-name "empathy_account_widget_icq_new")
694 (is-constructor-of "EmpathyAccountWidgetIcq")
695 (return-type "GtkWidget*")
697 '("McAccount*" "account")
701 (define-function empathy_account_widget_aim_new
702 (c-name "empathy_account_widget_aim_new")
703 (is-constructor-of "EmpathyAccountWidgetAim")
704 (return-type "GtkWidget*")
706 '("McAccount*" "account")
710 (define-function empathy_account_widget_yahoo_new
711 (c-name "empathy_account_widget_yahoo_new")
712 (is-constructor-of "EmpathyAccountWidgetYahoo")
713 (return-type "GtkWidget*")
715 '("McAccount*" "account")
719 (define-function empathy_account_widget_groupwise_new
720 (c-name "empathy_account_widget_groupwise_new")
721 (is-constructor-of "EmpathyAccountWidgetGroupwise")
722 (return-type "GtkWidget*")
724 '("McAccount*" "account")
730 ;; From empathy-conf.h
732 (define-function empathy_conf_get_type
733 (c-name "empathy_conf_get_type")
734 (return-type "GType")
737 (define-function empathy_conf_get
738 (c-name "empathy_conf_get")
739 (return-type "EmpathyConf*")
742 (define-function empathy_conf_shutdown
743 (c-name "empathy_conf_shutdown")
747 (define-method notify_add
748 (of-object "EmpathyConf")
749 (c-name "empathy_conf_notify_add")
750 (return-type "guint")
752 '("const-gchar*" "key")
753 '("EmpathyConfNotifyFunc" "func")
758 (define-method notify_remove
759 (of-object "EmpathyConf")
760 (c-name "empathy_conf_notify_remove")
761 (return-type "gboolean")
767 (define-method set_int
768 (of-object "EmpathyConf")
769 (c-name "empathy_conf_set_int")
770 (return-type "gboolean")
772 '("const-gchar*" "key")
777 (define-method get_int
778 (of-object "EmpathyConf")
779 (c-name "empathy_conf_get_int")
780 (return-type "gboolean")
782 '("const-gchar*" "key")
787 (define-method set_bool
788 (of-object "EmpathyConf")
789 (c-name "empathy_conf_set_bool")
790 (return-type "gboolean")
792 '("const-gchar*" "key")
793 '("gboolean" "value")
797 (define-method get_bool
798 (of-object "EmpathyConf")
799 (c-name "empathy_conf_get_bool")
800 (return-type "gboolean")
802 '("const-gchar*" "key")
803 '("gboolean*" "value")
807 (define-method set_string
808 (of-object "EmpathyConf")
809 (c-name "empathy_conf_set_string")
810 (return-type "gboolean")
812 '("const-gchar*" "key")
813 '("const-gchar*" "value")
817 (define-method get_string
818 (of-object "EmpathyConf")
819 (c-name "empathy_conf_get_string")
820 (return-type "gboolean")
822 '("const-gchar*" "key")
827 (define-method set_string_list
828 (of-object "EmpathyConf")
829 (c-name "empathy_conf_set_string_list")
830 (return-type "gboolean")
832 '("const-gchar*" "key")
837 (define-method get_string_list
838 (of-object "EmpathyConf")
839 (c-name "empathy_conf_get_string_list")
840 (return-type "gboolean")
842 '("const-gchar*" "key")
843 '("GSList**" "value")
849 ;; From empathy-theme.h
851 (define-function empathy_theme_get_type
852 (c-name "empathy_theme_get_type")
853 (return-type "GType")
856 (define-method update_view
857 (of-object "EmpathyTheme")
858 (c-name "empathy_theme_update_view")
861 '("EmpathyChatView*" "view")
865 (define-method append_message
866 (of-object "EmpathyTheme")
867 (c-name "empathy_theme_append_message")
870 '("EmpathyChatView*" "view")
871 '("EmpathyMessage*" "msg")
875 (define-method append_text
876 (of-object "EmpathyTheme")
877 (c-name "empathy_theme_append_text")
880 '("EmpathyChatView*" "view")
881 '("const-gchar*" "body")
882 '("const-gchar*" "tag")
883 '("const-gchar*" "link_tag")
887 (define-method append_spacing
888 (of-object "EmpathyTheme")
889 (c-name "empathy_theme_append_spacing")
892 '("EmpathyChatView*" "view")
896 (define-method append_event
897 (of-object "EmpathyTheme")
898 (c-name "empathy_theme_append_event")
901 '("EmpathyChatView*" "view")
902 '("const-gchar*" "str")
906 (define-method append_timestamp
907 (of-object "EmpathyTheme")
908 (c-name "empathy_theme_append_timestamp")
911 '("EmpathyChatView*" "view")
912 '("EmpathyMessage*" "message")
913 '("gboolean" "show_date")
914 '("gboolean" "show_time")
918 (define-method maybe_append_date_and_time
919 (of-object "EmpathyTheme")
920 (c-name "empathy_theme_maybe_append_date_and_time")
923 '("EmpathyChatView*" "view")
924 '("EmpathyMessage*" "message")
928 (define-method get_show_avatars
929 (of-object "EmpathyTheme")
930 (c-name "empathy_theme_get_show_avatars")
931 (return-type "gboolean")
934 (define-method set_show_avatars
935 (of-object "EmpathyTheme")
936 (c-name "empathy_theme_set_show_avatars")
945 ;; From empathy-account-widget-irc.h
947 (define-function empathy_account_widget_irc_new
948 (c-name "empathy_account_widget_irc_new")
949 (is-constructor-of "EmpathyAccountWidgetIrc")
950 (return-type "GtkWidget*")
952 '("McAccount*" "account")
958 ;; From empathy-account-widget-sip.h
960 (define-function empathy_account_widget_sip_new
961 (c-name "empathy_account_widget_sip_new")
962 (is-constructor-of "EmpathyAccountWidgetSip")
963 (return-type "GtkWidget*")
965 '("McAccount*" "account")
971 ;; From empathy-contact-dialogs.h
973 (define-function empathy_subscription_dialog_show
974 (c-name "empathy_subscription_dialog_show")
977 '("EmpathyContact*" "contact")
978 '("GtkWindow*" "parent")
982 (define-method information_dialog_show
983 (of-object "EmpathyContact")
984 (c-name "empathy_contact_information_dialog_show")
987 '("GtkWindow*" "parent")
989 '("gboolean" "is_user")
993 (define-function empathy_new_contact_dialog_show
994 (c-name "empathy_new_contact_dialog_show")
997 '("GtkWindow*" "parent")
1003 ;; From empathy-new-message-dialog.h
1005 (define-function empathy_new_message_dialog_show
1006 (c-name "empathy_new_message_dialog_show")
1007 (return-type "GtkWidget*")
1009 '("GtkWindow*" "parent")
1015 ;; From empathy-theme-irc.h
1017 (define-function empathy_theme_irc_get_type
1018 (c-name "empathy_theme_irc_get_type")
1019 (return-type "GType")
1024 ;; From empathy-avatar-chooser.h
1026 (define-function empathy_avatar_chooser_get_type
1027 (c-name "empathy_avatar_chooser_get_type")
1028 (return-type "GType")
1031 (define-function empathy_avatar_chooser_new
1032 (c-name "empathy_avatar_chooser_new")
1033 (is-constructor-of "EmpathyAvatarChooser")
1034 (return-type "GtkWidget*")
1038 (of-object "EmpathyAvatarChooser")
1039 (c-name "empathy_avatar_chooser_set")
1040 (return-type "none")
1042 '("EmpathyAvatar*" "avatar")
1046 (define-method get_image_data
1047 (of-object "EmpathyAvatarChooser")
1048 (c-name "empathy_avatar_chooser_get_image_data")
1049 (return-type "none")
1051 '("const-gchar**" "data")
1052 '("gsize*" "data_size")
1053 '("const-gchar**" "mime_type")
1059 ;; From empathy-contact-list-store.h
1061 (define-function empathy_contact_list_store_get_type
1062 (c-name "empathy_contact_list_store_get_type")
1063 (return-type "GType")
1066 (define-function empathy_contact_list_store_new
1067 (is-constructor-of "EmpathyContactListStore")
1068 (c-name "empathy_contact_list_store_new")
1069 (return-type "EmpathyContactListStore*")
1071 '("EmpathyContactList*" "list_iface")
1075 (define-method get_list_iface
1076 (of-object "EmpathyContactListStore")
1077 (c-name "empathy_contact_list_store_get_list_iface")
1078 (return-type "EmpathyContactList*")
1081 (define-method get_show_offline
1082 (of-object "EmpathyContactListStore")
1083 (c-name "empathy_contact_list_store_get_show_offline")
1084 (return-type "gboolean")
1087 (define-method set_show_offline
1088 (of-object "EmpathyContactListStore")
1089 (c-name "empathy_contact_list_store_set_show_offline")
1090 (return-type "none")
1092 '("gboolean" "show_offline")
1096 (define-method get_show_avatars
1097 (of-object "EmpathyContactListStore")
1098 (c-name "empathy_contact_list_store_get_show_avatars")
1099 (return-type "gboolean")
1102 (define-method set_show_avatars
1103 (of-object "EmpathyContactListStore")
1104 (c-name "empathy_contact_list_store_set_show_avatars")
1105 (return-type "none")
1107 '("gboolean" "show_avatars")
1111 (define-method get_show_groups
1112 (of-object "EmpathyContactListStore")
1113 (c-name "empathy_contact_list_store_get_show_groups")
1114 (return-type "gboolean")
1117 (define-method set_show_groups
1118 (of-object "EmpathyContactListStore")
1119 (c-name "empathy_contact_list_store_set_show_groups")
1120 (return-type "none")
1122 '("gboolean" "show_groups")
1126 (define-method get_is_compact
1127 (of-object "EmpathyContactListStore")
1128 (c-name "empathy_contact_list_store_get_is_compact")
1129 (return-type "gboolean")
1132 (define-method set_is_compact
1133 (of-object "EmpathyContactListStore")
1134 (c-name "empathy_contact_list_store_set_is_compact")
1135 (return-type "none")
1137 '("gboolean" "is_compact")
1141 (define-method get_sort_criterium
1142 (of-object "EmpathyContactListStore")
1143 (c-name "empathy_contact_list_store_get_sort_criterium")
1144 (return-type "EmpathyContactListStoreSort")
1147 (define-method set_sort_criterium
1148 (of-object "EmpathyContactListStore")
1149 (c-name "empathy_contact_list_store_set_sort_criterium")
1150 (return-type "none")
1152 '("EmpathyContactListStoreSort" "sort_criterium")
1156 (define-function empathy_contact_list_store_row_separator_func
1157 (c-name "empathy_contact_list_store_row_separator_func")
1158 (return-type "gboolean")
1160 '("GtkTreeModel*" "model")
1161 '("GtkTreeIter*" "iter")
1162 '("gpointer" "data")
1166 (define-function empathy_contact_list_store_get_parent_group
1167 (c-name "empathy_contact_list_store_get_parent_group")
1168 (return-type "gchar*")
1170 '("GtkTreeModel*" "model")
1171 '("GtkTreePath*" "path")
1172 '("gboolean*" "path_is_group")
1176 (define-function empathy_contact_list_store_search_equal_func
1177 (c-name "empathy_contact_list_store_search_equal_func")
1178 (return-type "gboolean")
1180 '("GtkTreeModel*" "model")
1182 '("const-gchar*" "key")
1183 '("GtkTreeIter*" "iter")
1184 '("gpointer" "search_data")
1190 ;; From empathy-presence-chooser.h
1192 (define-function empathy_presence_chooser_get_type
1193 (c-name "empathy_presence_chooser_get_type")
1194 (return-type "GType")
1197 (define-function empathy_presence_chooser_new
1198 (c-name "empathy_presence_chooser_new")
1199 (is-constructor-of "EmpathyPresenceChooser")
1200 (return-type "GtkWidget*")
1203 (define-function empathy_presence_chooser_create_menu
1204 (c-name "empathy_presence_chooser_create_menu")
1205 (return-type "GtkWidget*")
1210 ;; From empathy-theme-manager.h
1212 (define-function empathy_theme_manager_get_type
1213 (c-name "empathy_theme_manager_get_type")
1214 (return-type "GType")
1217 (define-function empathy_theme_manager_get
1218 (c-name "empathy_theme_manager_get")
1219 (return-type "EmpathyThemeManager*")
1222 (define-function empathy_theme_manager_get_themes
1223 (c-name "empathy_theme_manager_get_themes")
1224 (return-type "const-gchar**")
1227 (define-method apply
1228 (of-object "EmpathyThemeManager")
1229 (c-name "empathy_theme_manager_apply")
1230 (return-type "none")
1232 '("EmpathyChatView*" "view")
1233 '("const-gchar*" "theme")
1237 (define-method apply_saved
1238 (of-object "EmpathyThemeManager")
1239 (c-name "empathy_theme_manager_apply_saved")
1240 (return-type "none")
1242 '("EmpathyChatView*" "view")
1248 ;; From empathy-avatar-image.h
1250 (define-function empathy_avatar_image_get_type
1251 (c-name "empathy_avatar_image_get_type")
1252 (return-type "GType")
1255 (define-function empathy_avatar_image_new
1256 (c-name "empathy_avatar_image_new")
1257 (is-constructor-of "EmpathyAvatarImage")
1258 (return-type "GtkWidget*")
1262 (of-object "EmpathyAvatarImage")
1263 (c-name "empathy_avatar_image_set")
1264 (return-type "none")
1266 '("EmpathyAvatar*" "avatar")
1272 ;; From empathy-contact-list-view.h
1274 (define-function empathy_contact_list_view_get_type
1275 (c-name "empathy_contact_list_view_get_type")
1276 (return-type "GType")
1279 (define-function empathy_contact_list_view_new
1280 (c-name "empathy_contact_list_view_new")
1281 (is-constructor-of "EmpathyContactListView")
1282 (return-type "EmpathyContactListView*")
1284 '("EmpathyContactListStore*" "store")
1285 '("EmpathyContactListFeatureFlags" "list_features")
1286 '("EmpathyContactFeatureFlags" "contact_features")
1290 (define-method get_selected
1291 (of-object "EmpathyContactListView")
1292 (c-name "empathy_contact_list_view_get_selected")
1293 (return-type "EmpathyContact*")
1296 (define-method get_selected_group
1297 (of-object "EmpathyContactListView")
1298 (c-name "empathy_contact_list_view_get_selected_group")
1299 (return-type "gchar*")
1302 (define-method get_contact_menu
1303 (of-object "EmpathyContactListView")
1304 (c-name "empathy_contact_list_view_get_contact_menu")
1305 (return-type "GtkWidget*")
1308 (define-method get_group_menu
1309 (of-object "EmpathyContactListView")
1310 (c-name "empathy_contact_list_view_get_group_menu")
1311 (return-type "GtkWidget*")
1316 ;; From empathy-ui-utils.h
1318 (define-function empathy_glade_get_file_simple
1319 (c-name "empathy_glade_get_file_simple")
1320 (return-type "none")
1322 '("const-gchar*" "filename")
1323 '("const-gchar*" "root")
1324 '("const-gchar*" "domain")
1325 '("const-gchar*" "first_required_widget")
1330 (define-function empathy_glade_get_file
1331 (c-name "empathy_glade_get_file")
1332 (return-type "GladeXML*")
1334 '("const-gchar*" "filename")
1335 '("const-gchar*" "root")
1336 '("const-gchar*" "domain")
1337 '("const-gchar*" "first_required_widget")
1342 (define-function empathy_glade_connect
1343 (c-name "empathy_glade_connect")
1344 (return-type "none")
1346 '("GladeXML*" "gui")
1347 '("gpointer" "user_data")
1348 '("gchar*" "first_widget")
1353 (define-function empathy_glade_setup_size_group
1354 (c-name "empathy_glade_setup_size_group")
1355 (return-type "none")
1357 '("GladeXML*" "gui")
1358 '("GtkSizeGroupMode" "mode")
1359 '("gchar*" "first_widget")
1364 (define-function empathy_icon_name_from_account
1365 (c-name "empathy_icon_name_from_account")
1366 (return-type "const-gchar*")
1368 '("McAccount*" "account")
1372 (define-function empathy_icon_name_for_presence
1373 (c-name "empathy_icon_name_for_presence")
1374 (return-type "const-gchar*")
1376 '("McPresence" "presence")
1380 (define-function empathy_icon_name_for_contact
1381 (c-name "empathy_icon_name_for_contact")
1382 (return-type "const-gchar*")
1384 '("EmpathyContact*" "contact")
1388 (define-function empathy_pixbuf_from_data
1389 (c-name "empathy_pixbuf_from_data")
1390 (return-type "GdkPixbuf*")
1393 '("gsize" "data_size")
1397 (define-function empathy_pixbuf_from_avatar_scaled
1398 (c-name "empathy_pixbuf_from_avatar_scaled")
1399 (return-type "GdkPixbuf*")
1401 '("EmpathyAvatar*" "avatar")
1407 (define-function empathy_pixbuf_avatar_from_contact_scaled
1408 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1409 (return-type "GdkPixbuf*")
1411 '("EmpathyContact*" "contact")
1417 (define-function empathy_pixbuf_scale_down_if_necessary
1418 (c-name "empathy_pixbuf_scale_down_if_necessary")
1419 (return-type "GdkPixbuf*")
1421 '("GdkPixbuf*" "pixbuf")
1422 '("gint" "max_size")
1426 (define-function empathy_pixbuf_from_icon_name
1427 (c-name "empathy_pixbuf_from_icon_name")
1428 (return-type "GdkPixbuf*")
1430 '("const-gchar*" "icon_name")
1431 '("GtkIconSize" "icon_size")
1435 (define-function empathy_text_iter_forward_search
1436 (c-name "empathy_text_iter_forward_search")
1437 (return-type "gboolean")
1439 '("const-GtkTextIter*" "iter")
1440 '("const-gchar*" "str")
1441 '("GtkTextIter*" "match_start")
1442 '("GtkTextIter*" "match_end")
1443 '("const-GtkTextIter*" "limit")
1447 (define-function empathy_text_iter_backward_search
1448 (c-name "empathy_text_iter_backward_search")
1449 (return-type "gboolean")
1451 '("const-GtkTextIter*" "iter")
1452 '("const-gchar*" "str")
1453 '("GtkTextIter*" "match_start")
1454 '("GtkTextIter*" "match_end")
1455 '("const-GtkTextIter*" "limit")
1459 (define-function empathy_window_get_is_visible
1460 (c-name "empathy_window_get_is_visible")
1461 (return-type "gboolean")
1463 '("GtkWindow*" "window")
1467 (define-function empathy_window_present
1468 (c-name "empathy_window_present")
1469 (return-type "none")
1471 '("GtkWindow*" "window")
1472 '("gboolean" "steal_focus")
1476 (define-function empathy_window_iconify
1477 (c-name "empathy_window_iconify")
1478 (return-type "none")
1480 '("GtkWindow*" "window")
1481 '("GtkStatusIcon*" "status_icon")
1485 (define-function empathy_get_toplevel_window
1486 (c-name "empathy_get_toplevel_window")
1487 (return-type "GtkWindow*")
1489 '("GtkWidget*" "widget")
1493 (define-function empathy_url_show
1494 (c-name "empathy_url_show")
1495 (return-type "none")
1497 '("const-char*" "url")
1501 (define-function empathy_toggle_button_set_state_quietly
1502 (c-name "empathy_toggle_button_set_state_quietly")
1503 (return-type "none")
1505 '("GtkWidget*" "widget")
1506 '("GCallback" "callback")
1507 '("gpointer" "user_data")
1508 '("gboolean" "active")
1512 (define-function empathy_link_button_new
1513 (c-name "empathy_link_button_new")
1514 (is-constructor-of "EmpathyLinkButton")
1515 (return-type "GtkWidget*")
1517 '("const-gchar*" "url")
1518 '("const-gchar*" "title")
1522 (define-function empathy_text_buffer_tag_set
1523 (c-name "empathy_text_buffer_tag_set")
1524 (return-type "GtkTextTag*")
1526 '("GtkTextBuffer*" "buffer")
1527 '("const-gchar*" "tag_name")
1528 '("const-gchar*" "first_property_name")
1535 ;; From empathy-cell-renderer-activatable.h
1537 (define-function empathy_cell_renderer_activatable_get_type
1538 (c-name "empathy_cell_renderer_activatable_get_type")
1539 (return-type "GType")
1542 (define-function empathy_cell_renderer_activatable_new
1543 (c-name "empathy_cell_renderer_activatable_new")
1544 (is-constructor-of "EmpathyCellRendererActivatable")
1545 (return-type "GtkCellRenderer*")
1550 ;; From empathy-contact-widget.h
1552 (define-method widget_new
1553 (of-object "EmpathyContact")
1554 (c-name "empathy_contact_widget_new")
1555 (return-type "GtkWidget*")
1557 '("EmpathyContactWidgetFlags" "flags")
1561 (define-function empathy_contact_widget_get_contact
1562 (c-name "empathy_contact_widget_get_contact")
1563 (return-type "EmpathyContact*")
1565 '("GtkWidget*" "widget")
1569 (define-function empathy_contact_widget_set_contact
1570 (c-name "empathy_contact_widget_set_contact")
1571 (return-type "none")
1573 '("GtkWidget*" "widget")
1574 '("EmpathyContact*" "contact")
1578 (define-function empathy_contact_widget_set_account_filter
1579 (c-name "empathy_contact_widget_set_account_filter")
1580 (return-type "none")
1582 '("GtkWidget*" "widget")
1583 '("EmpathyAccountChooserFilterFunc" "filter")
1584 '("gpointer" "user_data")
1590 ;; From empathy-profile-chooser.h
1592 (define-function empathy_profile_chooser_new
1593 (c-name "empathy_profile_chooser_new")
1594 (is-constructor-of "EmpathyProfileChooser")
1595 (return-type "GtkWidget*")
1598 (define-function empathy_profile_chooser_get_selected
1599 (c-name "empathy_profile_chooser_get_selected")
1600 (return-type "McProfile*")
1602 '("GtkWidget*" "widget")
1606 (define-function empathy_profile_chooser_n_profiles
1607 (c-name "empathy_profile_chooser_n_profiles")
1608 (return-type "gint")
1610 '("GtkWidget*" "widget")
1616 ;; From empathy-cell-renderer-expander.h
1618 (define-function empathy_cell_renderer_expander_get_type
1619 (c-name "empathy_cell_renderer_expander_get_type")
1620 (return-type "GType")
1623 (define-function empathy_cell_renderer_expander_new
1624 (c-name "empathy_cell_renderer_expander_new")
1625 (is-constructor-of "EmpathyCellRendererExpander")
1626 (return-type "GtkCellRenderer*")
1631 ;; From empathy-geometry.h
1633 (define-function empathy_geometry_save
1634 (c-name "empathy_geometry_save")
1635 (return-type "none")
1637 '("const-gchar*" "name")
1645 (define-function empathy_geometry_load
1646 (c-name "empathy_geometry_load")
1647 (return-type "none")
1649 '("const-gchar*" "name")
1659 ;; From empathy-smiley-manager.h
1661 (define-function empathy_smiley_manager_get_type
1662 (c-name "empathy_smiley_manager_get_type")
1663 (return-type "GType")
1666 (define-function empathy_smiley_manager_new
1667 (c-name "empathy_smiley_manager_new")
1668 (is-constructor-of "EmpathySmileyManager")
1669 (return-type "EmpathySmileyManager*")
1673 (of-object "EmpathySmileyManager")
1674 (c-name "empathy_smiley_manager_load")
1675 (return-type "none")
1679 (of-object "EmpathySmileyManager")
1680 (c-name "empathy_smiley_manager_add")
1681 (return-type "none")
1683 '("const-gchar*" "icon_name")
1684 '("const-gchar*" "first_str")
1689 (define-method add_from_pixbuf
1690 (of-object "EmpathySmileyManager")
1691 (c-name "empathy_smiley_manager_add_from_pixbuf")
1692 (return-type "none")
1694 '("GdkPixbuf*" "smiley")
1695 '("const-gchar*" "first_str")
1700 (define-method get_all
1701 (of-object "EmpathySmileyManager")
1702 (c-name "empathy_smiley_manager_get_all")
1703 (return-type "GSList*")
1706 (define-method parse
1707 (of-object "EmpathySmileyManager")
1708 (c-name "empathy_smiley_manager_parse")
1709 (return-type "GSList*")
1711 '("const-gchar*" "text")
1716 (of-object "EmpathySmiley")
1717 (c-name "empathy_smiley_free")
1718 (return-type "none")
1723 ;; From empathy-cell-renderer-text.h
1725 (define-function empathy_cell_renderer_text_get_type
1726 (c-name "empathy_cell_renderer_text_get_type")
1727 (return-type "GType")
1730 (define-function empathy_cell_renderer_text_new
1731 (c-name "empathy_cell_renderer_text_new")
1732 (is-constructor-of "EmpathyCellRendererText")
1733 (return-type "GtkCellRenderer*")
1738 ;; From empathy-spell.h
1740 (define-function empathy_spell_supported
1741 (c-name "empathy_spell_supported")
1742 (return-type "gboolean")
1745 (define-function empathy_spell_get_language_name
1746 (c-name "empathy_spell_get_language_name")
1747 (return-type "const-gchar*")
1749 '("const-gchar*" "code")
1753 (define-function empathy_spell_get_language_codes
1754 (c-name "empathy_spell_get_language_codes")
1755 (return-type "GList*")
1758 (define-function empathy_spell_free_language_codes
1759 (c-name "empathy_spell_free_language_codes")
1760 (return-type "none")
1766 (define-function empathy_spell_check
1767 (c-name "empathy_spell_check")
1768 (return-type "gboolean")
1770 '("const-gchar*" "word")
1774 (define-function empathy_spell_get_suggestions
1775 (c-name "empathy_spell_get_suggestions")
1776 (return-type "GList*")
1778 '("const-gchar*" "word")
1782 (define-function empathy_spell_free_suggestions
1783 (c-name "empathy_spell_free_suggestions")
1784 (return-type "none")
1786 '("GList*" "suggestions")
1792 ;; From empathy-contact-menu.h
1794 (define-method menu_new
1795 (of-object "EmpathyContact")
1796 (c-name "empathy_contact_menu_new")
1797 (return-type "GtkWidget*")
1799 '("EmpathyContactFeatureFlags" "features")
1803 (define-method chat_menu_item_new
1804 (of-object "EmpathyContact")
1805 (c-name "empathy_contact_chat_menu_item_new")
1806 (return-type "GtkWidget*")
1809 (define-method call_menu_item_new
1810 (of-object "EmpathyContact")
1811 (c-name "empathy_contact_call_menu_item_new")
1812 (return-type "GtkWidget*")
1815 (define-method log_menu_item_new
1816 (of-object "EmpathyContact")
1817 (c-name "empathy_contact_log_menu_item_new")
1818 (return-type "GtkWidget*")
1821 (define-method info_menu_item_new
1822 (of-object "EmpathyContact")
1823 (c-name "empathy_contact_info_menu_item_new")
1824 (return-type "GtkWidget*")
1827 (define-method edit_menu_item_new
1828 (of-object "EmpathyContact")
1829 (c-name "empathy_contact_edit_menu_item_new")
1830 (return-type "GtkWidget*")