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-chat-view.h
416 (define-function chat_view_get_type
417 (c-name "empathy_chat_view_get_type")
418 (return-type "GType")
421 (define-function chat_view_new
422 (c-name "empathy_chat_view_new")
423 (is-constructor-of "EmpathyChatView")
424 (return-type "EmpathyChatView*")
427 (define-method append_message
428 (of-object "EmpathyChatView")
429 (c-name "empathy_chat_view_append_message")
432 '("EmpathyMessage*" "msg")
436 (define-method append_event
437 (of-object "EmpathyChatView")
438 (c-name "empathy_chat_view_append_event")
441 '("const-gchar*" "str")
445 (define-method append_button
446 (of-object "EmpathyChatView")
447 (c-name "empathy_chat_view_append_button")
450 '("const-gchar*" "message")
451 '("GtkWidget*" "button1")
452 '("GtkWidget*" "button2")
456 (define-method scroll
457 (of-object "EmpathyChatView")
458 (c-name "empathy_chat_view_scroll")
461 '("gboolean" "allow_scrolling")
465 (define-method scroll_down
466 (of-object "EmpathyChatView")
467 (c-name "empathy_chat_view_scroll_down")
471 (define-method get_selection_bounds
472 (of-object "EmpathyChatView")
473 (c-name "empathy_chat_view_get_selection_bounds")
474 (return-type "gboolean")
476 '("GtkTextIter*" "start")
477 '("GtkTextIter*" "end")
482 (of-object "EmpathyChatView")
483 (c-name "empathy_chat_view_clear")
487 (define-method find_previous
488 (of-object "EmpathyChatView")
489 (c-name "empathy_chat_view_find_previous")
490 (return-type "gboolean")
492 '("const-gchar*" "search_criteria")
493 '("gboolean" "new_search")
497 (define-method find_next
498 (of-object "EmpathyChatView")
499 (c-name "empathy_chat_view_find_next")
500 (return-type "gboolean")
502 '("const-gchar*" "search_criteria")
503 '("gboolean" "new_search")
507 (define-method find_abilities
508 (of-object "EmpathyChatView")
509 (c-name "empathy_chat_view_find_abilities")
512 '("const-gchar*" "search_criteria")
513 '("gboolean*" "can_do_previous")
514 '("gboolean*" "can_do_next")
518 (define-method highlight
519 (of-object "EmpathyChatView")
520 (c-name "empathy_chat_view_highlight")
523 '("const-gchar*" "text")
527 (define-method copy_clipboard
528 (of-object "EmpathyChatView")
529 (c-name "empathy_chat_view_copy_clipboard")
533 (define-method get_theme
534 (of-object "EmpathyChatView")
535 (c-name "empathy_chat_view_get_theme")
536 (return-type "EmpathyTheme*")
539 (define-method set_theme
540 (of-object "EmpathyChatView")
541 (c-name "empathy_chat_view_set_theme")
544 '("EmpathyTheme*" "theme")
548 (define-method set_margin
549 (of-object "EmpathyChatView")
550 (c-name "empathy_chat_view_set_margin")
557 (define-function chat_view_get_smiley_menu
558 (c-name "empathy_chat_view_get_smiley_menu")
559 (return-type "GtkWidget*")
561 '("GCallback" "callback")
562 '("gpointer" "user_data")
566 (define-method get_last_timestamp
567 (of-object "EmpathyChatView")
568 (c-name "empathy_chat_view_get_last_timestamp")
569 (return-type "time_t")
572 (define-method set_last_timestamp
573 (of-object "EmpathyChatView")
574 (c-name "empathy_chat_view_set_last_timestamp")
577 '("time_t" "timestamp")
581 (define-method get_last_contact
582 (of-object "EmpathyChatView")
583 (c-name "empathy_chat_view_get_last_contact")
584 (return-type "EmpathyContact*")
587 (define-function chat_view_get_avatar_pixbuf_with_cache
588 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
589 (return-type "GdkPixbuf*")
591 '("EmpathyContact*" "contact")
597 ;; From empathy-log-window.h
599 (define-function log_window_show
600 (c-name "empathy_log_window_show")
601 (return-type "GtkWidget*")
603 '("McAccount*" "account")
604 '("const-gchar*" "chat_id")
605 '("gboolean" "chatroom")
606 '("GtkWindow*" "parent")
612 ;; From empathy-theme-boxes.h
614 (define-function theme_boxes_get_type
615 (c-name "empathy_theme_boxes_get_type")
616 (return-type "GType")
621 ;; From empathy-account-widget.h
623 (define-function account_widget_handle_params
624 (c-name "empathy_account_widget_handle_params")
627 '("McAccount*" "account")
628 '("GladeXML*" "glade")
629 '("const-gchar*" "first_widget_name")
634 (define-function account_widget_add_forget_button
635 (c-name "empathy_account_widget_add_forget_button")
638 '("McAccount*" "account")
639 '("GladeXML*" "glade")
640 '("const-gchar*" "button")
641 '("const-gchar*" "entry")
645 (define-function account_widget_generic_new
646 (c-name "empathy_account_widget_generic_new")
647 (is-constructor-of "EmpathyAccountWidgetGeneric")
648 (return-type "GtkWidget*")
650 '("McAccount*" "account")
654 (define-function account_widget_salut_new
655 (c-name "empathy_account_widget_salut_new")
656 (is-constructor-of "EmpathyAccountWidgetSalut")
657 (return-type "GtkWidget*")
659 '("McAccount*" "account")
663 (define-function account_widget_msn_new
664 (c-name "empathy_account_widget_msn_new")
665 (is-constructor-of "EmpathyAccountWidgetMsn")
666 (return-type "GtkWidget*")
668 '("McAccount*" "account")
672 (define-function account_widget_jabber_new
673 (c-name "empathy_account_widget_jabber_new")
674 (is-constructor-of "EmpathyAccountWidgetJabber")
675 (return-type "GtkWidget*")
677 '("McAccount*" "account")
681 (define-function account_widget_icq_new
682 (c-name "empathy_account_widget_icq_new")
683 (is-constructor-of "EmpathyAccountWidgetIcq")
684 (return-type "GtkWidget*")
686 '("McAccount*" "account")
690 (define-function account_widget_aim_new
691 (c-name "empathy_account_widget_aim_new")
692 (is-constructor-of "EmpathyAccountWidgetAim")
693 (return-type "GtkWidget*")
695 '("McAccount*" "account")
699 (define-function account_widget_yahoo_new
700 (c-name "empathy_account_widget_yahoo_new")
701 (is-constructor-of "EmpathyAccountWidgetYahoo")
702 (return-type "GtkWidget*")
704 '("McAccount*" "account")
708 (define-function account_widget_groupwise_new
709 (c-name "empathy_account_widget_groupwise_new")
710 (is-constructor-of "EmpathyAccountWidgetGroupwise")
711 (return-type "GtkWidget*")
713 '("McAccount*" "account")
719 ;; From empathy-conf.h
721 (define-function conf_get_type
722 (c-name "empathy_conf_get_type")
723 (return-type "GType")
726 (define-function conf_get
727 (c-name "empathy_conf_get")
728 (return-type "EmpathyConf*")
731 (define-function conf_shutdown
732 (c-name "empathy_conf_shutdown")
736 (define-method notify_add
737 (of-object "EmpathyConf")
738 (c-name "empathy_conf_notify_add")
739 (return-type "guint")
741 '("const-gchar*" "key")
742 '("EmpathyConfNotifyFunc" "func")
747 (define-method notify_remove
748 (of-object "EmpathyConf")
749 (c-name "empathy_conf_notify_remove")
750 (return-type "gboolean")
756 (define-method set_int
757 (of-object "EmpathyConf")
758 (c-name "empathy_conf_set_int")
759 (return-type "gboolean")
761 '("const-gchar*" "key")
766 (define-method get_int
767 (of-object "EmpathyConf")
768 (c-name "empathy_conf_get_int")
769 (return-type "gboolean")
771 '("const-gchar*" "key")
776 (define-method set_bool
777 (of-object "EmpathyConf")
778 (c-name "empathy_conf_set_bool")
779 (return-type "gboolean")
781 '("const-gchar*" "key")
782 '("gboolean" "value")
786 (define-method get_bool
787 (of-object "EmpathyConf")
788 (c-name "empathy_conf_get_bool")
789 (return-type "gboolean")
791 '("const-gchar*" "key")
792 '("gboolean*" "value")
796 (define-method set_string
797 (of-object "EmpathyConf")
798 (c-name "empathy_conf_set_string")
799 (return-type "gboolean")
801 '("const-gchar*" "key")
802 '("const-gchar*" "value")
806 (define-method get_string
807 (of-object "EmpathyConf")
808 (c-name "empathy_conf_get_string")
809 (return-type "gboolean")
811 '("const-gchar*" "key")
816 (define-method set_string_list
817 (of-object "EmpathyConf")
818 (c-name "empathy_conf_set_string_list")
819 (return-type "gboolean")
821 '("const-gchar*" "key")
826 (define-method get_string_list
827 (of-object "EmpathyConf")
828 (c-name "empathy_conf_get_string_list")
829 (return-type "gboolean")
831 '("const-gchar*" "key")
832 '("GSList**" "value")
838 ;; From empathy-theme.h
840 (define-function theme_get_type
841 (c-name "empathy_theme_get_type")
842 (return-type "GType")
845 (define-method update_view
846 (of-object "EmpathyTheme")
847 (c-name "empathy_theme_update_view")
850 '("EmpathyChatView*" "view")
854 (define-method append_message
855 (of-object "EmpathyTheme")
856 (c-name "empathy_theme_append_message")
859 '("EmpathyChatView*" "view")
860 '("EmpathyMessage*" "msg")
864 (define-method append_text
865 (of-object "EmpathyTheme")
866 (c-name "empathy_theme_append_text")
869 '("EmpathyChatView*" "view")
870 '("const-gchar*" "body")
871 '("const-gchar*" "tag")
872 '("const-gchar*" "link_tag")
876 (define-method append_spacing
877 (of-object "EmpathyTheme")
878 (c-name "empathy_theme_append_spacing")
881 '("EmpathyChatView*" "view")
885 (define-method append_event
886 (of-object "EmpathyTheme")
887 (c-name "empathy_theme_append_event")
890 '("EmpathyChatView*" "view")
891 '("const-gchar*" "str")
895 (define-method append_timestamp
896 (of-object "EmpathyTheme")
897 (c-name "empathy_theme_append_timestamp")
900 '("EmpathyChatView*" "view")
901 '("EmpathyMessage*" "message")
902 '("gboolean" "show_date")
903 '("gboolean" "show_time")
907 (define-method maybe_append_date_and_time
908 (of-object "EmpathyTheme")
909 (c-name "empathy_theme_maybe_append_date_and_time")
912 '("EmpathyChatView*" "view")
913 '("EmpathyMessage*" "message")
917 (define-method get_show_avatars
918 (of-object "EmpathyTheme")
919 (c-name "empathy_theme_get_show_avatars")
920 (return-type "gboolean")
923 (define-method set_show_avatars
924 (of-object "EmpathyTheme")
925 (c-name "empathy_theme_set_show_avatars")
934 ;; From empathy-account-widget-irc.h
936 (define-function account_widget_irc_new
937 (c-name "empathy_account_widget_irc_new")
938 (is-constructor-of "EmpathyAccountWidgetIrc")
939 (return-type "GtkWidget*")
941 '("McAccount*" "account")
947 ;; From empathy-account-widget-sip.h
949 (define-function account_widget_sip_new
950 (c-name "empathy_account_widget_sip_new")
951 (is-constructor-of "EmpathyAccountWidgetSip")
952 (return-type "GtkWidget*")
954 '("McAccount*" "account")
960 ;; From empathy-contact-dialogs.h
962 (define-function subscription_dialog_show
963 (c-name "empathy_subscription_dialog_show")
966 '("EmpathyContact*" "contact")
967 '("GtkWindow*" "parent")
971 (define-method information_dialog_show
972 (of-object "EmpathyContact")
973 (c-name "empathy_contact_information_dialog_show")
976 '("GtkWindow*" "parent")
978 '("gboolean" "is_user")
982 (define-function new_contact_dialog_show
983 (c-name "empathy_new_contact_dialog_show")
986 '("GtkWindow*" "parent")
992 ;; From empathy-new-message-dialog.h
994 (define-function new_message_dialog_show
995 (c-name "empathy_new_message_dialog_show")
996 (return-type "GtkWidget*")
998 '("GtkWindow*" "parent")
1004 ;; From empathy-theme-irc.h
1006 (define-function theme_irc_get_type
1007 (c-name "empathy_theme_irc_get_type")
1008 (return-type "GType")
1013 ;; From empathy-avatar-chooser.h
1015 (define-function avatar_chooser_get_type
1016 (c-name "empathy_avatar_chooser_get_type")
1017 (return-type "GType")
1020 (define-function avatar_chooser_new
1021 (c-name "empathy_avatar_chooser_new")
1022 (is-constructor-of "EmpathyAvatarChooser")
1023 (return-type "GtkWidget*")
1027 (of-object "EmpathyAvatarChooser")
1028 (c-name "empathy_avatar_chooser_set")
1029 (return-type "none")
1031 '("EmpathyAvatar*" "avatar")
1035 (define-method get_image_data
1036 (of-object "EmpathyAvatarChooser")
1037 (c-name "empathy_avatar_chooser_get_image_data")
1038 (return-type "none")
1040 '("const-gchar**" "data")
1041 '("gsize*" "data_size")
1042 '("const-gchar**" "mime_type")
1048 ;; From empathy-contact-list-store.h
1050 (define-function contact_list_store_get_type
1051 (c-name "empathy_contact_list_store_get_type")
1052 (return-type "GType")
1055 (define-function empathy_contact_list_store_new
1056 (is-constructor-of "EmpathyContactListStore")
1057 (c-name "empathy_contact_list_store_new")
1058 (return-type "EmpathyContactListStore*")
1060 '("EmpathyContactList*" "list_iface")
1064 (define-method get_list_iface
1065 (of-object "EmpathyContactListStore")
1066 (c-name "empathy_contact_list_store_get_list_iface")
1067 (return-type "EmpathyContactList*")
1070 (define-method get_show_offline
1071 (of-object "EmpathyContactListStore")
1072 (c-name "empathy_contact_list_store_get_show_offline")
1073 (return-type "gboolean")
1076 (define-method set_show_offline
1077 (of-object "EmpathyContactListStore")
1078 (c-name "empathy_contact_list_store_set_show_offline")
1079 (return-type "none")
1081 '("gboolean" "show_offline")
1085 (define-method get_show_avatars
1086 (of-object "EmpathyContactListStore")
1087 (c-name "empathy_contact_list_store_get_show_avatars")
1088 (return-type "gboolean")
1091 (define-method set_show_avatars
1092 (of-object "EmpathyContactListStore")
1093 (c-name "empathy_contact_list_store_set_show_avatars")
1094 (return-type "none")
1096 '("gboolean" "show_avatars")
1100 (define-method get_show_groups
1101 (of-object "EmpathyContactListStore")
1102 (c-name "empathy_contact_list_store_get_show_groups")
1103 (return-type "gboolean")
1106 (define-method set_show_groups
1107 (of-object "EmpathyContactListStore")
1108 (c-name "empathy_contact_list_store_set_show_groups")
1109 (return-type "none")
1111 '("gboolean" "show_groups")
1115 (define-method get_is_compact
1116 (of-object "EmpathyContactListStore")
1117 (c-name "empathy_contact_list_store_get_is_compact")
1118 (return-type "gboolean")
1121 (define-method set_is_compact
1122 (of-object "EmpathyContactListStore")
1123 (c-name "empathy_contact_list_store_set_is_compact")
1124 (return-type "none")
1126 '("gboolean" "is_compact")
1130 (define-method get_sort_criterium
1131 (of-object "EmpathyContactListStore")
1132 (c-name "empathy_contact_list_store_get_sort_criterium")
1133 (return-type "EmpathyContactListStoreSort")
1136 (define-method set_sort_criterium
1137 (of-object "EmpathyContactListStore")
1138 (c-name "empathy_contact_list_store_set_sort_criterium")
1139 (return-type "none")
1141 '("EmpathyContactListStoreSort" "sort_criterium")
1145 (define-function contact_list_store_row_separator_func
1146 (c-name "empathy_contact_list_store_row_separator_func")
1147 (return-type "gboolean")
1149 '("GtkTreeModel*" "model")
1150 '("GtkTreeIter*" "iter")
1151 '("gpointer" "data")
1155 (define-function contact_list_store_get_parent_group
1156 (c-name "empathy_contact_list_store_get_parent_group")
1157 (return-type "gchar*")
1159 '("GtkTreeModel*" "model")
1160 '("GtkTreePath*" "path")
1161 '("gboolean*" "path_is_group")
1165 (define-function contact_list_store_search_equal_func
1166 (c-name "empathy_contact_list_store_search_equal_func")
1167 (return-type "gboolean")
1169 '("GtkTreeModel*" "model")
1171 '("const-gchar*" "key")
1172 '("GtkTreeIter*" "iter")
1173 '("gpointer" "search_data")
1179 ;; From empathy-presence-chooser.h
1181 (define-function presence_chooser_get_type
1182 (c-name "empathy_presence_chooser_get_type")
1183 (return-type "GType")
1186 (define-function presence_chooser_new
1187 (c-name "empathy_presence_chooser_new")
1188 (is-constructor-of "EmpathyPresenceChooser")
1189 (return-type "GtkWidget*")
1192 (define-function presence_chooser_create_menu
1193 (c-name "empathy_presence_chooser_create_menu")
1194 (return-type "GtkWidget*")
1199 ;; From empathy-theme-manager.h
1201 (define-function theme_manager_get_type
1202 (c-name "empathy_theme_manager_get_type")
1203 (return-type "GType")
1206 (define-function theme_manager_get
1207 (c-name "empathy_theme_manager_get")
1208 (return-type "EmpathyThemeManager*")
1211 (define-function theme_manager_get_themes
1212 (c-name "empathy_theme_manager_get_themes")
1213 (return-type "const-gchar**")
1216 (define-method apply
1217 (of-object "EmpathyThemeManager")
1218 (c-name "empathy_theme_manager_apply")
1219 (return-type "none")
1221 '("EmpathyChatView*" "view")
1222 '("const-gchar*" "theme")
1226 (define-method apply_saved
1227 (of-object "EmpathyThemeManager")
1228 (c-name "empathy_theme_manager_apply_saved")
1229 (return-type "none")
1231 '("EmpathyChatView*" "view")
1237 ;; From empathy-avatar-image.h
1239 (define-function avatar_image_get_type
1240 (c-name "empathy_avatar_image_get_type")
1241 (return-type "GType")
1244 (define-function avatar_image_new
1245 (c-name "empathy_avatar_image_new")
1246 (is-constructor-of "EmpathyAvatarImage")
1247 (return-type "GtkWidget*")
1251 (of-object "EmpathyAvatarImage")
1252 (c-name "empathy_avatar_image_set")
1253 (return-type "none")
1255 '("EmpathyAvatar*" "avatar")
1261 ;; From empathy-contact-list-view.h
1263 (define-function contact_list_view_get_type
1264 (c-name "empathy_contact_list_view_get_type")
1265 (return-type "GType")
1268 (define-function contact_list_view_new
1269 (c-name "empathy_contact_list_view_new")
1270 (is-constructor-of "EmpathyContactListView")
1271 (return-type "EmpathyContactListView*")
1273 '("EmpathyContactListStore*" "store")
1274 '("EmpathyContactListFeatureFlags" "list_features")
1275 '("EmpathyContactFeatureFlags" "contact_features")
1279 (define-method get_selected
1280 (of-object "EmpathyContactListView")
1281 (c-name "empathy_contact_list_view_get_selected")
1282 (return-type "EmpathyContact*")
1285 (define-method get_selected_group
1286 (of-object "EmpathyContactListView")
1287 (c-name "empathy_contact_list_view_get_selected_group")
1288 (return-type "gchar*")
1291 (define-method get_contact_menu
1292 (of-object "EmpathyContactListView")
1293 (c-name "empathy_contact_list_view_get_contact_menu")
1294 (return-type "GtkWidget*")
1297 (define-method get_group_menu
1298 (of-object "EmpathyContactListView")
1299 (c-name "empathy_contact_list_view_get_group_menu")
1300 (return-type "GtkWidget*")
1305 ;; From empathy-ui-utils.h
1307 (define-function glade_get_file_simple
1308 (c-name "empathy_glade_get_file_simple")
1309 (return-type "none")
1311 '("const-gchar*" "filename")
1312 '("const-gchar*" "root")
1313 '("const-gchar*" "domain")
1314 '("const-gchar*" "first_required_widget")
1319 (define-function glade_get_file
1320 (c-name "empathy_glade_get_file")
1321 (return-type "GladeXML*")
1323 '("const-gchar*" "filename")
1324 '("const-gchar*" "root")
1325 '("const-gchar*" "domain")
1326 '("const-gchar*" "first_required_widget")
1331 (define-function glade_connect
1332 (c-name "empathy_glade_connect")
1333 (return-type "none")
1335 '("GladeXML*" "gui")
1336 '("gpointer" "user_data")
1337 '("gchar*" "first_widget")
1342 (define-function glade_setup_size_group
1343 (c-name "empathy_glade_setup_size_group")
1344 (return-type "none")
1346 '("GladeXML*" "gui")
1347 '("GtkSizeGroupMode" "mode")
1348 '("gchar*" "first_widget")
1353 (define-function icon_name_from_account
1354 (c-name "empathy_icon_name_from_account")
1355 (return-type "const-gchar*")
1357 '("McAccount*" "account")
1361 (define-function icon_name_for_presence
1362 (c-name "empathy_icon_name_for_presence")
1363 (return-type "const-gchar*")
1365 '("McPresence" "presence")
1369 (define-function icon_name_for_contact
1370 (c-name "empathy_icon_name_for_contact")
1371 (return-type "const-gchar*")
1373 '("EmpathyContact*" "contact")
1377 (define-function pixbuf_from_data
1378 (c-name "empathy_pixbuf_from_data")
1379 (return-type "GdkPixbuf*")
1382 '("gsize" "data_size")
1386 (define-function pixbuf_from_avatar_scaled
1387 (c-name "empathy_pixbuf_from_avatar_scaled")
1388 (return-type "GdkPixbuf*")
1390 '("EmpathyAvatar*" "avatar")
1396 (define-function pixbuf_avatar_from_contact_scaled
1397 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1398 (return-type "GdkPixbuf*")
1400 '("EmpathyContact*" "contact")
1406 (define-function pixbuf_scale_down_if_necessary
1407 (c-name "empathy_pixbuf_scale_down_if_necessary")
1408 (return-type "GdkPixbuf*")
1410 '("GdkPixbuf*" "pixbuf")
1411 '("gint" "max_size")
1415 (define-function pixbuf_from_icon_name
1416 (c-name "empathy_pixbuf_from_icon_name")
1417 (return-type "GdkPixbuf*")
1419 '("const-gchar*" "icon_name")
1420 '("GtkIconSize" "icon_size")
1424 (define-function text_iter_forward_search
1425 (c-name "empathy_text_iter_forward_search")
1426 (return-type "gboolean")
1428 '("const-GtkTextIter*" "iter")
1429 '("const-gchar*" "str")
1430 '("GtkTextIter*" "match_start")
1431 '("GtkTextIter*" "match_end")
1432 '("const-GtkTextIter*" "limit")
1436 (define-function text_iter_backward_search
1437 (c-name "empathy_text_iter_backward_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 window_get_is_visible
1449 (c-name "empathy_window_get_is_visible")
1450 (return-type "gboolean")
1452 '("GtkWindow*" "window")
1456 (define-function window_present
1457 (c-name "empathy_window_present")
1458 (return-type "none")
1460 '("GtkWindow*" "window")
1461 '("gboolean" "steal_focus")
1465 (define-function window_iconify
1466 (c-name "empathy_window_iconify")
1467 (return-type "none")
1469 '("GtkWindow*" "window")
1470 '("GtkStatusIcon*" "status_icon")
1474 (define-function get_toplevel_window
1475 (c-name "empathy_get_toplevel_window")
1476 (return-type "GtkWindow*")
1478 '("GtkWidget*" "widget")
1482 (define-function url_show
1483 (c-name "empathy_url_show")
1484 (return-type "none")
1486 '("const-char*" "url")
1490 (define-function toggle_button_set_state_quietly
1491 (c-name "empathy_toggle_button_set_state_quietly")
1492 (return-type "none")
1494 '("GtkWidget*" "widget")
1495 '("GCallback" "callback")
1496 '("gpointer" "user_data")
1497 '("gboolean" "active")
1501 (define-function link_button_new
1502 (c-name "empathy_link_button_new")
1503 (is-constructor-of "EmpathyLinkButton")
1504 (return-type "GtkWidget*")
1506 '("const-gchar*" "url")
1507 '("const-gchar*" "title")
1511 (define-function text_buffer_tag_set
1512 (c-name "empathy_text_buffer_tag_set")
1513 (return-type "GtkTextTag*")
1515 '("GtkTextBuffer*" "buffer")
1516 '("const-gchar*" "tag_name")
1517 '("const-gchar*" "first_property_name")
1524 ;; From empathy-cell-renderer-activatable.h
1526 (define-function cell_renderer_activatable_get_type
1527 (c-name "empathy_cell_renderer_activatable_get_type")
1528 (return-type "GType")
1531 (define-function cell_renderer_activatable_new
1532 (c-name "empathy_cell_renderer_activatable_new")
1533 (is-constructor-of "EmpathyCellRendererActivatable")
1534 (return-type "GtkCellRenderer*")
1539 ;; From empathy-contact-widget.h
1541 (define-method widget_new
1542 (of-object "EmpathyContact")
1543 (c-name "empathy_contact_widget_new")
1544 (return-type "GtkWidget*")
1546 '("EmpathyContactWidgetFlags" "flags")
1550 (define-function contact_widget_get_contact
1551 (c-name "empathy_contact_widget_get_contact")
1552 (return-type "EmpathyContact*")
1554 '("GtkWidget*" "widget")
1558 (define-function contact_widget_set_contact
1559 (c-name "empathy_contact_widget_set_contact")
1560 (return-type "none")
1562 '("GtkWidget*" "widget")
1563 '("EmpathyContact*" "contact")
1567 (define-function contact_widget_set_account_filter
1568 (c-name "empathy_contact_widget_set_account_filter")
1569 (return-type "none")
1571 '("GtkWidget*" "widget")
1572 '("EmpathyAccountChooserFilterFunc" "filter")
1573 '("gpointer" "user_data")
1579 ;; From empathy-profile-chooser.h
1581 (define-function profile_chooser_new
1582 (c-name "empathy_profile_chooser_new")
1583 (is-constructor-of "EmpathyProfileChooser")
1584 (return-type "GtkWidget*")
1587 (define-function profile_chooser_get_selected
1588 (c-name "empathy_profile_chooser_get_selected")
1589 (return-type "McProfile*")
1591 '("GtkWidget*" "widget")
1595 (define-function profile_chooser_n_profiles
1596 (c-name "empathy_profile_chooser_n_profiles")
1597 (return-type "gint")
1599 '("GtkWidget*" "widget")
1605 ;; From empathy-cell-renderer-expander.h
1607 (define-function cell_renderer_expander_get_type
1608 (c-name "empathy_cell_renderer_expander_get_type")
1609 (return-type "GType")
1612 (define-function cell_renderer_expander_new
1613 (c-name "empathy_cell_renderer_expander_new")
1614 (is-constructor-of "EmpathyCellRendererExpander")
1615 (return-type "GtkCellRenderer*")
1620 ;; From empathy-geometry.h
1622 (define-function geometry_save
1623 (c-name "empathy_geometry_save")
1624 (return-type "none")
1626 '("const-gchar*" "name")
1634 (define-function geometry_load
1635 (c-name "empathy_geometry_load")
1636 (return-type "none")
1638 '("const-gchar*" "name")
1648 ;; From empathy-smiley-manager.h
1650 (define-function smiley_manager_get_type
1651 (c-name "empathy_smiley_manager_get_type")
1652 (return-type "GType")
1655 (define-function smiley_manager_new
1656 (c-name "empathy_smiley_manager_new")
1657 (is-constructor-of "EmpathySmileyManager")
1658 (return-type "EmpathySmileyManager*")
1662 (of-object "EmpathySmileyManager")
1663 (c-name "empathy_smiley_manager_load")
1664 (return-type "none")
1668 (of-object "EmpathySmileyManager")
1669 (c-name "empathy_smiley_manager_add")
1670 (return-type "none")
1672 '("const-gchar*" "icon_name")
1673 '("const-gchar*" "first_str")
1678 (define-method add_from_pixbuf
1679 (of-object "EmpathySmileyManager")
1680 (c-name "empathy_smiley_manager_add_from_pixbuf")
1681 (return-type "none")
1683 '("GdkPixbuf*" "smiley")
1684 '("const-gchar*" "first_str")
1689 (define-method get_all
1690 (of-object "EmpathySmileyManager")
1691 (c-name "empathy_smiley_manager_get_all")
1692 (return-type "GSList*")
1695 (define-method parse
1696 (of-object "EmpathySmileyManager")
1697 (c-name "empathy_smiley_manager_parse")
1698 (return-type "GSList*")
1700 '("const-gchar*" "text")
1705 (of-object "EmpathySmiley")
1706 (c-name "empathy_smiley_free")
1707 (return-type "none")
1712 ;; From empathy-cell-renderer-text.h
1714 (define-function cell_renderer_text_get_type
1715 (c-name "empathy_cell_renderer_text_get_type")
1716 (return-type "GType")
1719 (define-function cell_renderer_text_new
1720 (c-name "empathy_cell_renderer_text_new")
1721 (is-constructor-of "EmpathyCellRendererText")
1722 (return-type "GtkCellRenderer*")
1727 ;; From empathy-spell.h
1729 (define-function spell_supported
1730 (c-name "empathy_spell_supported")
1731 (return-type "gboolean")
1734 (define-function spell_get_language_name
1735 (c-name "empathy_spell_get_language_name")
1736 (return-type "const-gchar*")
1738 '("const-gchar*" "code")
1742 (define-function spell_get_language_codes
1743 (c-name "empathy_spell_get_language_codes")
1744 (return-type "GList*")
1747 (define-function spell_free_language_codes
1748 (c-name "empathy_spell_free_language_codes")
1749 (return-type "none")
1755 (define-function spell_check
1756 (c-name "empathy_spell_check")
1757 (return-type "gboolean")
1759 '("const-gchar*" "word")
1763 (define-function spell_get_suggestions
1764 (c-name "empathy_spell_get_suggestions")
1765 (return-type "GList*")
1767 '("const-gchar*" "word")
1771 (define-function spell_free_suggestions
1772 (c-name "empathy_spell_free_suggestions")
1773 (return-type "none")
1775 '("GList*" "suggestions")
1781 ;; From empathy-contact-menu.h
1783 (define-method menu_new
1784 (of-object "EmpathyContact")
1785 (c-name "empathy_contact_menu_new")
1786 (return-type "GtkWidget*")
1788 '("EmpathyContactFeatureFlags" "features")
1792 (define-method chat_menu_item_new
1793 (of-object "EmpathyContact")
1794 (c-name "empathy_contact_chat_menu_item_new")
1795 (return-type "GtkWidget*")
1798 (define-method call_menu_item_new
1799 (of-object "EmpathyContact")
1800 (c-name "empathy_contact_call_menu_item_new")
1801 (return-type "GtkWidget*")
1804 (define-method log_menu_item_new
1805 (of-object "EmpathyContact")
1806 (c-name "empathy_contact_log_menu_item_new")
1807 (return-type "GtkWidget*")
1810 (define-method info_menu_item_new
1811 (of-object "EmpathyContact")
1812 (c-name "empathy_contact_info_menu_item_new")
1813 (return-type "GtkWidget*")
1816 (define-method edit_menu_item_new
1817 (of-object "EmpathyContact")
1818 (c-name "empathy_contact_edit_menu_item_new")
1819 (return-type "GtkWidget*")