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 ContactListFeatures
156 (in-module "Empathy")
157 (c-name "EmpathyContactListFeatures")
158 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
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-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
165 '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
166 '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
167 '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
168 '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
169 '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
170 '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
171 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
172 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
173 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
174 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
178 (define-flags ContactWidgetFlags
179 (in-module "Empathy")
180 (c-name "EmpathyContactWidgetFlags")
181 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
183 '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
184 '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
185 '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
186 '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
187 '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
188 '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
193 ;; From empathy-images.h
197 ;; From empathy-account-chooser.h
199 (define-function empathy_account_chooser_get_type
200 (c-name "empathy_account_chooser_get_type")
201 (return-type "GType")
204 (define-function empathy_account_chooser_new
205 (c-name "empathy_account_chooser_new")
206 (is-constructor-of "EmpathyAccountChooser")
207 (return-type "GtkWidget*")
210 (define-method get_account
211 (of-object "EmpathyAccountChooser")
212 (c-name "empathy_account_chooser_get_account")
213 (return-type "McAccount*")
216 (define-method set_account
217 (of-object "EmpathyAccountChooser")
218 (c-name "empathy_account_chooser_set_account")
219 (return-type "gboolean")
221 '("McAccount*" "account")
225 (define-method get_has_all_option
226 (of-object "EmpathyAccountChooser")
227 (c-name "empathy_account_chooser_get_has_all_option")
228 (return-type "gboolean")
231 (define-method set_has_all_option
232 (of-object "EmpathyAccountChooser")
233 (c-name "empathy_account_chooser_set_has_all_option")
236 '("gboolean" "has_all_option")
240 (define-method set_filter
241 (of-object "EmpathyAccountChooser")
242 (c-name "empathy_account_chooser_set_filter")
245 '("EmpathyAccountChooserFilterFunc" "filter")
246 '("gpointer" "user_data")
250 (define-function empathy_account_chooser_filter_is_connected
251 (c-name "empathy_account_chooser_filter_is_connected")
252 (return-type "gboolean")
254 '("McAccount*" "account")
255 '("gpointer" "user_data")
261 ;; From empathy-chat.h
263 (define-function empathy_chat_get_type
264 (c-name "empathy_chat_get_type")
265 (return-type "GType")
268 (define-function empathy_chat_new
269 (c-name "empathy_chat_new")
270 (is-constructor-of "EmpathyChat")
271 (return-type "EmpathyChat*")
273 '("EmpathyTpChat*" "tp_chat")
277 (define-method get_tp_chat
278 (of-object "EmpathyChat")
279 (c-name "empathy_chat_get_tp_chat")
280 (return-type "EmpathyTpChat*")
283 (define-method set_tp_chat
284 (of-object "EmpathyChat")
285 (c-name "empathy_chat_set_tp_chat")
288 '("EmpathyTpChat*" "tp_chat")
292 (define-method get_account
293 (of-object "EmpathyChat")
294 (c-name "empathy_chat_get_account")
295 (return-type "McAccount*")
298 (define-method get_id
299 (of-object "EmpathyChat")
300 (c-name "empathy_chat_get_id")
301 (return-type "const-gchar*")
304 (define-method get_name
305 (of-object "EmpathyChat")
306 (c-name "empathy_chat_get_name")
307 (return-type "const-gchar*")
310 (define-method get_subject
311 (of-object "EmpathyChat")
312 (c-name "empathy_chat_get_subject")
313 (return-type "const-gchar*")
316 (define-method get_remote_contact
317 (of-object "EmpathyChat")
318 (c-name "empathy_chat_get_remote_contact")
319 (return-type "EmpathyContact*")
322 (define-method get_members_count
323 (of-object "EmpathyChat")
324 (c-name "empathy_chat_get_members_count")
325 (return-type "guint")
329 (of-object "EmpathyChat")
330 (c-name "empathy_chat_clear")
334 (define-method scroll_down
335 (of-object "EmpathyChat")
336 (c-name "empathy_chat_scroll_down")
341 (of-object "EmpathyChat")
342 (c-name "empathy_chat_cut")
347 (of-object "EmpathyChat")
348 (c-name "empathy_chat_copy")
353 (of-object "EmpathyChat")
354 (c-name "empathy_chat_paste")
358 (define-method correct_word
359 (of-object "EmpathyChat")
360 (c-name "empathy_chat_correct_word")
363 '("GtkTextIter" "start")
364 '("GtkTextIter" "end")
365 '("const-gchar*" "new_word")
371 ;; From empathy-irc-network-dialog.h
373 (define-method dialog_show
374 (of-object "EmpathyIrcNetwork")
375 (c-name "empathy_irc_network_dialog_show")
376 (return-type "GtkWidget*")
378 '("GtkWidget*" "parent")
384 ;; From empathy-spell-dialog.h
386 (define-function empathy_spell_dialog_show
387 (c-name "empathy_spell_dialog_show")
390 '("EmpathyChat*" "chat")
391 '("GtkTextIter" "start")
392 '("GtkTextIter" "end")
393 '("const-gchar*" "word")
399 ;; From empathy-accounts-dialog.h
401 (define-function empathy_accounts_dialog_show
402 (c-name "empathy_accounts_dialog_show")
403 (return-type "GtkWidget*")
405 '("GtkWindow*" "parent")
411 ;; From empathy-chat-view.h
413 (define-function empathy_chat_view_get_type
414 (c-name "empathy_chat_view_get_type")
415 (return-type "GType")
418 (define-function empathy_chat_view_new
419 (c-name "empathy_chat_view_new")
420 (is-constructor-of "EmpathyChatView")
421 (return-type "EmpathyChatView*")
424 (define-method append_message
425 (of-object "EmpathyChatView")
426 (c-name "empathy_chat_view_append_message")
429 '("EmpathyMessage*" "msg")
433 (define-method append_event
434 (of-object "EmpathyChatView")
435 (c-name "empathy_chat_view_append_event")
438 '("const-gchar*" "str")
442 (define-method append_button
443 (of-object "EmpathyChatView")
444 (c-name "empathy_chat_view_append_button")
447 '("const-gchar*" "message")
448 '("GtkWidget*" "button1")
449 '("GtkWidget*" "button2")
453 (define-method set_margin
454 (of-object "EmpathyChatView")
455 (c-name "empathy_chat_view_set_margin")
462 (define-method scroll
463 (of-object "EmpathyChatView")
464 (c-name "empathy_chat_view_scroll")
467 '("gboolean" "allow_scrolling")
471 (define-method scroll_down
472 (of-object "EmpathyChatView")
473 (c-name "empathy_chat_view_scroll_down")
477 (define-method get_selection_bounds
478 (of-object "EmpathyChatView")
479 (c-name "empathy_chat_view_get_selection_bounds")
480 (return-type "gboolean")
482 '("GtkTextIter*" "start")
483 '("GtkTextIter*" "end")
488 (of-object "EmpathyChatView")
489 (c-name "empathy_chat_view_clear")
493 (define-method find_previous
494 (of-object "EmpathyChatView")
495 (c-name "empathy_chat_view_find_previous")
496 (return-type "gboolean")
498 '("const-gchar*" "search_criteria")
499 '("gboolean" "new_search")
503 (define-method find_next
504 (of-object "EmpathyChatView")
505 (c-name "empathy_chat_view_find_next")
506 (return-type "gboolean")
508 '("const-gchar*" "search_criteria")
509 '("gboolean" "new_search")
513 (define-method find_abilities
514 (of-object "EmpathyChatView")
515 (c-name "empathy_chat_view_find_abilities")
518 '("const-gchar*" "search_criteria")
519 '("gboolean*" "can_do_previous")
520 '("gboolean*" "can_do_next")
524 (define-method highlight
525 (of-object "EmpathyChatView")
526 (c-name "empathy_chat_view_highlight")
529 '("const-gchar*" "text")
533 (define-method copy_clipboard
534 (of-object "EmpathyChatView")
535 (c-name "empathy_chat_view_copy_clipboard")
539 (define-method get_theme
540 (of-object "EmpathyChatView")
541 (c-name "empathy_chat_view_get_theme")
542 (return-type "EmpathyTheme*")
545 (define-method set_theme
546 (of-object "EmpathyChatView")
547 (c-name "empathy_chat_view_set_theme")
550 '("EmpathyTheme*" "theme")
554 (define-method set_margin
555 (of-object "EmpathyChatView")
556 (c-name "empathy_chat_view_set_margin")
563 (define-function empathy_chat_view_get_smiley_menu
564 (c-name "empathy_chat_view_get_smiley_menu")
565 (return-type "GtkWidget*")
567 '("GCallback" "callback")
568 '("gpointer" "user_data")
572 (define-method set_is_group_chat
573 (of-object "EmpathyChatView")
574 (c-name "empathy_chat_view_set_is_group_chat")
577 '("gboolean" "is_group_chat")
581 (define-method get_last_timestamp
582 (of-object "EmpathyChatView")
583 (c-name "empathy_chat_view_get_last_timestamp")
584 (return-type "time_t")
587 (define-method set_last_timestamp
588 (of-object "EmpathyChatView")
589 (c-name "empathy_chat_view_set_last_timestamp")
592 '("time_t" "timestamp")
596 (define-method get_last_contact
597 (of-object "EmpathyChatView")
598 (c-name "empathy_chat_view_get_last_contact")
599 (return-type "EmpathyContact*")
602 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
603 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
604 (return-type "GdkPixbuf*")
606 '("EmpathyContact*" "contact")
612 ;; From empathy-log-window.h
614 (define-function empathy_log_window_show
615 (c-name "empathy_log_window_show")
616 (return-type "GtkWidget*")
618 '("McAccount*" "account")
619 '("const-gchar*" "chat_id")
620 '("gboolean" "chatroom")
621 '("GtkWindow*" "parent")
627 ;; From empathy-theme-boxes.h
629 (define-function empathy_theme_boxes_get_type
630 (c-name "empathy_theme_boxes_get_type")
631 (return-type "GType")
636 ;; From empathy-account-widget.h
638 (define-function empathy_account_widget_handle_params
639 (c-name "empathy_account_widget_handle_params")
642 '("McAccount*" "account")
643 '("GladeXML*" "glade")
644 '("const-gchar*" "first_widget_name")
649 (define-function empathy_account_widget_add_forget_button
650 (c-name "empathy_account_widget_add_forget_button")
653 '("McAccount*" "account")
654 '("GladeXML*" "glade")
655 '("const-gchar*" "button")
656 '("const-gchar*" "entry")
660 (define-function empathy_account_widget_generic_new
661 (c-name "empathy_account_widget_generic_new")
662 (is-constructor-of "EmpathyAccountWidgetGeneric")
663 (return-type "GtkWidget*")
665 '("McAccount*" "account")
669 (define-function empathy_account_widget_salut_new
670 (c-name "empathy_account_widget_salut_new")
671 (is-constructor-of "EmpathyAccountWidgetSalut")
672 (return-type "GtkWidget*")
674 '("McAccount*" "account")
678 (define-function empathy_account_widget_msn_new
679 (c-name "empathy_account_widget_msn_new")
680 (is-constructor-of "EmpathyAccountWidgetMsn")
681 (return-type "GtkWidget*")
683 '("McAccount*" "account")
687 (define-function empathy_account_widget_jabber_new
688 (c-name "empathy_account_widget_jabber_new")
689 (is-constructor-of "EmpathyAccountWidgetJabber")
690 (return-type "GtkWidget*")
692 '("McAccount*" "account")
696 (define-function empathy_account_widget_icq_new
697 (c-name "empathy_account_widget_icq_new")
698 (is-constructor-of "EmpathyAccountWidgetIcq")
699 (return-type "GtkWidget*")
701 '("McAccount*" "account")
705 (define-function empathy_account_widget_aim_new
706 (c-name "empathy_account_widget_aim_new")
707 (is-constructor-of "EmpathyAccountWidgetAim")
708 (return-type "GtkWidget*")
710 '("McAccount*" "account")
714 (define-function empathy_account_widget_yahoo_new
715 (c-name "empathy_account_widget_yahoo_new")
716 (is-constructor-of "EmpathyAccountWidgetYahoo")
717 (return-type "GtkWidget*")
719 '("McAccount*" "account")
723 (define-function empathy_account_widget_groupwise_new
724 (c-name "empathy_account_widget_groupwise_new")
725 (is-constructor-of "EmpathyAccountWidgetGroupwise")
726 (return-type "GtkWidget*")
728 '("McAccount*" "account")
734 ;; From empathy-conf.h
736 (define-function empathy_conf_get_type
737 (c-name "empathy_conf_get_type")
738 (return-type "GType")
741 (define-function empathy_conf_get
742 (c-name "empathy_conf_get")
743 (return-type "EmpathyConf*")
746 (define-function empathy_conf_shutdown
747 (c-name "empathy_conf_shutdown")
751 (define-method notify_add
752 (of-object "EmpathyConf")
753 (c-name "empathy_conf_notify_add")
754 (return-type "guint")
756 '("const-gchar*" "key")
757 '("EmpathyConfNotifyFunc" "func")
762 (define-method notify_remove
763 (of-object "EmpathyConf")
764 (c-name "empathy_conf_notify_remove")
765 (return-type "gboolean")
771 (define-method set_int
772 (of-object "EmpathyConf")
773 (c-name "empathy_conf_set_int")
774 (return-type "gboolean")
776 '("const-gchar*" "key")
781 (define-method get_int
782 (of-object "EmpathyConf")
783 (c-name "empathy_conf_get_int")
784 (return-type "gboolean")
786 '("const-gchar*" "key")
791 (define-method set_bool
792 (of-object "EmpathyConf")
793 (c-name "empathy_conf_set_bool")
794 (return-type "gboolean")
796 '("const-gchar*" "key")
797 '("gboolean" "value")
801 (define-method get_bool
802 (of-object "EmpathyConf")
803 (c-name "empathy_conf_get_bool")
804 (return-type "gboolean")
806 '("const-gchar*" "key")
807 '("gboolean*" "value")
811 (define-method set_string
812 (of-object "EmpathyConf")
813 (c-name "empathy_conf_set_string")
814 (return-type "gboolean")
816 '("const-gchar*" "key")
817 '("const-gchar*" "value")
821 (define-method get_string
822 (of-object "EmpathyConf")
823 (c-name "empathy_conf_get_string")
824 (return-type "gboolean")
826 '("const-gchar*" "key")
831 (define-method set_string_list
832 (of-object "EmpathyConf")
833 (c-name "empathy_conf_set_string_list")
834 (return-type "gboolean")
836 '("const-gchar*" "key")
841 (define-method get_string_list
842 (of-object "EmpathyConf")
843 (c-name "empathy_conf_get_string_list")
844 (return-type "gboolean")
846 '("const-gchar*" "key")
847 '("GSList**" "value")
853 ;; From empathy-theme.h
855 (define-function empathy_theme_get_type
856 (c-name "empathy_theme_get_type")
857 (return-type "GType")
860 (define-method update_view
861 (of-object "EmpathyTheme")
862 (c-name "empathy_theme_update_view")
865 '("EmpathyChatView*" "view")
869 (define-method append_message
870 (of-object "EmpathyTheme")
871 (c-name "empathy_theme_append_message")
874 '("EmpathyChatView*" "view")
875 '("EmpathyMessage*" "msg")
879 (define-method append_text
880 (of-object "EmpathyTheme")
881 (c-name "empathy_theme_append_text")
884 '("EmpathyChatView*" "view")
885 '("const-gchar*" "body")
886 '("const-gchar*" "tag")
887 '("const-gchar*" "link_tag")
891 (define-method append_spacing
892 (of-object "EmpathyTheme")
893 (c-name "empathy_theme_append_spacing")
896 '("EmpathyChatView*" "view")
900 (define-method append_event
901 (of-object "EmpathyTheme")
902 (c-name "empathy_theme_append_event")
905 '("EmpathyChatView*" "view")
906 '("const-gchar*" "str")
910 (define-method append_timestamp
911 (of-object "EmpathyTheme")
912 (c-name "empathy_theme_append_timestamp")
915 '("EmpathyChatView*" "view")
916 '("EmpathyMessage*" "message")
917 '("gboolean" "show_date")
918 '("gboolean" "show_time")
922 (define-method maybe_append_date_and_time
923 (of-object "EmpathyTheme")
924 (c-name "empathy_theme_maybe_append_date_and_time")
927 '("EmpathyChatView*" "view")
928 '("EmpathyMessage*" "message")
932 (define-method get_show_avatars
933 (of-object "EmpathyTheme")
934 (c-name "empathy_theme_get_show_avatars")
935 (return-type "gboolean")
938 (define-method set_show_avatars
939 (of-object "EmpathyTheme")
940 (c-name "empathy_theme_set_show_avatars")
949 ;; From empathy-account-widget-irc.h
951 (define-function empathy_account_widget_irc_new
952 (c-name "empathy_account_widget_irc_new")
953 (is-constructor-of "EmpathyAccountWidgetIrc")
954 (return-type "GtkWidget*")
956 '("McAccount*" "account")
962 ;; From empathy-account-widget-sip.h
964 (define-function empathy_account_widget_sip_new
965 (c-name "empathy_account_widget_sip_new")
966 (is-constructor-of "EmpathyAccountWidgetSip")
967 (return-type "GtkWidget*")
969 '("McAccount*" "account")
975 ;; From empathy-contact-dialogs.h
977 (define-function empathy_subscription_dialog_show
978 (c-name "empathy_subscription_dialog_show")
981 '("EmpathyContact*" "contact")
982 '("GtkWindow*" "parent")
986 (define-method information_dialog_show
987 (of-object "EmpathyContact")
988 (c-name "empathy_contact_information_dialog_show")
991 '("GtkWindow*" "parent")
993 '("gboolean" "is_user")
997 (define-function empathy_new_contact_dialog_show
998 (c-name "empathy_new_contact_dialog_show")
1001 '("GtkWindow*" "parent")
1007 ;; From empathy-new-message-dialog.h
1009 (define-function empathy_new_message_dialog_show
1010 (c-name "empathy_new_message_dialog_show")
1011 (return-type "GtkWidget*")
1013 '("GtkWindow*" "parent")
1019 ;; From empathy-theme-irc.h
1021 (define-function empathy_theme_irc_get_type
1022 (c-name "empathy_theme_irc_get_type")
1023 (return-type "GType")
1028 ;; From empathy-avatar-chooser.h
1030 (define-function empathy_avatar_chooser_get_type
1031 (c-name "empathy_avatar_chooser_get_type")
1032 (return-type "GType")
1035 (define-function empathy_avatar_chooser_new
1036 (c-name "empathy_avatar_chooser_new")
1037 (is-constructor-of "EmpathyAvatarChooser")
1038 (return-type "GtkWidget*")
1042 (of-object "EmpathyAvatarChooser")
1043 (c-name "empathy_avatar_chooser_set")
1044 (return-type "none")
1046 '("EmpathyAvatar*" "avatar")
1050 (define-method get_image_data
1051 (of-object "EmpathyAvatarChooser")
1052 (c-name "empathy_avatar_chooser_get_image_data")
1053 (return-type "none")
1055 '("const-gchar**" "data")
1056 '("gsize*" "data_size")
1057 '("const-gchar**" "mime_type")
1063 ;; From empathy-contact-list-store.h
1065 (define-function empathy_contact_list_store_get_type
1066 (c-name "empathy_contact_list_store_get_type")
1067 (return-type "GType")
1070 (define-function empathy_contact_list_store_new
1071 (is-constructor-of "EmpathyContactListStore")
1072 (c-name "empathy_contact_list_store_new")
1073 (return-type "EmpathyContactListStore*")
1075 '("EmpathyContactList*" "list_iface")
1079 (define-method get_list_iface
1080 (of-object "EmpathyContactListStore")
1081 (c-name "empathy_contact_list_store_get_list_iface")
1082 (return-type "EmpathyContactList*")
1085 (define-method get_show_offline
1086 (of-object "EmpathyContactListStore")
1087 (c-name "empathy_contact_list_store_get_show_offline")
1088 (return-type "gboolean")
1091 (define-method set_show_offline
1092 (of-object "EmpathyContactListStore")
1093 (c-name "empathy_contact_list_store_set_show_offline")
1094 (return-type "none")
1096 '("gboolean" "show_offline")
1100 (define-method get_show_avatars
1101 (of-object "EmpathyContactListStore")
1102 (c-name "empathy_contact_list_store_get_show_avatars")
1103 (return-type "gboolean")
1106 (define-method set_show_avatars
1107 (of-object "EmpathyContactListStore")
1108 (c-name "empathy_contact_list_store_set_show_avatars")
1109 (return-type "none")
1111 '("gboolean" "show_avatars")
1115 (define-method get_show_groups
1116 (of-object "EmpathyContactListStore")
1117 (c-name "empathy_contact_list_store_get_show_groups")
1118 (return-type "gboolean")
1121 (define-method set_show_groups
1122 (of-object "EmpathyContactListStore")
1123 (c-name "empathy_contact_list_store_set_show_groups")
1124 (return-type "none")
1126 '("gboolean" "show_groups")
1130 (define-method get_is_compact
1131 (of-object "EmpathyContactListStore")
1132 (c-name "empathy_contact_list_store_get_is_compact")
1133 (return-type "gboolean")
1136 (define-method set_is_compact
1137 (of-object "EmpathyContactListStore")
1138 (c-name "empathy_contact_list_store_set_is_compact")
1139 (return-type "none")
1141 '("gboolean" "is_compact")
1145 (define-method get_sort_criterium
1146 (of-object "EmpathyContactListStore")
1147 (c-name "empathy_contact_list_store_get_sort_criterium")
1148 (return-type "EmpathyContactListStoreSort")
1151 (define-method set_sort_criterium
1152 (of-object "EmpathyContactListStore")
1153 (c-name "empathy_contact_list_store_set_sort_criterium")
1154 (return-type "none")
1156 '("EmpathyContactListStoreSort" "sort_criterium")
1160 (define-function empathy_contact_list_store_row_separator_func
1161 (c-name "empathy_contact_list_store_row_separator_func")
1162 (return-type "gboolean")
1164 '("GtkTreeModel*" "model")
1165 '("GtkTreeIter*" "iter")
1166 '("gpointer" "data")
1170 (define-function empathy_contact_list_store_get_parent_group
1171 (c-name "empathy_contact_list_store_get_parent_group")
1172 (return-type "gchar*")
1174 '("GtkTreeModel*" "model")
1175 '("GtkTreePath*" "path")
1176 '("gboolean*" "path_is_group")
1180 (define-function empathy_contact_list_store_search_equal_func
1181 (c-name "empathy_contact_list_store_search_equal_func")
1182 (return-type "gboolean")
1184 '("GtkTreeModel*" "model")
1186 '("const-gchar*" "key")
1187 '("GtkTreeIter*" "iter")
1188 '("gpointer" "search_data")
1194 ;; From empathy-presence-chooser.h
1196 (define-function empathy_presence_chooser_get_type
1197 (c-name "empathy_presence_chooser_get_type")
1198 (return-type "GType")
1201 (define-function empathy_presence_chooser_new
1202 (c-name "empathy_presence_chooser_new")
1203 (is-constructor-of "EmpathyPresenceChooser")
1204 (return-type "GtkWidget*")
1207 (define-function empathy_presence_chooser_create_menu
1208 (c-name "empathy_presence_chooser_create_menu")
1209 (return-type "GtkWidget*")
1214 ;; From empathy-theme-manager.h
1216 (define-function empathy_theme_manager_get_type
1217 (c-name "empathy_theme_manager_get_type")
1218 (return-type "GType")
1221 (define-function empathy_theme_manager_get
1222 (c-name "empathy_theme_manager_get")
1223 (return-type "EmpathyThemeManager*")
1226 (define-function empathy_theme_manager_get_themes
1227 (c-name "empathy_theme_manager_get_themes")
1228 (return-type "const-gchar**")
1231 (define-method apply
1232 (of-object "EmpathyThemeManager")
1233 (c-name "empathy_theme_manager_apply")
1234 (return-type "none")
1236 '("EmpathyChatView*" "view")
1237 '("const-gchar*" "theme")
1241 (define-method apply_saved
1242 (of-object "EmpathyThemeManager")
1243 (c-name "empathy_theme_manager_apply_saved")
1244 (return-type "none")
1246 '("EmpathyChatView*" "view")
1252 ;; From empathy-avatar-image.h
1254 (define-function empathy_avatar_image_get_type
1255 (c-name "empathy_avatar_image_get_type")
1256 (return-type "GType")
1259 (define-function empathy_avatar_image_new
1260 (c-name "empathy_avatar_image_new")
1261 (is-constructor-of "EmpathyAvatarImage")
1262 (return-type "GtkWidget*")
1266 (of-object "EmpathyAvatarImage")
1267 (c-name "empathy_avatar_image_set")
1268 (return-type "none")
1270 '("EmpathyAvatar*" "avatar")
1276 ;; From empathy-contact-list-view.h
1278 (define-function empathy_contact_list_view_get_type
1279 (c-name "empathy_contact_list_view_get_type")
1280 (return-type "GType")
1283 (define-function empathy_contact_list_view_new
1284 (c-name "empathy_contact_list_view_new")
1285 (is-constructor-of "EmpathyContactListView")
1286 (return-type "EmpathyContactListView*")
1288 '("EmpathyContactListStore*" "store")
1289 '("EmpathyContactListFeatures" "features")
1293 (define-method set_features
1294 (of-object "EmpathyContactListView")
1295 (c-name "empathy_contact_list_view_set_features")
1296 (return-type "none")
1298 '("EmpathyContactListFeatures" "features")
1302 (define-method get_features
1303 (of-object "EmpathyContactListView")
1304 (c-name "empathy_contact_list_view_get_features")
1305 (return-type "EmpathyContactListFeatures")
1308 (define-method get_selected
1309 (of-object "EmpathyContactListView")
1310 (c-name "empathy_contact_list_view_get_selected")
1311 (return-type "EmpathyContact*")
1314 (define-method get_selected_group
1315 (of-object "EmpathyContactListView")
1316 (c-name "empathy_contact_list_view_get_selected_group")
1317 (return-type "gchar*")
1320 (define-method get_contact_menu
1321 (of-object "EmpathyContactListView")
1322 (c-name "empathy_contact_list_view_get_contact_menu")
1323 (return-type "GtkWidget*")
1325 '("EmpathyContact*" "contact")
1329 (define-method get_group_menu
1330 (of-object "EmpathyContactListView")
1331 (c-name "empathy_contact_list_view_get_group_menu")
1332 (return-type "GtkWidget*")
1337 ;; From empathy-ui-utils.h
1339 (define-function empathy_glade_get_file_simple
1340 (c-name "empathy_glade_get_file_simple")
1341 (return-type "none")
1343 '("const-gchar*" "filename")
1344 '("const-gchar*" "root")
1345 '("const-gchar*" "domain")
1346 '("const-gchar*" "first_required_widget")
1351 (define-function empathy_glade_get_file
1352 (c-name "empathy_glade_get_file")
1353 (return-type "GladeXML*")
1355 '("const-gchar*" "filename")
1356 '("const-gchar*" "root")
1357 '("const-gchar*" "domain")
1358 '("const-gchar*" "first_required_widget")
1363 (define-function empathy_glade_connect
1364 (c-name "empathy_glade_connect")
1365 (return-type "none")
1367 '("GladeXML*" "gui")
1368 '("gpointer" "user_data")
1369 '("gchar*" "first_widget")
1374 (define-function empathy_glade_setup_size_group
1375 (c-name "empathy_glade_setup_size_group")
1376 (return-type "none")
1378 '("GladeXML*" "gui")
1379 '("GtkSizeGroupMode" "mode")
1380 '("gchar*" "first_widget")
1385 (define-function empathy_icon_name_from_account
1386 (c-name "empathy_icon_name_from_account")
1387 (return-type "const-gchar*")
1389 '("McAccount*" "account")
1393 (define-function empathy_icon_name_for_presence
1394 (c-name "empathy_icon_name_for_presence")
1395 (return-type "const-gchar*")
1397 '("McPresence" "presence")
1401 (define-function empathy_icon_name_for_contact
1402 (c-name "empathy_icon_name_for_contact")
1403 (return-type "const-gchar*")
1405 '("EmpathyContact*" "contact")
1409 (define-function empathy_pixbuf_from_data
1410 (c-name "empathy_pixbuf_from_data")
1411 (return-type "GdkPixbuf*")
1414 '("gsize" "data_size")
1418 (define-function empathy_pixbuf_from_avatar_scaled
1419 (c-name "empathy_pixbuf_from_avatar_scaled")
1420 (return-type "GdkPixbuf*")
1422 '("EmpathyAvatar*" "avatar")
1428 (define-function empathy_pixbuf_avatar_from_contact_scaled
1429 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1430 (return-type "GdkPixbuf*")
1432 '("EmpathyContact*" "contact")
1438 (define-function empathy_pixbuf_scale_down_if_necessary
1439 (c-name "empathy_pixbuf_scale_down_if_necessary")
1440 (return-type "GdkPixbuf*")
1442 '("GdkPixbuf*" "pixbuf")
1443 '("gint" "max_size")
1447 (define-function empathy_pixbuf_from_icon_name
1448 (c-name "empathy_pixbuf_from_icon_name")
1449 (return-type "GdkPixbuf*")
1451 '("const-gchar*" "icon_name")
1452 '("GtkIconSize" "icon_size")
1456 (define-function empathy_text_iter_forward_search
1457 (c-name "empathy_text_iter_forward_search")
1458 (return-type "gboolean")
1460 '("const-GtkTextIter*" "iter")
1461 '("const-gchar*" "str")
1462 '("GtkTextIter*" "match_start")
1463 '("GtkTextIter*" "match_end")
1464 '("const-GtkTextIter*" "limit")
1468 (define-function empathy_text_iter_backward_search
1469 (c-name "empathy_text_iter_backward_search")
1470 (return-type "gboolean")
1472 '("const-GtkTextIter*" "iter")
1473 '("const-gchar*" "str")
1474 '("GtkTextIter*" "match_start")
1475 '("GtkTextIter*" "match_end")
1476 '("const-GtkTextIter*" "limit")
1480 (define-function empathy_window_get_is_visible
1481 (c-name "empathy_window_get_is_visible")
1482 (return-type "gboolean")
1484 '("GtkWindow*" "window")
1488 (define-function empathy_window_present
1489 (c-name "empathy_window_present")
1490 (return-type "none")
1492 '("GtkWindow*" "window")
1493 '("gboolean" "steal_focus")
1497 (define-function empathy_window_iconify
1498 (c-name "empathy_window_iconify")
1499 (return-type "none")
1501 '("GtkWindow*" "window")
1502 '("GtkStatusIcon*" "status_icon")
1506 (define-function empathy_get_toplevel_window
1507 (c-name "empathy_get_toplevel_window")
1508 (return-type "GtkWindow*")
1510 '("GtkWidget*" "widget")
1514 (define-function empathy_url_show
1515 (c-name "empathy_url_show")
1516 (return-type "none")
1518 '("const-char*" "url")
1522 (define-function empathy_toggle_button_set_state_quietly
1523 (c-name "empathy_toggle_button_set_state_quietly")
1524 (return-type "none")
1526 '("GtkWidget*" "widget")
1527 '("GCallback" "callback")
1528 '("gpointer" "user_data")
1529 '("gboolean" "active")
1533 (define-function empathy_link_button_new
1534 (c-name "empathy_link_button_new")
1535 (is-constructor-of "EmpathyLinkButton")
1536 (return-type "GtkWidget*")
1538 '("const-gchar*" "url")
1539 '("const-gchar*" "title")
1543 (define-function empathy_text_buffer_tag_set
1544 (c-name "empathy_text_buffer_tag_set")
1545 (return-type "GtkTextTag*")
1547 '("GtkTextBuffer*" "buffer")
1548 '("const-gchar*" "tag_name")
1549 '("const-gchar*" "first_property_name")
1556 ;; From empathy-cell-renderer-activatable.h
1558 (define-function empathy_cell_renderer_activatable_get_type
1559 (c-name "empathy_cell_renderer_activatable_get_type")
1560 (return-type "GType")
1563 (define-function empathy_cell_renderer_activatable_new
1564 (c-name "empathy_cell_renderer_activatable_new")
1565 (is-constructor-of "EmpathyCellRendererActivatable")
1566 (return-type "GtkCellRenderer*")
1571 ;; From empathy-contact-widget.h
1573 (define-method widget_new
1574 (of-object "EmpathyContact")
1575 (c-name "empathy_contact_widget_new")
1576 (return-type "GtkWidget*")
1578 '("EmpathyContactWidgetFlags" "flags")
1582 (define-function empathy_contact_widget_get_contact
1583 (c-name "empathy_contact_widget_get_contact")
1584 (return-type "EmpathyContact*")
1586 '("GtkWidget*" "widget")
1590 (define-function empathy_contact_widget_set_contact
1591 (c-name "empathy_contact_widget_set_contact")
1592 (return-type "none")
1594 '("GtkWidget*" "widget")
1595 '("EmpathyContact*" "contact")
1599 (define-function empathy_contact_widget_set_account_filter
1600 (c-name "empathy_contact_widget_set_account_filter")
1601 (return-type "none")
1603 '("GtkWidget*" "widget")
1604 '("EmpathyAccountChooserFilterFunc" "filter")
1605 '("gpointer" "user_data")
1611 ;; From empathy-profile-chooser.h
1613 (define-function empathy_profile_chooser_new
1614 (c-name "empathy_profile_chooser_new")
1615 (is-constructor-of "EmpathyProfileChooser")
1616 (return-type "GtkWidget*")
1619 (define-function empathy_profile_chooser_get_selected
1620 (c-name "empathy_profile_chooser_get_selected")
1621 (return-type "McProfile*")
1623 '("GtkWidget*" "widget")
1627 (define-function empathy_profile_chooser_n_profiles
1628 (c-name "empathy_profile_chooser_n_profiles")
1629 (return-type "gint")
1631 '("GtkWidget*" "widget")
1637 ;; From empathy-cell-renderer-expander.h
1639 (define-function empathy_cell_renderer_expander_get_type
1640 (c-name "empathy_cell_renderer_expander_get_type")
1641 (return-type "GType")
1644 (define-function empathy_cell_renderer_expander_new
1645 (c-name "empathy_cell_renderer_expander_new")
1646 (is-constructor-of "EmpathyCellRendererExpander")
1647 (return-type "GtkCellRenderer*")
1652 ;; From empathy-geometry.h
1654 (define-function empathy_geometry_save
1655 (c-name "empathy_geometry_save")
1656 (return-type "none")
1658 '("const-gchar*" "name")
1666 (define-function empathy_geometry_load
1667 (c-name "empathy_geometry_load")
1668 (return-type "none")
1670 '("const-gchar*" "name")
1680 ;; From empathy-smiley-manager.h
1682 (define-function empathy_smiley_manager_get_type
1683 (c-name "empathy_smiley_manager_get_type")
1684 (return-type "GType")
1687 (define-function empathy_smiley_manager_new
1688 (c-name "empathy_smiley_manager_new")
1689 (is-constructor-of "EmpathySmileyManager")
1690 (return-type "EmpathySmileyManager*")
1694 (of-object "EmpathySmileyManager")
1695 (c-name "empathy_smiley_manager_load")
1696 (return-type "none")
1700 (of-object "EmpathySmileyManager")
1701 (c-name "empathy_smiley_manager_add")
1702 (return-type "none")
1704 '("const-gchar*" "icon_name")
1705 '("const-gchar*" "first_str")
1710 (define-method add_from_pixbuf
1711 (of-object "EmpathySmileyManager")
1712 (c-name "empathy_smiley_manager_add_from_pixbuf")
1713 (return-type "none")
1715 '("GdkPixbuf*" "smiley")
1716 '("const-gchar*" "first_str")
1721 (define-method get_all
1722 (of-object "EmpathySmileyManager")
1723 (c-name "empathy_smiley_manager_get_all")
1724 (return-type "GSList*")
1727 (define-method parse
1728 (of-object "EmpathySmileyManager")
1729 (c-name "empathy_smiley_manager_parse")
1730 (return-type "GSList*")
1732 '("const-gchar*" "text")
1737 (of-object "EmpathySmiley")
1738 (c-name "empathy_smiley_free")
1739 (return-type "none")
1744 ;; From empathy-cell-renderer-text.h
1746 (define-function empathy_cell_renderer_text_get_type
1747 (c-name "empathy_cell_renderer_text_get_type")
1748 (return-type "GType")
1751 (define-function empathy_cell_renderer_text_new
1752 (c-name "empathy_cell_renderer_text_new")
1753 (is-constructor-of "EmpathyCellRendererText")
1754 (return-type "GtkCellRenderer*")
1759 ;; From empathy-spell.h
1761 (define-function empathy_spell_supported
1762 (c-name "empathy_spell_supported")
1763 (return-type "gboolean")
1766 (define-function empathy_spell_get_language_name
1767 (c-name "empathy_spell_get_language_name")
1768 (return-type "const-gchar*")
1770 '("const-gchar*" "code")
1774 (define-function empathy_spell_get_language_codes
1775 (c-name "empathy_spell_get_language_codes")
1776 (return-type "GList*")
1779 (define-function empathy_spell_free_language_codes
1780 (c-name "empathy_spell_free_language_codes")
1781 (return-type "none")
1787 (define-function empathy_spell_check
1788 (c-name "empathy_spell_check")
1789 (return-type "gboolean")
1791 '("const-gchar*" "word")
1795 (define-function empathy_spell_get_suggestions
1796 (c-name "empathy_spell_get_suggestions")
1797 (return-type "GList*")
1799 '("const-gchar*" "word")
1803 (define-function empathy_spell_free_suggestions
1804 (c-name "empathy_spell_free_suggestions")
1805 (return-type "none")
1807 '("GList*" "suggestions")