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")
426 ;; From empathy-chat-view.h
428 (define-function chat_view_get_type
429 (c-name "empathy_chat_view_get_type")
430 (return-type "GType")
433 (define-function chat_view_new
434 (c-name "empathy_chat_view_new")
435 (is-constructor-of "EmpathyChatView")
436 (return-type "EmpathyChatView*")
439 (define-method append_message
440 (of-object "EmpathyChatView")
441 (c-name "empathy_chat_view_append_message")
444 '("EmpathyMessage*" "msg")
448 (define-method append_event
449 (of-object "EmpathyChatView")
450 (c-name "empathy_chat_view_append_event")
453 '("const-gchar*" "str")
457 (define-method append_button
458 (of-object "EmpathyChatView")
459 (c-name "empathy_chat_view_append_button")
462 '("const-gchar*" "message")
463 '("GtkWidget*" "button1")
464 '("GtkWidget*" "button2")
468 (define-method scroll
469 (of-object "EmpathyChatView")
470 (c-name "empathy_chat_view_scroll")
473 '("gboolean" "allow_scrolling")
477 (define-method scroll_down
478 (of-object "EmpathyChatView")
479 (c-name "empathy_chat_view_scroll_down")
483 (define-method get_selection_bounds
484 (of-object "EmpathyChatView")
485 (c-name "empathy_chat_view_get_selection_bounds")
486 (return-type "gboolean")
488 '("GtkTextIter*" "start")
489 '("GtkTextIter*" "end")
494 (of-object "EmpathyChatView")
495 (c-name "empathy_chat_view_clear")
499 (define-method find_previous
500 (of-object "EmpathyChatView")
501 (c-name "empathy_chat_view_find_previous")
502 (return-type "gboolean")
504 '("const-gchar*" "search_criteria")
505 '("gboolean" "new_search")
509 (define-method find_next
510 (of-object "EmpathyChatView")
511 (c-name "empathy_chat_view_find_next")
512 (return-type "gboolean")
514 '("const-gchar*" "search_criteria")
515 '("gboolean" "new_search")
519 (define-method find_abilities
520 (of-object "EmpathyChatView")
521 (c-name "empathy_chat_view_find_abilities")
524 '("const-gchar*" "search_criteria")
525 '("gboolean*" "can_do_previous")
526 '("gboolean*" "can_do_next")
530 (define-method highlight
531 (of-object "EmpathyChatView")
532 (c-name "empathy_chat_view_highlight")
535 '("const-gchar*" "text")
539 (define-method copy_clipboard
540 (of-object "EmpathyChatView")
541 (c-name "empathy_chat_view_copy_clipboard")
545 (define-method get_theme
546 (of-object "EmpathyChatView")
547 (c-name "empathy_chat_view_get_theme")
548 (return-type "EmpathyTheme*")
551 (define-method set_theme
552 (of-object "EmpathyChatView")
553 (c-name "empathy_chat_view_set_theme")
556 '("EmpathyTheme*" "theme")
560 (define-method set_margin
561 (of-object "EmpathyChatView")
562 (c-name "empathy_chat_view_set_margin")
569 (define-function chat_view_get_smiley_menu
570 (c-name "empathy_chat_view_get_smiley_menu")
571 (return-type "GtkWidget*")
573 '("GCallback" "callback")
574 '("gpointer" "user_data")
578 (define-method get_last_timestamp
579 (of-object "EmpathyChatView")
580 (c-name "empathy_chat_view_get_last_timestamp")
581 (return-type "time_t")
584 (define-method set_last_timestamp
585 (of-object "EmpathyChatView")
586 (c-name "empathy_chat_view_set_last_timestamp")
589 '("time_t" "timestamp")
593 (define-method get_last_contact
594 (of-object "EmpathyChatView")
595 (c-name "empathy_chat_view_get_last_contact")
596 (return-type "EmpathyContact*")
599 (define-function chat_view_get_avatar_pixbuf_with_cache
600 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
601 (return-type "GdkPixbuf*")
603 '("EmpathyContact*" "contact")
609 ;; From empathy-log-window.h
611 (define-function log_window_show
612 (c-name "empathy_log_window_show")
613 (return-type "GtkWidget*")
615 '("McAccount*" "account")
616 '("const-gchar*" "chat_id")
617 '("gboolean" "chatroom")
618 '("GtkWindow*" "parent")
624 ;; From empathy-theme-boxes.h
626 (define-function theme_boxes_get_type
627 (c-name "empathy_theme_boxes_get_type")
628 (return-type "GType")
633 ;; From empathy-account-widget.h
635 (define-function account_widget_handle_params
636 (c-name "empathy_account_widget_handle_params")
639 '("McAccount*" "account")
640 '("GladeXML*" "glade")
641 '("const-gchar*" "first_widget_name")
646 (define-function account_widget_add_forget_button
647 (c-name "empathy_account_widget_add_forget_button")
650 '("McAccount*" "account")
651 '("GladeXML*" "glade")
652 '("const-gchar*" "button")
653 '("const-gchar*" "entry")
657 (define-function account_widget_generic_new
658 (c-name "empathy_account_widget_generic_new")
659 (is-constructor-of "EmpathyAccountWidgetGeneric")
660 (return-type "GtkWidget*")
662 '("McAccount*" "account")
666 (define-function account_widget_salut_new
667 (c-name "empathy_account_widget_salut_new")
668 (is-constructor-of "EmpathyAccountWidgetSalut")
669 (return-type "GtkWidget*")
671 '("McAccount*" "account")
675 (define-function account_widget_msn_new
676 (c-name "empathy_account_widget_msn_new")
677 (is-constructor-of "EmpathyAccountWidgetMsn")
678 (return-type "GtkWidget*")
680 '("McAccount*" "account")
684 (define-function account_widget_jabber_new
685 (c-name "empathy_account_widget_jabber_new")
686 (is-constructor-of "EmpathyAccountWidgetJabber")
687 (return-type "GtkWidget*")
689 '("McAccount*" "account")
693 (define-function account_widget_icq_new
694 (c-name "empathy_account_widget_icq_new")
695 (is-constructor-of "EmpathyAccountWidgetIcq")
696 (return-type "GtkWidget*")
698 '("McAccount*" "account")
702 (define-function account_widget_aim_new
703 (c-name "empathy_account_widget_aim_new")
704 (is-constructor-of "EmpathyAccountWidgetAim")
705 (return-type "GtkWidget*")
707 '("McAccount*" "account")
711 (define-function account_widget_yahoo_new
712 (c-name "empathy_account_widget_yahoo_new")
713 (is-constructor-of "EmpathyAccountWidgetYahoo")
714 (return-type "GtkWidget*")
716 '("McAccount*" "account")
720 (define-function account_widget_groupwise_new
721 (c-name "empathy_account_widget_groupwise_new")
722 (is-constructor-of "EmpathyAccountWidgetGroupwise")
723 (return-type "GtkWidget*")
725 '("McAccount*" "account")
731 ;; From empathy-conf.h
733 (define-function conf_get_type
734 (c-name "empathy_conf_get_type")
735 (return-type "GType")
738 (define-function conf_get
739 (c-name "empathy_conf_get")
740 (return-type "EmpathyConf*")
743 (define-function conf_shutdown
744 (c-name "empathy_conf_shutdown")
748 (define-method notify_add
749 (of-object "EmpathyConf")
750 (c-name "empathy_conf_notify_add")
751 (return-type "guint")
753 '("const-gchar*" "key")
754 '("EmpathyConfNotifyFunc" "func")
759 (define-method notify_remove
760 (of-object "EmpathyConf")
761 (c-name "empathy_conf_notify_remove")
762 (return-type "gboolean")
768 (define-method set_int
769 (of-object "EmpathyConf")
770 (c-name "empathy_conf_set_int")
771 (return-type "gboolean")
773 '("const-gchar*" "key")
778 (define-method get_int
779 (of-object "EmpathyConf")
780 (c-name "empathy_conf_get_int")
781 (return-type "gboolean")
783 '("const-gchar*" "key")
788 (define-method set_bool
789 (of-object "EmpathyConf")
790 (c-name "empathy_conf_set_bool")
791 (return-type "gboolean")
793 '("const-gchar*" "key")
794 '("gboolean" "value")
798 (define-method get_bool
799 (of-object "EmpathyConf")
800 (c-name "empathy_conf_get_bool")
801 (return-type "gboolean")
803 '("const-gchar*" "key")
804 '("gboolean*" "value")
808 (define-method set_string
809 (of-object "EmpathyConf")
810 (c-name "empathy_conf_set_string")
811 (return-type "gboolean")
813 '("const-gchar*" "key")
814 '("const-gchar*" "value")
818 (define-method get_string
819 (of-object "EmpathyConf")
820 (c-name "empathy_conf_get_string")
821 (return-type "gboolean")
823 '("const-gchar*" "key")
828 (define-method set_string_list
829 (of-object "EmpathyConf")
830 (c-name "empathy_conf_set_string_list")
831 (return-type "gboolean")
833 '("const-gchar*" "key")
838 (define-method get_string_list
839 (of-object "EmpathyConf")
840 (c-name "empathy_conf_get_string_list")
841 (return-type "gboolean")
843 '("const-gchar*" "key")
844 '("GSList**" "value")
850 ;; From empathy-theme.h
852 (define-function theme_get_type
853 (c-name "empathy_theme_get_type")
854 (return-type "GType")
857 (define-method update_view
858 (of-object "EmpathyTheme")
859 (c-name "empathy_theme_update_view")
862 '("EmpathyChatView*" "view")
866 (define-method append_message
867 (of-object "EmpathyTheme")
868 (c-name "empathy_theme_append_message")
871 '("EmpathyChatView*" "view")
872 '("EmpathyMessage*" "msg")
876 (define-method append_text
877 (of-object "EmpathyTheme")
878 (c-name "empathy_theme_append_text")
881 '("EmpathyChatView*" "view")
882 '("const-gchar*" "body")
883 '("const-gchar*" "tag")
884 '("const-gchar*" "link_tag")
888 (define-method append_spacing
889 (of-object "EmpathyTheme")
890 (c-name "empathy_theme_append_spacing")
893 '("EmpathyChatView*" "view")
897 (define-method append_event
898 (of-object "EmpathyTheme")
899 (c-name "empathy_theme_append_event")
902 '("EmpathyChatView*" "view")
903 '("const-gchar*" "str")
907 (define-method append_timestamp
908 (of-object "EmpathyTheme")
909 (c-name "empathy_theme_append_timestamp")
912 '("EmpathyChatView*" "view")
913 '("EmpathyMessage*" "message")
914 '("gboolean" "show_date")
915 '("gboolean" "show_time")
919 (define-method maybe_append_date_and_time
920 (of-object "EmpathyTheme")
921 (c-name "empathy_theme_maybe_append_date_and_time")
924 '("EmpathyChatView*" "view")
925 '("EmpathyMessage*" "message")
929 (define-method get_show_avatars
930 (of-object "EmpathyTheme")
931 (c-name "empathy_theme_get_show_avatars")
932 (return-type "gboolean")
935 (define-method set_show_avatars
936 (of-object "EmpathyTheme")
937 (c-name "empathy_theme_set_show_avatars")
946 ;; From empathy-account-widget-irc.h
948 (define-function account_widget_irc_new
949 (c-name "empathy_account_widget_irc_new")
950 (is-constructor-of "EmpathyAccountWidgetIrc")
951 (return-type "GtkWidget*")
953 '("McAccount*" "account")
959 ;; From empathy-account-widget-sip.h
961 (define-function account_widget_sip_new
962 (c-name "empathy_account_widget_sip_new")
963 (is-constructor-of "EmpathyAccountWidgetSip")
964 (return-type "GtkWidget*")
966 '("McAccount*" "account")
972 ;; From empathy-contact-dialogs.h
974 (define-function subscription_dialog_show
975 (c-name "empathy_subscription_dialog_show")
978 '("EmpathyContact*" "contact")
979 '("GtkWindow*" "parent")
983 (define-method information_dialog_show
984 (of-object "EmpathyContact")
985 (c-name "empathy_contact_information_dialog_show")
988 '("GtkWindow*" "parent")
990 '("gboolean" "is_user")
994 (define-function new_contact_dialog_show
995 (c-name "empathy_new_contact_dialog_show")
998 '("GtkWindow*" "parent")
1004 ;; From empathy-new-message-dialog.h
1006 (define-function new_message_dialog_show
1007 (c-name "empathy_new_message_dialog_show")
1008 (return-type "GtkWidget*")
1010 '("GtkWindow*" "parent")
1016 ;; From empathy-theme-irc.h
1018 (define-function theme_irc_get_type
1019 (c-name "empathy_theme_irc_get_type")
1020 (return-type "GType")
1025 ;; From empathy-avatar-chooser.h
1027 (define-function avatar_chooser_get_type
1028 (c-name "empathy_avatar_chooser_get_type")
1029 (return-type "GType")
1032 (define-function avatar_chooser_new
1033 (c-name "empathy_avatar_chooser_new")
1034 (is-constructor-of "EmpathyAvatarChooser")
1035 (return-type "GtkWidget*")
1039 (of-object "EmpathyAvatarChooser")
1040 (c-name "empathy_avatar_chooser_set")
1041 (return-type "none")
1043 '("EmpathyAvatar*" "avatar")
1047 (define-method get_image_data
1048 (of-object "EmpathyAvatarChooser")
1049 (c-name "empathy_avatar_chooser_get_image_data")
1050 (return-type "none")
1052 '("const-gchar**" "data")
1053 '("gsize*" "data_size")
1054 '("const-gchar**" "mime_type")
1060 ;; From empathy-contact-list-store.h
1062 (define-function contact_list_store_get_type
1063 (c-name "empathy_contact_list_store_get_type")
1064 (return-type "GType")
1067 (define-function empathy_contact_list_store_new
1068 (is-constructor-of "EmpathyContactListStore")
1069 (c-name "empathy_contact_list_store_new")
1070 (return-type "EmpathyContactListStore*")
1072 '("EmpathyContactList*" "list_iface")
1076 (define-method get_list_iface
1077 (of-object "EmpathyContactListStore")
1078 (c-name "empathy_contact_list_store_get_list_iface")
1079 (return-type "EmpathyContactList*")
1082 (define-method get_show_offline
1083 (of-object "EmpathyContactListStore")
1084 (c-name "empathy_contact_list_store_get_show_offline")
1085 (return-type "gboolean")
1088 (define-method set_show_offline
1089 (of-object "EmpathyContactListStore")
1090 (c-name "empathy_contact_list_store_set_show_offline")
1091 (return-type "none")
1093 '("gboolean" "show_offline")
1097 (define-method get_show_avatars
1098 (of-object "EmpathyContactListStore")
1099 (c-name "empathy_contact_list_store_get_show_avatars")
1100 (return-type "gboolean")
1103 (define-method set_show_avatars
1104 (of-object "EmpathyContactListStore")
1105 (c-name "empathy_contact_list_store_set_show_avatars")
1106 (return-type "none")
1108 '("gboolean" "show_avatars")
1112 (define-method get_show_groups
1113 (of-object "EmpathyContactListStore")
1114 (c-name "empathy_contact_list_store_get_show_groups")
1115 (return-type "gboolean")
1118 (define-method set_show_groups
1119 (of-object "EmpathyContactListStore")
1120 (c-name "empathy_contact_list_store_set_show_groups")
1121 (return-type "none")
1123 '("gboolean" "show_groups")
1127 (define-method get_is_compact
1128 (of-object "EmpathyContactListStore")
1129 (c-name "empathy_contact_list_store_get_is_compact")
1130 (return-type "gboolean")
1133 (define-method set_is_compact
1134 (of-object "EmpathyContactListStore")
1135 (c-name "empathy_contact_list_store_set_is_compact")
1136 (return-type "none")
1138 '("gboolean" "is_compact")
1142 (define-method get_sort_criterium
1143 (of-object "EmpathyContactListStore")
1144 (c-name "empathy_contact_list_store_get_sort_criterium")
1145 (return-type "EmpathyContactListStoreSort")
1148 (define-method set_sort_criterium
1149 (of-object "EmpathyContactListStore")
1150 (c-name "empathy_contact_list_store_set_sort_criterium")
1151 (return-type "none")
1153 '("EmpathyContactListStoreSort" "sort_criterium")
1157 (define-function contact_list_store_row_separator_func
1158 (c-name "empathy_contact_list_store_row_separator_func")
1159 (return-type "gboolean")
1161 '("GtkTreeModel*" "model")
1162 '("GtkTreeIter*" "iter")
1163 '("gpointer" "data")
1167 (define-function contact_list_store_get_parent_group
1168 (c-name "empathy_contact_list_store_get_parent_group")
1169 (return-type "gchar*")
1171 '("GtkTreeModel*" "model")
1172 '("GtkTreePath*" "path")
1173 '("gboolean*" "path_is_group")
1177 (define-function contact_list_store_search_equal_func
1178 (c-name "empathy_contact_list_store_search_equal_func")
1179 (return-type "gboolean")
1181 '("GtkTreeModel*" "model")
1183 '("const-gchar*" "key")
1184 '("GtkTreeIter*" "iter")
1185 '("gpointer" "search_data")
1191 ;; From empathy-presence-chooser.h
1193 (define-function presence_chooser_get_type
1194 (c-name "empathy_presence_chooser_get_type")
1195 (return-type "GType")
1198 (define-function presence_chooser_new
1199 (c-name "empathy_presence_chooser_new")
1200 (is-constructor-of "EmpathyPresenceChooser")
1201 (return-type "GtkWidget*")
1204 (define-function presence_chooser_create_menu
1205 (c-name "empathy_presence_chooser_create_menu")
1206 (return-type "GtkWidget*")
1211 ;; From empathy-theme-manager.h
1213 (define-function theme_manager_get_type
1214 (c-name "empathy_theme_manager_get_type")
1215 (return-type "GType")
1218 (define-function theme_manager_get
1219 (c-name "empathy_theme_manager_get")
1220 (return-type "EmpathyThemeManager*")
1223 (define-function theme_manager_get_themes
1224 (c-name "empathy_theme_manager_get_themes")
1225 (return-type "const-gchar**")
1228 (define-method apply
1229 (of-object "EmpathyThemeManager")
1230 (c-name "empathy_theme_manager_apply")
1231 (return-type "none")
1233 '("EmpathyChatView*" "view")
1234 '("const-gchar*" "theme")
1238 (define-method apply_saved
1239 (of-object "EmpathyThemeManager")
1240 (c-name "empathy_theme_manager_apply_saved")
1241 (return-type "none")
1243 '("EmpathyChatView*" "view")
1249 ;; From empathy-avatar-image.h
1251 (define-function avatar_image_get_type
1252 (c-name "empathy_avatar_image_get_type")
1253 (return-type "GType")
1256 (define-function avatar_image_new
1257 (c-name "empathy_avatar_image_new")
1258 (is-constructor-of "EmpathyAvatarImage")
1259 (return-type "GtkWidget*")
1263 (of-object "EmpathyAvatarImage")
1264 (c-name "empathy_avatar_image_set")
1265 (return-type "none")
1267 '("EmpathyAvatar*" "avatar")
1273 ;; From empathy-contact-list-view.h
1275 (define-function contact_list_view_get_type
1276 (c-name "empathy_contact_list_view_get_type")
1277 (return-type "GType")
1280 (define-function contact_list_view_new
1281 (c-name "empathy_contact_list_view_new")
1282 (is-constructor-of "EmpathyContactListView")
1283 (return-type "EmpathyContactListView*")
1285 '("EmpathyContactListStore*" "store")
1286 '("EmpathyContactListFeatureFlags" "list_features")
1287 '("EmpathyContactFeatureFlags" "contact_features")
1291 (define-method get_selected
1292 (of-object "EmpathyContactListView")
1293 (c-name "empathy_contact_list_view_get_selected")
1294 (return-type "EmpathyContact*")
1297 (define-method get_selected_group
1298 (of-object "EmpathyContactListView")
1299 (c-name "empathy_contact_list_view_get_selected_group")
1300 (return-type "gchar*")
1303 (define-method get_contact_menu
1304 (of-object "EmpathyContactListView")
1305 (c-name "empathy_contact_list_view_get_contact_menu")
1306 (return-type "GtkWidget*")
1309 (define-method get_group_menu
1310 (of-object "EmpathyContactListView")
1311 (c-name "empathy_contact_list_view_get_group_menu")
1312 (return-type "GtkWidget*")
1317 ;; From empathy-ui-utils.h
1319 (define-function glade_get_file_simple
1320 (c-name "empathy_glade_get_file_simple")
1321 (return-type "none")
1323 '("const-gchar*" "filename")
1324 '("const-gchar*" "root")
1325 '("const-gchar*" "domain")
1326 '("const-gchar*" "first_required_widget")
1331 (define-function glade_get_file
1332 (c-name "empathy_glade_get_file")
1333 (return-type "GladeXML*")
1335 '("const-gchar*" "filename")
1336 '("const-gchar*" "root")
1337 '("const-gchar*" "domain")
1338 '("const-gchar*" "first_required_widget")
1343 (define-function glade_connect
1344 (c-name "empathy_glade_connect")
1345 (return-type "none")
1347 '("GladeXML*" "gui")
1348 '("gpointer" "user_data")
1349 '("gchar*" "first_widget")
1354 (define-function glade_setup_size_group
1355 (c-name "empathy_glade_setup_size_group")
1356 (return-type "none")
1358 '("GladeXML*" "gui")
1359 '("GtkSizeGroupMode" "mode")
1360 '("gchar*" "first_widget")
1365 (define-function icon_name_from_account
1366 (c-name "empathy_icon_name_from_account")
1367 (return-type "const-gchar*")
1369 '("McAccount*" "account")
1373 (define-function icon_name_for_presence
1374 (c-name "empathy_icon_name_for_presence")
1375 (return-type "const-gchar*")
1377 '("McPresence" "presence")
1381 (define-function icon_name_for_contact
1382 (c-name "empathy_icon_name_for_contact")
1383 (return-type "const-gchar*")
1385 '("EmpathyContact*" "contact")
1389 (define-function pixbuf_from_data
1390 (c-name "empathy_pixbuf_from_data")
1391 (return-type "GdkPixbuf*")
1394 '("gsize" "data_size")
1398 (define-function pixbuf_from_avatar_scaled
1399 (c-name "empathy_pixbuf_from_avatar_scaled")
1400 (return-type "GdkPixbuf*")
1402 '("EmpathyAvatar*" "avatar")
1408 (define-function pixbuf_avatar_from_contact_scaled
1409 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1410 (return-type "GdkPixbuf*")
1412 '("EmpathyContact*" "contact")
1418 (define-function pixbuf_scale_down_if_necessary
1419 (c-name "empathy_pixbuf_scale_down_if_necessary")
1420 (return-type "GdkPixbuf*")
1422 '("GdkPixbuf*" "pixbuf")
1423 '("gint" "max_size")
1427 (define-function pixbuf_from_icon_name
1428 (c-name "empathy_pixbuf_from_icon_name")
1429 (return-type "GdkPixbuf*")
1431 '("const-gchar*" "icon_name")
1432 '("GtkIconSize" "icon_size")
1436 (define-function text_iter_forward_search
1437 (c-name "empathy_text_iter_forward_search")
1438 (return-type "gboolean")
1440 '("const-GtkTextIter*" "iter")
1441 '("const-gchar*" "str")
1442 '("GtkTextIter*" "match_start")
1443 '("GtkTextIter*" "match_end")
1444 '("const-GtkTextIter*" "limit")
1448 (define-function text_iter_backward_search
1449 (c-name "empathy_text_iter_backward_search")
1450 (return-type "gboolean")
1452 '("const-GtkTextIter*" "iter")
1453 '("const-gchar*" "str")
1454 '("GtkTextIter*" "match_start")
1455 '("GtkTextIter*" "match_end")
1456 '("const-GtkTextIter*" "limit")
1460 (define-function window_get_is_visible
1461 (c-name "empathy_window_get_is_visible")
1462 (return-type "gboolean")
1464 '("GtkWindow*" "window")
1468 (define-function window_present
1469 (c-name "empathy_window_present")
1470 (return-type "none")
1472 '("GtkWindow*" "window")
1473 '("gboolean" "steal_focus")
1477 (define-function window_iconify
1478 (c-name "empathy_window_iconify")
1479 (return-type "none")
1481 '("GtkWindow*" "window")
1482 '("GtkStatusIcon*" "status_icon")
1486 (define-function get_toplevel_window
1487 (c-name "empathy_get_toplevel_window")
1488 (return-type "GtkWindow*")
1490 '("GtkWidget*" "widget")
1494 (define-function url_show
1495 (c-name "empathy_url_show")
1496 (return-type "none")
1498 '("const-char*" "url")
1502 (define-function toggle_button_set_state_quietly
1503 (c-name "empathy_toggle_button_set_state_quietly")
1504 (return-type "none")
1506 '("GtkWidget*" "widget")
1507 '("GCallback" "callback")
1508 '("gpointer" "user_data")
1509 '("gboolean" "active")
1513 (define-function link_button_new
1514 (c-name "empathy_link_button_new")
1515 (is-constructor-of "EmpathyLinkButton")
1516 (return-type "GtkWidget*")
1518 '("const-gchar*" "url")
1519 '("const-gchar*" "title")
1523 (define-function text_buffer_tag_set
1524 (c-name "empathy_text_buffer_tag_set")
1525 (return-type "GtkTextTag*")
1527 '("GtkTextBuffer*" "buffer")
1528 '("const-gchar*" "tag_name")
1529 '("const-gchar*" "first_property_name")
1536 ;; From empathy-cell-renderer-activatable.h
1538 (define-function cell_renderer_activatable_get_type
1539 (c-name "empathy_cell_renderer_activatable_get_type")
1540 (return-type "GType")
1543 (define-function cell_renderer_activatable_new
1544 (c-name "empathy_cell_renderer_activatable_new")
1545 (is-constructor-of "EmpathyCellRendererActivatable")
1546 (return-type "GtkCellRenderer*")
1551 ;; From empathy-contact-widget.h
1553 (define-method widget_new
1554 (of-object "EmpathyContact")
1555 (c-name "empathy_contact_widget_new")
1556 (return-type "GtkWidget*")
1558 '("EmpathyContactWidgetFlags" "flags")
1562 (define-function contact_widget_get_contact
1563 (c-name "empathy_contact_widget_get_contact")
1564 (return-type "EmpathyContact*")
1566 '("GtkWidget*" "widget")
1570 (define-function contact_widget_set_contact
1571 (c-name "empathy_contact_widget_set_contact")
1572 (return-type "none")
1574 '("GtkWidget*" "widget")
1575 '("EmpathyContact*" "contact")
1579 (define-function contact_widget_set_account_filter
1580 (c-name "empathy_contact_widget_set_account_filter")
1581 (return-type "none")
1583 '("GtkWidget*" "widget")
1584 '("EmpathyAccountChooserFilterFunc" "filter")
1585 '("gpointer" "user_data")
1591 ;; From empathy-profile-chooser.h
1593 (define-function profile_chooser_new
1594 (c-name "empathy_profile_chooser_new")
1595 (is-constructor-of "EmpathyProfileChooser")
1596 (return-type "GtkWidget*")
1599 (define-function profile_chooser_get_selected
1600 (c-name "empathy_profile_chooser_get_selected")
1601 (return-type "McProfile*")
1603 '("GtkWidget*" "widget")
1607 (define-function profile_chooser_n_profiles
1608 (c-name "empathy_profile_chooser_n_profiles")
1609 (return-type "gint")
1611 '("GtkWidget*" "widget")
1617 ;; From empathy-cell-renderer-expander.h
1619 (define-function cell_renderer_expander_get_type
1620 (c-name "empathy_cell_renderer_expander_get_type")
1621 (return-type "GType")
1624 (define-function cell_renderer_expander_new
1625 (c-name "empathy_cell_renderer_expander_new")
1626 (is-constructor-of "EmpathyCellRendererExpander")
1627 (return-type "GtkCellRenderer*")
1632 ;; From empathy-geometry.h
1634 (define-function geometry_save
1635 (c-name "empathy_geometry_save")
1636 (return-type "none")
1638 '("const-gchar*" "name")
1646 (define-function geometry_load
1647 (c-name "empathy_geometry_load")
1648 (return-type "none")
1650 '("const-gchar*" "name")
1660 ;; From empathy-smiley-manager.h
1662 (define-function smiley_manager_get_type
1663 (c-name "empathy_smiley_manager_get_type")
1664 (return-type "GType")
1667 (define-function smiley_manager_new
1668 (c-name "empathy_smiley_manager_new")
1669 (is-constructor-of "EmpathySmileyManager")
1670 (return-type "EmpathySmileyManager*")
1674 (of-object "EmpathySmileyManager")
1675 (c-name "empathy_smiley_manager_load")
1676 (return-type "none")
1680 (of-object "EmpathySmileyManager")
1681 (c-name "empathy_smiley_manager_add")
1682 (return-type "none")
1684 '("const-gchar*" "icon_name")
1685 '("const-gchar*" "first_str")
1690 (define-method add_from_pixbuf
1691 (of-object "EmpathySmileyManager")
1692 (c-name "empathy_smiley_manager_add_from_pixbuf")
1693 (return-type "none")
1695 '("GdkPixbuf*" "smiley")
1696 '("const-gchar*" "first_str")
1701 (define-method get_all
1702 (of-object "EmpathySmileyManager")
1703 (c-name "empathy_smiley_manager_get_all")
1704 (return-type "GSList*")
1707 (define-method parse
1708 (of-object "EmpathySmileyManager")
1709 (c-name "empathy_smiley_manager_parse")
1710 (return-type "GSList*")
1712 '("const-gchar*" "text")
1717 (of-object "EmpathySmiley")
1718 (c-name "empathy_smiley_free")
1719 (return-type "none")
1724 ;; From empathy-cell-renderer-text.h
1726 (define-function cell_renderer_text_get_type
1727 (c-name "empathy_cell_renderer_text_get_type")
1728 (return-type "GType")
1731 (define-function cell_renderer_text_new
1732 (c-name "empathy_cell_renderer_text_new")
1733 (is-constructor-of "EmpathyCellRendererText")
1734 (return-type "GtkCellRenderer*")
1739 ;; From empathy-spell.h
1741 (define-function spell_supported
1742 (c-name "empathy_spell_supported")
1743 (return-type "gboolean")
1746 (define-function spell_get_language_name
1747 (c-name "empathy_spell_get_language_name")
1748 (return-type "const-gchar*")
1750 '("const-gchar*" "code")
1754 (define-function spell_get_language_codes
1755 (c-name "empathy_spell_get_language_codes")
1756 (return-type "GList*")
1759 (define-function spell_free_language_codes
1760 (c-name "empathy_spell_free_language_codes")
1761 (return-type "none")
1767 (define-function spell_check
1768 (c-name "empathy_spell_check")
1769 (return-type "gboolean")
1771 '("const-gchar*" "word")
1775 (define-function spell_get_suggestions
1776 (c-name "empathy_spell_get_suggestions")
1777 (return-type "GList*")
1779 '("const-gchar*" "word")
1783 (define-function spell_free_suggestions
1784 (c-name "empathy_spell_free_suggestions")
1785 (return-type "none")
1787 '("GList*" "suggestions")
1793 ;; From empathy-contact-menu.h
1795 (define-method menu_new
1796 (of-object "EmpathyContact")
1797 (c-name "empathy_contact_menu_new")
1798 (return-type "GtkWidget*")
1800 '("EmpathyContactFeatureFlags" "features")
1804 (define-method chat_menu_item_new
1805 (of-object "EmpathyContact")
1806 (c-name "empathy_contact_chat_menu_item_new")
1807 (return-type "GtkWidget*")
1810 (define-method call_menu_item_new
1811 (of-object "EmpathyContact")
1812 (c-name "empathy_contact_call_menu_item_new")
1813 (return-type "GtkWidget*")
1816 (define-method log_menu_item_new
1817 (of-object "EmpathyContact")
1818 (c-name "empathy_contact_log_menu_item_new")
1819 (return-type "GtkWidget*")
1822 (define-method info_menu_item_new
1823 (of-object "EmpathyContact")
1824 (c-name "empathy_contact_info_menu_item_new")
1825 (return-type "GtkWidget*")
1828 (define-method edit_menu_item_new
1829 (of-object "EmpathyContact")
1830 (c-name "empathy_contact_edit_menu_item_new")
1831 (return-type "GtkWidget*")