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 ChatTextView
54 (parent "GtkTextView")
55 (c-name "EmpathyChatTextView")
56 (gtype-id "EMPATHY_TYPE_CHAT_TEXT_VIEW")
59 (define-object ChatView
61 (c-name "EmpathyChatView")
62 (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
68 (c-name "EmpathyConf")
69 (gtype-id "EMPATHY_TYPE_CONF")
72 (define-object ContactListStore
74 (parent "GtkTreeStore")
75 (c-name "EmpathyContactListStore")
76 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
79 (define-object ContactListView
81 (parent "GtkTreeView")
82 (c-name "EmpathyContactListView")
83 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
86 (define-object PresenceChooser
88 (parent "GtkToggleButton")
89 (c-name "EmpathyPresenceChooser")
90 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
93 (define-object SmileyManager
96 (c-name "EmpathySmileyManager")
97 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
100 (define-object ThemeBoxes
101 (in-module "Empathy")
102 (parent "EmpathyChatTextView")
103 (c-name "EmpathyThemeBoxes")
104 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
107 (define-object ThemeIrc
108 (in-module "Empathy")
109 (parent "EmpathyChatTextView")
110 (c-name "EmpathyThemeIrc")
111 (gtype-id "EMPATHY_TYPE_THEME_IRC")
114 (define-object ThemeManager
115 (in-module "Empathy")
117 (c-name "EmpathyThemeManager")
118 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
121 ;; Enumerations and flags ...
123 (define-enum ContactListStoreSort
124 (in-module "Empathy")
125 (c-name "EmpathyContactListStoreSort")
126 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
128 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
129 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
133 (define-enum ContactListStoreCol
134 (in-module "Empathy")
135 (c-name "EmpathyContactListStoreCol")
136 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
138 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
139 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
140 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
141 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
142 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
143 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
144 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
145 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
146 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
147 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
148 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
149 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
150 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
154 (define-flags ContactListFeatureFlags
155 (in-module "Empathy")
156 (c-name "EmpathyContactListFeatureFlags")
157 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
159 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
160 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
161 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
162 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
163 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
164 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
165 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
166 '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
167 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
171 (define-flags ContactFeatureFlags
172 (in-module "Empathy")
173 (c-name "EmpathyContactFeatureFlags")
174 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
176 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
177 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
178 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
179 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
180 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
181 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
182 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
186 (define-flags ContactWidgetFlags
187 (in-module "Empathy")
188 (c-name "EmpathyContactWidgetFlags")
189 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
191 '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
192 '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
193 '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
194 '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
195 '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
196 '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
197 '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
202 ;; From empathy-account-chooser.h
204 (define-function account_chooser_get_type
205 (c-name "empathy_account_chooser_get_type")
206 (return-type "GType")
209 (define-function account_chooser_new
210 (c-name "empathy_account_chooser_new")
211 (is-constructor-of "EmpathyAccountChooser")
212 (return-type "GtkWidget*")
215 (define-method get_account
216 (of-object "EmpathyAccountChooser")
217 (c-name "empathy_account_chooser_get_account")
218 (return-type "McAccount*")
221 (define-method set_account
222 (of-object "EmpathyAccountChooser")
223 (c-name "empathy_account_chooser_set_account")
224 (return-type "gboolean")
226 '("McAccount*" "account")
230 (define-method get_has_all_option
231 (of-object "EmpathyAccountChooser")
232 (c-name "empathy_account_chooser_get_has_all_option")
233 (return-type "gboolean")
236 (define-method set_has_all_option
237 (of-object "EmpathyAccountChooser")
238 (c-name "empathy_account_chooser_set_has_all_option")
241 '("gboolean" "has_all_option")
245 (define-method set_filter
246 (of-object "EmpathyAccountChooser")
247 (c-name "empathy_account_chooser_set_filter")
250 '("EmpathyAccountChooserFilterFunc" "filter")
251 '("gpointer" "user_data")
255 (define-function account_chooser_filter_is_connected
256 (c-name "empathy_account_chooser_filter_is_connected")
257 (return-type "gboolean")
259 '("McAccount*" "account")
260 '("gpointer" "user_data")
266 ;; From empathy-account-widget.h
268 (define-function account_widget_handle_params
269 (c-name "empathy_account_widget_handle_params")
272 '("McAccount*" "account")
273 '("GladeXML*" "glade")
274 '("const-gchar*" "first_widget_name")
279 (define-function account_widget_add_forget_button
280 (c-name "empathy_account_widget_add_forget_button")
283 '("McAccount*" "account")
284 '("GladeXML*" "glade")
285 '("const-gchar*" "button")
286 '("const-gchar*" "entry")
290 (define-function account_widget_generic_new
291 (c-name "empathy_account_widget_generic_new")
292 (is-constructor-of "EmpathyAccountWidgetGeneric")
293 (return-type "GtkWidget*")
295 '("McAccount*" "account")
299 (define-function account_widget_salut_new
300 (c-name "empathy_account_widget_salut_new")
301 (is-constructor-of "EmpathyAccountWidgetSalut")
302 (return-type "GtkWidget*")
304 '("McAccount*" "account")
308 (define-function account_widget_msn_new
309 (c-name "empathy_account_widget_msn_new")
310 (is-constructor-of "EmpathyAccountWidgetMsn")
311 (return-type "GtkWidget*")
313 '("McAccount*" "account")
317 (define-function account_widget_jabber_new
318 (c-name "empathy_account_widget_jabber_new")
319 (is-constructor-of "EmpathyAccountWidgetJabber")
320 (return-type "GtkWidget*")
322 '("McAccount*" "account")
326 (define-function account_widget_icq_new
327 (c-name "empathy_account_widget_icq_new")
328 (is-constructor-of "EmpathyAccountWidgetIcq")
329 (return-type "GtkWidget*")
331 '("McAccount*" "account")
335 (define-function account_widget_aim_new
336 (c-name "empathy_account_widget_aim_new")
337 (is-constructor-of "EmpathyAccountWidgetAim")
338 (return-type "GtkWidget*")
340 '("McAccount*" "account")
344 (define-function account_widget_yahoo_new
345 (c-name "empathy_account_widget_yahoo_new")
346 (is-constructor-of "EmpathyAccountWidgetYahoo")
347 (return-type "GtkWidget*")
349 '("McAccount*" "account")
353 (define-function account_widget_groupwise_new
354 (c-name "empathy_account_widget_groupwise_new")
355 (is-constructor-of "EmpathyAccountWidgetGroupwise")
356 (return-type "GtkWidget*")
358 '("McAccount*" "account")
364 ;; From empathy-account-widget-irc.h
366 (define-function account_widget_irc_new
367 (c-name "empathy_account_widget_irc_new")
368 (is-constructor-of "EmpathyAccountWidgetIrc")
369 (return-type "GtkWidget*")
371 '("McAccount*" "account")
377 ;; From empathy-account-widget-sip.h
379 (define-function account_widget_sip_new
380 (c-name "empathy_account_widget_sip_new")
381 (is-constructor-of "EmpathyAccountWidgetSip")
382 (return-type "GtkWidget*")
384 '("McAccount*" "account")
390 ;; From empathy-avatar-chooser.h
392 (define-function avatar_chooser_get_type
393 (c-name "empathy_avatar_chooser_get_type")
394 (return-type "GType")
397 (define-function avatar_chooser_new
398 (c-name "empathy_avatar_chooser_new")
399 (is-constructor-of "EmpathyAvatarChooser")
400 (return-type "GtkWidget*")
404 (of-object "EmpathyAvatarChooser")
405 (c-name "empathy_avatar_chooser_set")
408 '("EmpathyAvatar*" "avatar")
412 (define-method get_image_data
413 (of-object "EmpathyAvatarChooser")
414 (c-name "empathy_avatar_chooser_get_image_data")
417 '("const-gchar**" "data")
418 '("gsize*" "data_size")
419 '("const-gchar**" "mime_type")
425 ;; From empathy-avatar-image.h
427 (define-function avatar_image_get_type
428 (c-name "empathy_avatar_image_get_type")
429 (return-type "GType")
432 (define-function avatar_image_new
433 (c-name "empathy_avatar_image_new")
434 (is-constructor-of "EmpathyAvatarImage")
435 (return-type "GtkWidget*")
439 (of-object "EmpathyAvatarImage")
440 (c-name "empathy_avatar_image_set")
443 '("EmpathyAvatar*" "avatar")
449 ;; From empathy-cell-renderer-activatable.h
451 (define-function cell_renderer_activatable_get_type
452 (c-name "empathy_cell_renderer_activatable_get_type")
453 (return-type "GType")
456 (define-function cell_renderer_activatable_new
457 (c-name "empathy_cell_renderer_activatable_new")
458 (is-constructor-of "EmpathyCellRendererActivatable")
459 (return-type "GtkCellRenderer*")
464 ;; From empathy-cell-renderer-expander.h
466 (define-function cell_renderer_expander_get_type
467 (c-name "empathy_cell_renderer_expander_get_type")
468 (return-type "GType")
471 (define-function cell_renderer_expander_new
472 (c-name "empathy_cell_renderer_expander_new")
473 (is-constructor-of "EmpathyCellRendererExpander")
474 (return-type "GtkCellRenderer*")
479 ;; From empathy-cell-renderer-text.h
481 (define-function cell_renderer_text_get_type
482 (c-name "empathy_cell_renderer_text_get_type")
483 (return-type "GType")
486 (define-function cell_renderer_text_new
487 (c-name "empathy_cell_renderer_text_new")
488 (is-constructor-of "EmpathyCellRendererText")
489 (return-type "GtkCellRenderer*")
494 ;; From empathy-chat.h
496 (define-function chat_get_type
497 (c-name "empathy_chat_get_type")
498 (return-type "GType")
501 (define-function chat_new
502 (c-name "empathy_chat_new")
503 (is-constructor-of "EmpathyChat")
504 (return-type "EmpathyChat*")
506 '("EmpathyTpChat*" "tp_chat")
510 (define-method get_tp_chat
511 (of-object "EmpathyChat")
512 (c-name "empathy_chat_get_tp_chat")
513 (return-type "EmpathyTpChat*")
516 (define-method set_tp_chat
517 (of-object "EmpathyChat")
518 (c-name "empathy_chat_set_tp_chat")
521 '("EmpathyTpChat*" "tp_chat")
525 (define-method get_account
526 (of-object "EmpathyChat")
527 (c-name "empathy_chat_get_account")
528 (return-type "McAccount*")
531 (define-method get_id
532 (of-object "EmpathyChat")
533 (c-name "empathy_chat_get_id")
534 (return-type "const-gchar*")
537 (define-method get_name
538 (of-object "EmpathyChat")
539 (c-name "empathy_chat_get_name")
540 (return-type "const-gchar*")
543 (define-method get_subject
544 (of-object "EmpathyChat")
545 (c-name "empathy_chat_get_subject")
546 (return-type "const-gchar*")
549 (define-method get_remote_contact
550 (of-object "EmpathyChat")
551 (c-name "empathy_chat_get_remote_contact")
552 (return-type "EmpathyContact*")
555 (define-method get_members_count
556 (of-object "EmpathyChat")
557 (c-name "empathy_chat_get_members_count")
558 (return-type "guint")
561 (define-method get_contact_menu
562 (of-object "EmpathyChat")
563 (c-name "empathy_chat_get_contact_menu")
564 (return-type "GtkWidget*")
568 (of-object "EmpathyChat")
569 (c-name "empathy_chat_clear")
573 (define-method scroll_down
574 (of-object "EmpathyChat")
575 (c-name "empathy_chat_scroll_down")
580 (of-object "EmpathyChat")
581 (c-name "empathy_chat_cut")
586 (of-object "EmpathyChat")
587 (c-name "empathy_chat_copy")
592 (of-object "EmpathyChat")
593 (c-name "empathy_chat_paste")
597 (define-method correct_word
598 (of-object "EmpathyChat")
599 (c-name "empathy_chat_correct_word")
602 '("GtkTextIter*" "start")
603 '("GtkTextIter*" "end")
604 '("const-gchar*" "new_word")
608 (define-method is_room
609 (of-object "EmpathyChat")
610 (c-name "empathy_chat_is_room")
611 (return-type "gboolean")
616 ;; From empathy-chat-text-view.h
618 (define-function chat_text_view_get_type
619 (c-name "empathy_chat_text_view_get_type")
620 (return-type "GType")
623 (define-method get_last_contact
624 (of-object "EmpathyChatTextView")
625 (c-name "empathy_chat_text_view_get_last_contact")
626 (return-type "EmpathyContact*")
629 (define-method set_only_if_date
630 (of-object "EmpathyChatTextView")
631 (c-name "empathy_chat_text_view_set_only_if_date")
634 '("gboolean" "only_if_date")
638 (define-method append_body
639 (of-object "EmpathyChatTextView")
640 (c-name "empathy_chat_text_view_append_body")
643 '("const-gchar*" "body")
644 '("const-gchar*" "tag")
648 (define-method append_spacing
649 (of-object "EmpathyChatTextView")
650 (c-name "empathy_chat_text_view_append_spacing")
654 (define-method tag_set
655 (of-object "EmpathyChatTextView")
656 (c-name "empathy_chat_text_view_tag_set")
657 (return-type "GtkTextTag*")
659 '("const-gchar*" "tag_name")
660 '("const-gchar*" "first_property_name")
667 ;; From empathy-chat-view.h
669 (define-function chat_view_get_type
670 (c-name "empathy_chat_view_get_type")
671 (return-type "GType")
674 (define-method append_message
675 (of-object "EmpathyChatView")
676 (c-name "empathy_chat_view_append_message")
679 '("EmpathyMessage*" "msg")
683 (define-method append_event
684 (of-object "EmpathyChatView")
685 (c-name "empathy_chat_view_append_event")
688 '("const-gchar*" "str")
692 (define-method scroll
693 (of-object "EmpathyChatView")
694 (c-name "empathy_chat_view_scroll")
697 '("gboolean" "allow_scrolling")
701 (define-method scroll_down
702 (of-object "EmpathyChatView")
703 (c-name "empathy_chat_view_scroll_down")
707 (define-method get_has_selection
708 (of-object "EmpathyChatView")
709 (c-name "empathy_chat_view_get_has_selection")
710 (return-type "gboolean")
714 (of-object "EmpathyChatView")
715 (c-name "empathy_chat_view_clear")
719 (define-method find_previous
720 (of-object "EmpathyChatView")
721 (c-name "empathy_chat_view_find_previous")
722 (return-type "gboolean")
724 '("const-gchar*" "search_criteria")
725 '("gboolean" "new_search")
729 (define-method find_next
730 (of-object "EmpathyChatView")
731 (c-name "empathy_chat_view_find_next")
732 (return-type "gboolean")
734 '("const-gchar*" "search_criteria")
735 '("gboolean" "new_search")
739 (define-method find_abilities
740 (of-object "EmpathyChatView")
741 (c-name "empathy_chat_view_find_abilities")
744 '("const-gchar*" "search_criteria")
745 '("gboolean*" "can_do_previous")
746 '("gboolean*" "can_do_next")
750 (define-method highlight
751 (of-object "EmpathyChatView")
752 (c-name "empathy_chat_view_highlight")
755 '("const-gchar*" "text")
759 (define-method copy_clipboard
760 (of-object "EmpathyChatView")
761 (c-name "empathy_chat_view_copy_clipboard")
767 ;; From empathy-conf.h
769 (define-function conf_get_type
770 (c-name "empathy_conf_get_type")
771 (return-type "GType")
774 (define-function conf_get
775 (c-name "empathy_conf_get")
776 (return-type "EmpathyConf*")
779 (define-function conf_shutdown
780 (c-name "empathy_conf_shutdown")
784 (define-method notify_add
785 (of-object "EmpathyConf")
786 (c-name "empathy_conf_notify_add")
787 (return-type "guint")
789 '("const-gchar*" "key")
790 '("EmpathyConfNotifyFunc" "func")
795 (define-method notify_remove
796 (of-object "EmpathyConf")
797 (c-name "empathy_conf_notify_remove")
798 (return-type "gboolean")
804 (define-method set_int
805 (of-object "EmpathyConf")
806 (c-name "empathy_conf_set_int")
807 (return-type "gboolean")
809 '("const-gchar*" "key")
814 (define-method get_int
815 (of-object "EmpathyConf")
816 (c-name "empathy_conf_get_int")
817 (return-type "gboolean")
819 '("const-gchar*" "key")
824 (define-method set_bool
825 (of-object "EmpathyConf")
826 (c-name "empathy_conf_set_bool")
827 (return-type "gboolean")
829 '("const-gchar*" "key")
830 '("gboolean" "value")
834 (define-method get_bool
835 (of-object "EmpathyConf")
836 (c-name "empathy_conf_get_bool")
837 (return-type "gboolean")
839 '("const-gchar*" "key")
840 '("gboolean*" "value")
844 (define-method set_string
845 (of-object "EmpathyConf")
846 (c-name "empathy_conf_set_string")
847 (return-type "gboolean")
849 '("const-gchar*" "key")
850 '("const-gchar*" "value")
854 (define-method get_string
855 (of-object "EmpathyConf")
856 (c-name "empathy_conf_get_string")
857 (return-type "gboolean")
859 '("const-gchar*" "key")
864 (define-method set_string_list
865 (of-object "EmpathyConf")
866 (c-name "empathy_conf_set_string_list")
867 (return-type "gboolean")
869 '("const-gchar*" "key")
874 (define-method get_string_list
875 (of-object "EmpathyConf")
876 (c-name "empathy_conf_get_string_list")
877 (return-type "gboolean")
879 '("const-gchar*" "key")
880 '("GSList**" "value")
886 ;; From empathy-contact-dialogs.h
888 (define-function subscription_dialog_show
889 (c-name "empathy_subscription_dialog_show")
892 '("EmpathyContact*" "contact")
893 '("GtkWindow*" "parent")
897 (define-method information_dialog_show
898 (of-object "EmpathyContact")
899 (c-name "empathy_contact_information_dialog_show")
902 '("GtkWindow*" "parent")
904 '("gboolean" "is_user")
908 (define-function new_contact_dialog_show
909 (c-name "empathy_new_contact_dialog_show")
912 '("GtkWindow*" "parent")
918 ;; From empathy-contact-list-store.h
920 (define-function contact_list_store_get_type
921 (c-name "empathy_contact_list_store_get_type")
922 (return-type "GType")
925 (define-function empathy_contact_list_store_new
926 (is-constructor-of "EmpathyContactListStore")
927 (c-name "empathy_contact_list_store_new")
928 (return-type "EmpathyContactListStore*")
930 '("EmpathyContactList*" "list_iface")
934 (define-method get_list_iface
935 (of-object "EmpathyContactListStore")
936 (c-name "empathy_contact_list_store_get_list_iface")
937 (return-type "EmpathyContactList*")
940 (define-method get_show_offline
941 (of-object "EmpathyContactListStore")
942 (c-name "empathy_contact_list_store_get_show_offline")
943 (return-type "gboolean")
946 (define-method set_show_offline
947 (of-object "EmpathyContactListStore")
948 (c-name "empathy_contact_list_store_set_show_offline")
951 '("gboolean" "show_offline")
955 (define-method get_show_avatars
956 (of-object "EmpathyContactListStore")
957 (c-name "empathy_contact_list_store_get_show_avatars")
958 (return-type "gboolean")
961 (define-method set_show_avatars
962 (of-object "EmpathyContactListStore")
963 (c-name "empathy_contact_list_store_set_show_avatars")
966 '("gboolean" "show_avatars")
970 (define-method get_show_groups
971 (of-object "EmpathyContactListStore")
972 (c-name "empathy_contact_list_store_get_show_groups")
973 (return-type "gboolean")
976 (define-method set_show_groups
977 (of-object "EmpathyContactListStore")
978 (c-name "empathy_contact_list_store_set_show_groups")
981 '("gboolean" "show_groups")
985 (define-method get_is_compact
986 (of-object "EmpathyContactListStore")
987 (c-name "empathy_contact_list_store_get_is_compact")
988 (return-type "gboolean")
991 (define-method set_is_compact
992 (of-object "EmpathyContactListStore")
993 (c-name "empathy_contact_list_store_set_is_compact")
996 '("gboolean" "is_compact")
1000 (define-method get_sort_criterium
1001 (of-object "EmpathyContactListStore")
1002 (c-name "empathy_contact_list_store_get_sort_criterium")
1003 (return-type "EmpathyContactListStoreSort")
1006 (define-method set_sort_criterium
1007 (of-object "EmpathyContactListStore")
1008 (c-name "empathy_contact_list_store_set_sort_criterium")
1009 (return-type "none")
1011 '("EmpathyContactListStoreSort" "sort_criterium")
1015 (define-function contact_list_store_row_separator_func
1016 (c-name "empathy_contact_list_store_row_separator_func")
1017 (return-type "gboolean")
1019 '("GtkTreeModel*" "model")
1020 '("GtkTreeIter*" "iter")
1021 '("gpointer" "data")
1025 (define-function contact_list_store_get_parent_group
1026 (c-name "empathy_contact_list_store_get_parent_group")
1027 (return-type "gchar*")
1029 '("GtkTreeModel*" "model")
1030 '("GtkTreePath*" "path")
1031 '("gboolean*" "path_is_group")
1035 (define-function contact_list_store_search_equal_func
1036 (c-name "empathy_contact_list_store_search_equal_func")
1037 (return-type "gboolean")
1039 '("GtkTreeModel*" "model")
1041 '("const-gchar*" "key")
1042 '("GtkTreeIter*" "iter")
1043 '("gpointer" "search_data")
1049 ;; From empathy-contact-list-view.h
1051 (define-function contact_list_view_get_type
1052 (c-name "empathy_contact_list_view_get_type")
1053 (return-type "GType")
1056 (define-function contact_list_view_new
1057 (c-name "empathy_contact_list_view_new")
1058 (is-constructor-of "EmpathyContactListView")
1059 (return-type "EmpathyContactListView*")
1061 '("EmpathyContactListStore*" "store")
1062 '("EmpathyContactListFeatureFlags" "list_features")
1063 '("EmpathyContactFeatureFlags" "contact_features")
1067 (define-method get_selected
1068 (of-object "EmpathyContactListView")
1069 (c-name "empathy_contact_list_view_get_selected")
1070 (return-type "EmpathyContact*")
1073 (define-method get_selected_group
1074 (of-object "EmpathyContactListView")
1075 (c-name "empathy_contact_list_view_get_selected_group")
1076 (return-type "gchar*")
1079 (define-method get_contact_menu
1080 (of-object "EmpathyContactListView")
1081 (c-name "empathy_contact_list_view_get_contact_menu")
1082 (return-type "GtkWidget*")
1085 (define-method get_group_menu
1086 (of-object "EmpathyContactListView")
1087 (c-name "empathy_contact_list_view_get_group_menu")
1088 (return-type "GtkWidget*")
1093 ;; From empathy-contact-menu.h
1095 (define-method menu_new
1096 (of-object "EmpathyContact")
1097 (c-name "empathy_contact_menu_new")
1098 (return-type "GtkWidget*")
1100 '("EmpathyContactFeatureFlags" "features")
1104 (define-method chat_menu_item_new
1105 (of-object "EmpathyContact")
1106 (c-name "empathy_contact_chat_menu_item_new")
1107 (return-type "GtkWidget*")
1110 (define-method call_menu_item_new
1111 (of-object "EmpathyContact")
1112 (c-name "empathy_contact_call_menu_item_new")
1113 (return-type "GtkWidget*")
1116 (define-method log_menu_item_new
1117 (of-object "EmpathyContact")
1118 (c-name "empathy_contact_log_menu_item_new")
1119 (return-type "GtkWidget*")
1122 (define-method info_menu_item_new
1123 (of-object "EmpathyContact")
1124 (c-name "empathy_contact_info_menu_item_new")
1125 (return-type "GtkWidget*")
1128 (define-method edit_menu_item_new
1129 (of-object "EmpathyContact")
1130 (c-name "empathy_contact_edit_menu_item_new")
1131 (return-type "GtkWidget*")
1134 (define-method invite_menu_item_new
1135 (of-object "EmpathyContact")
1136 (c-name "empathy_contact_invite_menu_item_new")
1137 (return-type "GtkWidget*")
1140 (define-method file_transfer_menu_item_new
1141 (of-object "EmpathyContact")
1142 (c-name "empathy_contact_file_transfer_menu_item_new")
1143 (return-type "GtkWidget*")
1148 ;; From empathy-contact-widget.h
1150 (define-method widget_new
1151 (of-object "EmpathyContact")
1152 (c-name "empathy_contact_widget_new")
1153 (return-type "GtkWidget*")
1155 '("EmpathyContactWidgetFlags" "flags")
1159 (define-function contact_widget_get_contact
1160 (c-name "empathy_contact_widget_get_contact")
1161 (return-type "EmpathyContact*")
1163 '("GtkWidget*" "widget")
1167 (define-function contact_widget_set_contact
1168 (c-name "empathy_contact_widget_set_contact")
1169 (return-type "none")
1171 '("GtkWidget*" "widget")
1172 '("EmpathyContact*" "contact")
1176 (define-function contact_widget_set_account_filter
1177 (c-name "empathy_contact_widget_set_account_filter")
1178 (return-type "none")
1180 '("GtkWidget*" "widget")
1181 '("EmpathyAccountChooserFilterFunc" "filter")
1182 '("gpointer" "user_data")
1188 ;; From empathy-geometry.h
1190 (define-function geometry_save
1191 (c-name "empathy_geometry_save")
1192 (return-type "none")
1194 '("const-gchar*" "name")
1202 (define-function geometry_load
1203 (c-name "empathy_geometry_load")
1204 (return-type "none")
1206 '("const-gchar*" "name")
1216 ;; From empathy-images.h
1220 ;; From empathy-irc-network-dialog.h
1222 (define-method dialog_show
1223 (of-object "EmpathyIrcNetwork")
1224 (c-name "empathy_irc_network_dialog_show")
1225 (return-type "GtkWidget*")
1227 '("GtkWidget*" "parent")
1233 ;; From empathy-log-window.h
1235 (define-function log_window_show
1236 (c-name "empathy_log_window_show")
1237 (return-type "GtkWidget*")
1239 '("McAccount*" "account")
1240 '("const-gchar*" "chat_id")
1241 '("gboolean" "chatroom")
1242 '("GtkWindow*" "parent")
1248 ;; From empathy-new-message-dialog.h
1250 (define-function new_message_dialog_show
1251 (c-name "empathy_new_message_dialog_show")
1252 (return-type "GtkWidget*")
1254 '("GtkWindow*" "parent")
1260 ;; From empathy-presence-chooser.h
1262 (define-function presence_chooser_get_type
1263 (c-name "empathy_presence_chooser_get_type")
1264 (return-type "GType")
1267 (define-function presence_chooser_new
1268 (c-name "empathy_presence_chooser_new")
1269 (is-constructor-of "EmpathyPresenceChooser")
1270 (return-type "GtkWidget*")
1273 (define-function presence_chooser_create_menu
1274 (c-name "empathy_presence_chooser_create_menu")
1275 (return-type "GtkWidget*")
1280 ;; From empathy-profile-chooser.h
1282 (define-function profile_chooser_new
1283 (c-name "empathy_profile_chooser_new")
1284 (is-constructor-of "EmpathyProfileChooser")
1285 (return-type "GtkWidget*")
1288 (define-function profile_chooser_get_selected
1289 (c-name "empathy_profile_chooser_get_selected")
1290 (return-type "McProfile*")
1292 '("GtkWidget*" "widget")
1296 (define-function profile_chooser_n_profiles
1297 (c-name "empathy_profile_chooser_n_profiles")
1298 (return-type "gint")
1300 '("GtkWidget*" "widget")
1306 ;; From empathy-smiley-manager.h
1308 (define-function smiley_manager_get_type
1309 (c-name "empathy_smiley_manager_get_type")
1310 (return-type "GType")
1313 (define-function smiley_manager_new
1314 (c-name "empathy_smiley_manager_new")
1315 (is-constructor-of "EmpathySmileyManager")
1316 (return-type "EmpathySmileyManager*")
1320 (of-object "EmpathySmileyManager")
1321 (c-name "empathy_smiley_manager_load")
1322 (return-type "none")
1326 (of-object "EmpathySmileyManager")
1327 (c-name "empathy_smiley_manager_add")
1328 (return-type "none")
1330 '("const-gchar*" "icon_name")
1331 '("const-gchar*" "first_str")
1336 (define-method add_from_pixbuf
1337 (of-object "EmpathySmileyManager")
1338 (c-name "empathy_smiley_manager_add_from_pixbuf")
1339 (return-type "none")
1341 '("GdkPixbuf*" "smiley")
1342 '("const-gchar*" "first_str")
1347 (define-method get_all
1348 (of-object "EmpathySmileyManager")
1349 (c-name "empathy_smiley_manager_get_all")
1350 (return-type "GSList*")
1353 (define-method parse
1354 (of-object "EmpathySmileyManager")
1355 (c-name "empathy_smiley_manager_parse")
1356 (return-type "GSList*")
1358 '("const-gchar*" "text")
1362 (define-function smiley_menu_new
1363 (c-name "empathy_smiley_menu_new")
1364 (is-constructor-of "EmpathySmileyMenu")
1365 (return-type "GtkWidget*")
1367 '("EmpathySmileyManager*" "manager")
1368 '("EmpathySmileyMenuFunc" "func")
1369 '("gpointer" "user_data")
1374 (of-object "EmpathySmiley")
1375 (c-name "empathy_smiley_free")
1376 (return-type "none")
1381 ;; From empathy-spell.h
1383 (define-function spell_supported
1384 (c-name "empathy_spell_supported")
1385 (return-type "gboolean")
1388 (define-function spell_get_language_name
1389 (c-name "empathy_spell_get_language_name")
1390 (return-type "const-gchar*")
1392 '("const-gchar*" "code")
1396 (define-function spell_get_language_codes
1397 (c-name "empathy_spell_get_language_codes")
1398 (return-type "GList*")
1401 (define-function spell_free_language_codes
1402 (c-name "empathy_spell_free_language_codes")
1403 (return-type "none")
1409 (define-function spell_check
1410 (c-name "empathy_spell_check")
1411 (return-type "gboolean")
1413 '("const-gchar*" "word")
1417 (define-function spell_get_suggestions
1418 (c-name "empathy_spell_get_suggestions")
1419 (return-type "GList*")
1421 '("const-gchar*" "word")
1425 (define-function spell_free_suggestions
1426 (c-name "empathy_spell_free_suggestions")
1427 (return-type "none")
1429 '("GList*" "suggestions")
1435 ;; From empathy-spell-dialog.h
1437 (define-function spell_dialog_show
1438 (c-name "empathy_spell_dialog_show")
1439 (return-type "none")
1441 '("EmpathyChat*" "chat")
1442 '("GtkTextIter*" "start")
1443 '("GtkTextIter*" "end")
1444 '("const-gchar*" "word")
1450 ;; From empathy-theme-boxes.h
1452 (define-function theme_boxes_get_type
1453 (c-name "empathy_theme_boxes_get_type")
1454 (return-type "GType")
1457 (define-function theme_boxes_new
1458 (c-name "empathy_theme_boxes_new")
1459 (is-constructor-of "EmpathyThemeBoxes")
1460 (return-type "EmpathyThemeBoxes*")
1465 ;; From empathy-theme-irc.h
1467 (define-function theme_irc_get_type
1468 (c-name "empathy_theme_irc_get_type")
1469 (return-type "GType")
1472 (define-function theme_irc_new
1473 (c-name "empathy_theme_irc_new")
1474 (is-constructor-of "EmpathyThemeIrc")
1475 (return-type "EmpathyThemeIrc*")
1480 ;; From empathy-theme-manager.h
1482 (define-function theme_manager_get_type
1483 (c-name "empathy_theme_manager_get_type")
1484 (return-type "GType")
1487 (define-function theme_manager_get
1488 (c-name "empathy_theme_manager_get")
1489 (return-type "EmpathyThemeManager*")
1492 (define-function theme_manager_get_themes
1493 (c-name "empathy_theme_manager_get_themes")
1494 (return-type "const-gchar**")
1497 (define-method create_view
1498 (of-object "EmpathyThemeManager")
1499 (c-name "empathy_theme_manager_create_view")
1500 (return-type "EmpathyChatView*")
1505 ;; From empathy-ui-utils.h
1507 (define-function glade_get_file_simple
1508 (c-name "empathy_glade_get_file_simple")
1509 (return-type "none")
1511 '("const-gchar*" "filename")
1512 '("const-gchar*" "root")
1513 '("const-gchar*" "domain")
1514 '("const-gchar*" "first_required_widget")
1519 (define-function glade_get_file
1520 (c-name "empathy_glade_get_file")
1521 (return-type "GladeXML*")
1523 '("const-gchar*" "filename")
1524 '("const-gchar*" "root")
1525 '("const-gchar*" "domain")
1526 '("const-gchar*" "first_required_widget")
1531 (define-function glade_connect
1532 (c-name "empathy_glade_connect")
1533 (return-type "none")
1535 '("GladeXML*" "gui")
1536 '("gpointer" "user_data")
1537 '("gchar*" "first_widget")
1542 (define-function glade_setup_size_group
1543 (c-name "empathy_glade_setup_size_group")
1544 (return-type "none")
1546 '("GladeXML*" "gui")
1547 '("GtkSizeGroupMode" "mode")
1548 '("gchar*" "first_widget")
1553 (define-function icon_name_from_account
1554 (c-name "empathy_icon_name_from_account")
1555 (return-type "const-gchar*")
1557 '("McAccount*" "account")
1561 (define-function icon_name_for_presence
1562 (c-name "empathy_icon_name_for_presence")
1563 (return-type "const-gchar*")
1565 '("McPresence" "presence")
1569 (define-function icon_name_for_contact
1570 (c-name "empathy_icon_name_for_contact")
1571 (return-type "const-gchar*")
1573 '("EmpathyContact*" "contact")
1577 (define-function pixbuf_from_data
1578 (c-name "empathy_pixbuf_from_data")
1579 (return-type "GdkPixbuf*")
1582 '("gsize" "data_size")
1586 (define-function pixbuf_from_data_and_mime
1587 (c-name "empathy_pixbuf_from_data_and_mime")
1588 (return-type "GdkPixbuf*")
1591 '("gsize" "data_size")
1592 '("gchar**" "mime_type")
1596 (define-function pixbuf_from_avatar_scaled
1597 (c-name "empathy_pixbuf_from_avatar_scaled")
1598 (return-type "GdkPixbuf*")
1600 '("EmpathyAvatar*" "avatar")
1606 (define-function pixbuf_avatar_from_contact_scaled
1607 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1608 (return-type "GdkPixbuf*")
1610 '("EmpathyContact*" "contact")
1616 (define-function pixbuf_scale_down_if_necessary
1617 (c-name "empathy_pixbuf_scale_down_if_necessary")
1618 (return-type "GdkPixbuf*")
1620 '("GdkPixbuf*" "pixbuf")
1621 '("gint" "max_size")
1625 (define-function pixbuf_from_icon_name
1626 (c-name "empathy_pixbuf_from_icon_name")
1627 (return-type "GdkPixbuf*")
1629 '("const-gchar*" "icon_name")
1630 '("GtkIconSize" "icon_size")
1634 (define-function text_iter_forward_search
1635 (c-name "empathy_text_iter_forward_search")
1636 (return-type "gboolean")
1638 '("const-GtkTextIter*" "iter")
1639 '("const-gchar*" "str")
1640 '("GtkTextIter*" "match_start")
1641 '("GtkTextIter*" "match_end")
1642 '("const-GtkTextIter*" "limit")
1646 (define-function text_iter_backward_search
1647 (c-name "empathy_text_iter_backward_search")
1648 (return-type "gboolean")
1650 '("const-GtkTextIter*" "iter")
1651 '("const-gchar*" "str")
1652 '("GtkTextIter*" "match_start")
1653 '("GtkTextIter*" "match_end")
1654 '("const-GtkTextIter*" "limit")
1658 (define-function window_get_is_visible
1659 (c-name "empathy_window_get_is_visible")
1660 (return-type "gboolean")
1662 '("GtkWindow*" "window")
1666 (define-function window_present
1667 (c-name "empathy_window_present")
1668 (return-type "none")
1670 '("GtkWindow*" "window")
1671 '("gboolean" "steal_focus")
1675 (define-function window_iconify
1676 (c-name "empathy_window_iconify")
1677 (return-type "none")
1679 '("GtkWindow*" "window")
1680 '("GtkStatusIcon*" "status_icon")
1684 (define-function get_toplevel_window
1685 (c-name "empathy_get_toplevel_window")
1686 (return-type "GtkWindow*")
1688 '("GtkWidget*" "widget")
1692 (define-function url_show
1693 (c-name "empathy_url_show")
1694 (return-type "none")
1696 '("GtkWidget*" "parent")
1697 '("const-char*" "url")
1701 (define-function toggle_button_set_state_quietly
1702 (c-name "empathy_toggle_button_set_state_quietly")
1703 (return-type "none")
1705 '("GtkWidget*" "widget")
1706 '("GCallback" "callback")
1707 '("gpointer" "user_data")
1708 '("gboolean" "active")
1712 (define-function link_button_new
1713 (c-name "empathy_link_button_new")
1714 (is-constructor-of "EmpathyLinkButton")
1715 (return-type "GtkWidget*")
1717 '("const-gchar*" "url")
1718 '("const-gchar*" "title")
1722 (define-function send_file_with_file_chooser
1723 (c-name "empathy_send_file_with_file_chooser")
1724 (return-type "none")
1726 '("EmpathyContact*" "contact")