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 ContactFeatureFlags
173 (in-module "Empathy")
174 (c-name "EmpathyContactFeatureFlags")
175 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
177 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
178 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
179 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
180 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
181 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
182 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
183 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
187 (define-flags ContactWidgetFlags
188 (in-module "Empathy")
189 (c-name "EmpathyContactWidgetFlags")
190 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
192 '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
193 '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
194 '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
195 '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
196 '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
197 '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
198 '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
203 ;; From empathy-account-chooser.h
205 (define-function account_chooser_get_type
206 (c-name "empathy_account_chooser_get_type")
207 (return-type "GType")
210 (define-function account_chooser_new
211 (c-name "empathy_account_chooser_new")
212 (is-constructor-of "EmpathyAccountChooser")
213 (return-type "GtkWidget*")
216 (define-method get_account
217 (of-object "EmpathyAccountChooser")
218 (c-name "empathy_account_chooser_get_account")
219 (return-type "McAccount*")
222 (define-method set_account
223 (of-object "EmpathyAccountChooser")
224 (c-name "empathy_account_chooser_set_account")
225 (return-type "gboolean")
227 '("McAccount*" "account")
231 (define-method get_has_all_option
232 (of-object "EmpathyAccountChooser")
233 (c-name "empathy_account_chooser_get_has_all_option")
234 (return-type "gboolean")
237 (define-method set_has_all_option
238 (of-object "EmpathyAccountChooser")
239 (c-name "empathy_account_chooser_set_has_all_option")
242 '("gboolean" "has_all_option")
246 (define-method set_filter
247 (of-object "EmpathyAccountChooser")
248 (c-name "empathy_account_chooser_set_filter")
251 '("EmpathyAccountChooserFilterFunc" "filter")
252 '("gpointer" "user_data")
256 (define-function account_chooser_filter_is_connected
257 (c-name "empathy_account_chooser_filter_is_connected")
258 (return-type "gboolean")
260 '("McAccount*" "account")
261 '("gpointer" "user_data")
267 ;; From empathy-account-widget.h
269 (define-function account_widget_handle_params
270 (c-name "empathy_account_widget_handle_params")
273 '("McAccount*" "account")
274 '("GladeXML*" "glade")
275 '("const-gchar*" "first_widget_name")
280 (define-function account_widget_add_forget_button
281 (c-name "empathy_account_widget_add_forget_button")
284 '("McAccount*" "account")
285 '("GladeXML*" "glade")
286 '("const-gchar*" "button")
287 '("const-gchar*" "entry")
291 (define-function account_widget_generic_new
292 (c-name "empathy_account_widget_generic_new")
293 (is-constructor-of "EmpathyAccountWidgetGeneric")
294 (return-type "GtkWidget*")
296 '("McAccount*" "account")
300 (define-function account_widget_salut_new
301 (c-name "empathy_account_widget_salut_new")
302 (is-constructor-of "EmpathyAccountWidgetSalut")
303 (return-type "GtkWidget*")
305 '("McAccount*" "account")
309 (define-function account_widget_msn_new
310 (c-name "empathy_account_widget_msn_new")
311 (is-constructor-of "EmpathyAccountWidgetMsn")
312 (return-type "GtkWidget*")
314 '("McAccount*" "account")
318 (define-function account_widget_jabber_new
319 (c-name "empathy_account_widget_jabber_new")
320 (is-constructor-of "EmpathyAccountWidgetJabber")
321 (return-type "GtkWidget*")
323 '("McAccount*" "account")
327 (define-function account_widget_icq_new
328 (c-name "empathy_account_widget_icq_new")
329 (is-constructor-of "EmpathyAccountWidgetIcq")
330 (return-type "GtkWidget*")
332 '("McAccount*" "account")
336 (define-function account_widget_aim_new
337 (c-name "empathy_account_widget_aim_new")
338 (is-constructor-of "EmpathyAccountWidgetAim")
339 (return-type "GtkWidget*")
341 '("McAccount*" "account")
345 (define-function account_widget_yahoo_new
346 (c-name "empathy_account_widget_yahoo_new")
347 (is-constructor-of "EmpathyAccountWidgetYahoo")
348 (return-type "GtkWidget*")
350 '("McAccount*" "account")
354 (define-function account_widget_groupwise_new
355 (c-name "empathy_account_widget_groupwise_new")
356 (is-constructor-of "EmpathyAccountWidgetGroupwise")
357 (return-type "GtkWidget*")
359 '("McAccount*" "account")
365 ;; From empathy-account-widget-irc.h
367 (define-function account_widget_irc_new
368 (c-name "empathy_account_widget_irc_new")
369 (is-constructor-of "EmpathyAccountWidgetIrc")
370 (return-type "GtkWidget*")
372 '("McAccount*" "account")
378 ;; From empathy-account-widget-sip.h
380 (define-function account_widget_sip_new
381 (c-name "empathy_account_widget_sip_new")
382 (is-constructor-of "EmpathyAccountWidgetSip")
383 (return-type "GtkWidget*")
385 '("McAccount*" "account")
391 ;; From empathy-avatar-chooser.h
393 (define-function avatar_chooser_get_type
394 (c-name "empathy_avatar_chooser_get_type")
395 (return-type "GType")
398 (define-function avatar_chooser_new
399 (c-name "empathy_avatar_chooser_new")
400 (is-constructor-of "EmpathyAvatarChooser")
401 (return-type "GtkWidget*")
405 (of-object "EmpathyAvatarChooser")
406 (c-name "empathy_avatar_chooser_set")
409 '("EmpathyAvatar*" "avatar")
413 (define-method get_image_data
414 (of-object "EmpathyAvatarChooser")
415 (c-name "empathy_avatar_chooser_get_image_data")
418 '("const-gchar**" "data")
419 '("gsize*" "data_size")
420 '("const-gchar**" "mime_type")
426 ;; From empathy-avatar-image.h
428 (define-function avatar_image_get_type
429 (c-name "empathy_avatar_image_get_type")
430 (return-type "GType")
433 (define-function avatar_image_new
434 (c-name "empathy_avatar_image_new")
435 (is-constructor-of "EmpathyAvatarImage")
436 (return-type "GtkWidget*")
440 (of-object "EmpathyAvatarImage")
441 (c-name "empathy_avatar_image_set")
444 '("EmpathyAvatar*" "avatar")
450 ;; From empathy-cell-renderer-activatable.h
452 (define-function cell_renderer_activatable_get_type
453 (c-name "empathy_cell_renderer_activatable_get_type")
454 (return-type "GType")
457 (define-function cell_renderer_activatable_new
458 (c-name "empathy_cell_renderer_activatable_new")
459 (is-constructor-of "EmpathyCellRendererActivatable")
460 (return-type "GtkCellRenderer*")
465 ;; From empathy-cell-renderer-expander.h
467 (define-function cell_renderer_expander_get_type
468 (c-name "empathy_cell_renderer_expander_get_type")
469 (return-type "GType")
472 (define-function cell_renderer_expander_new
473 (c-name "empathy_cell_renderer_expander_new")
474 (is-constructor-of "EmpathyCellRendererExpander")
475 (return-type "GtkCellRenderer*")
480 ;; From empathy-cell-renderer-text.h
482 (define-function cell_renderer_text_get_type
483 (c-name "empathy_cell_renderer_text_get_type")
484 (return-type "GType")
487 (define-function cell_renderer_text_new
488 (c-name "empathy_cell_renderer_text_new")
489 (is-constructor-of "EmpathyCellRendererText")
490 (return-type "GtkCellRenderer*")
495 ;; From empathy-chat.h
497 (define-function chat_get_type
498 (c-name "empathy_chat_get_type")
499 (return-type "GType")
502 (define-function chat_new
503 (c-name "empathy_chat_new")
504 (is-constructor-of "EmpathyChat")
505 (return-type "EmpathyChat*")
507 '("EmpathyTpChat*" "tp_chat")
511 (define-method get_tp_chat
512 (of-object "EmpathyChat")
513 (c-name "empathy_chat_get_tp_chat")
514 (return-type "EmpathyTpChat*")
517 (define-method set_tp_chat
518 (of-object "EmpathyChat")
519 (c-name "empathy_chat_set_tp_chat")
522 '("EmpathyTpChat*" "tp_chat")
526 (define-method get_account
527 (of-object "EmpathyChat")
528 (c-name "empathy_chat_get_account")
529 (return-type "McAccount*")
532 (define-method get_id
533 (of-object "EmpathyChat")
534 (c-name "empathy_chat_get_id")
535 (return-type "const-gchar*")
538 (define-method get_name
539 (of-object "EmpathyChat")
540 (c-name "empathy_chat_get_name")
541 (return-type "const-gchar*")
544 (define-method get_subject
545 (of-object "EmpathyChat")
546 (c-name "empathy_chat_get_subject")
547 (return-type "const-gchar*")
550 (define-method get_remote_contact
551 (of-object "EmpathyChat")
552 (c-name "empathy_chat_get_remote_contact")
553 (return-type "EmpathyContact*")
556 (define-method get_members_count
557 (of-object "EmpathyChat")
558 (c-name "empathy_chat_get_members_count")
559 (return-type "guint")
562 (define-method get_contact_menu
563 (of-object "EmpathyChat")
564 (c-name "empathy_chat_get_contact_menu")
565 (return-type "GtkWidget*")
569 (of-object "EmpathyChat")
570 (c-name "empathy_chat_clear")
574 (define-method scroll_down
575 (of-object "EmpathyChat")
576 (c-name "empathy_chat_scroll_down")
581 (of-object "EmpathyChat")
582 (c-name "empathy_chat_cut")
587 (of-object "EmpathyChat")
588 (c-name "empathy_chat_copy")
593 (of-object "EmpathyChat")
594 (c-name "empathy_chat_paste")
598 (define-method correct_word
599 (of-object "EmpathyChat")
600 (c-name "empathy_chat_correct_word")
603 '("GtkTextIter*" "start")
604 '("GtkTextIter*" "end")
605 '("const-gchar*" "new_word")
609 (define-method is_room
610 (of-object "EmpathyChat")
611 (c-name "empathy_chat_is_room")
612 (return-type "gboolean")
617 ;; From empathy-chat-view.h
619 (define-function chat_view_get_type
620 (c-name "empathy_chat_view_get_type")
621 (return-type "GType")
624 (define-function chat_view_new
625 (c-name "empathy_chat_view_new")
626 (is-constructor-of "EmpathyChatView")
627 (return-type "EmpathyChatView*")
630 (define-method append_message
631 (of-object "EmpathyChatView")
632 (c-name "empathy_chat_view_append_message")
635 '("EmpathyMessage*" "msg")
639 (define-method append_event
640 (of-object "EmpathyChatView")
641 (c-name "empathy_chat_view_append_event")
644 '("const-gchar*" "str")
648 (define-method append_button
649 (of-object "EmpathyChatView")
650 (c-name "empathy_chat_view_append_button")
653 '("const-gchar*" "message")
654 '("GtkWidget*" "button1")
655 '("GtkWidget*" "button2")
659 (define-method scroll
660 (of-object "EmpathyChatView")
661 (c-name "empathy_chat_view_scroll")
664 '("gboolean" "allow_scrolling")
668 (define-method scroll_down
669 (of-object "EmpathyChatView")
670 (c-name "empathy_chat_view_scroll_down")
674 (define-method get_selection_bounds
675 (of-object "EmpathyChatView")
676 (c-name "empathy_chat_view_get_selection_bounds")
677 (return-type "gboolean")
679 '("GtkTextIter*" "start")
680 '("GtkTextIter*" "end")
685 (of-object "EmpathyChatView")
686 (c-name "empathy_chat_view_clear")
690 (define-method find_previous
691 (of-object "EmpathyChatView")
692 (c-name "empathy_chat_view_find_previous")
693 (return-type "gboolean")
695 '("const-gchar*" "search_criteria")
696 '("gboolean" "new_search")
700 (define-method find_next
701 (of-object "EmpathyChatView")
702 (c-name "empathy_chat_view_find_next")
703 (return-type "gboolean")
705 '("const-gchar*" "search_criteria")
706 '("gboolean" "new_search")
710 (define-method find_abilities
711 (of-object "EmpathyChatView")
712 (c-name "empathy_chat_view_find_abilities")
715 '("const-gchar*" "search_criteria")
716 '("gboolean*" "can_do_previous")
717 '("gboolean*" "can_do_next")
721 (define-method highlight
722 (of-object "EmpathyChatView")
723 (c-name "empathy_chat_view_highlight")
726 '("const-gchar*" "text")
730 (define-method copy_clipboard
731 (of-object "EmpathyChatView")
732 (c-name "empathy_chat_view_copy_clipboard")
736 (define-method get_theme
737 (of-object "EmpathyChatView")
738 (c-name "empathy_chat_view_get_theme")
739 (return-type "EmpathyTheme*")
742 (define-method set_theme
743 (of-object "EmpathyChatView")
744 (c-name "empathy_chat_view_set_theme")
747 '("EmpathyTheme*" "theme")
751 (define-method set_margin
752 (of-object "EmpathyChatView")
753 (c-name "empathy_chat_view_set_margin")
760 (define-function chat_view_get_smiley_menu
761 (c-name "empathy_chat_view_get_smiley_menu")
762 (return-type "GtkWidget*")
764 '("GCallback" "callback")
765 '("gpointer" "user_data")
769 (define-method get_last_timestamp
770 (of-object "EmpathyChatView")
771 (c-name "empathy_chat_view_get_last_timestamp")
772 (return-type "time_t")
775 (define-method set_last_timestamp
776 (of-object "EmpathyChatView")
777 (c-name "empathy_chat_view_set_last_timestamp")
780 '("time_t" "timestamp")
784 (define-method get_last_contact
785 (of-object "EmpathyChatView")
786 (c-name "empathy_chat_view_get_last_contact")
787 (return-type "EmpathyContact*")
790 (define-function chat_view_get_avatar_pixbuf_with_cache
791 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
792 (return-type "GdkPixbuf*")
794 '("EmpathyContact*" "contact")
800 ;; From empathy-conf.h
802 (define-function conf_get_type
803 (c-name "empathy_conf_get_type")
804 (return-type "GType")
807 (define-function conf_get
808 (c-name "empathy_conf_get")
809 (return-type "EmpathyConf*")
812 (define-function conf_shutdown
813 (c-name "empathy_conf_shutdown")
817 (define-method notify_add
818 (of-object "EmpathyConf")
819 (c-name "empathy_conf_notify_add")
820 (return-type "guint")
822 '("const-gchar*" "key")
823 '("EmpathyConfNotifyFunc" "func")
828 (define-method notify_remove
829 (of-object "EmpathyConf")
830 (c-name "empathy_conf_notify_remove")
831 (return-type "gboolean")
837 (define-method set_int
838 (of-object "EmpathyConf")
839 (c-name "empathy_conf_set_int")
840 (return-type "gboolean")
842 '("const-gchar*" "key")
847 (define-method get_int
848 (of-object "EmpathyConf")
849 (c-name "empathy_conf_get_int")
850 (return-type "gboolean")
852 '("const-gchar*" "key")
857 (define-method set_bool
858 (of-object "EmpathyConf")
859 (c-name "empathy_conf_set_bool")
860 (return-type "gboolean")
862 '("const-gchar*" "key")
863 '("gboolean" "value")
867 (define-method get_bool
868 (of-object "EmpathyConf")
869 (c-name "empathy_conf_get_bool")
870 (return-type "gboolean")
872 '("const-gchar*" "key")
873 '("gboolean*" "value")
877 (define-method set_string
878 (of-object "EmpathyConf")
879 (c-name "empathy_conf_set_string")
880 (return-type "gboolean")
882 '("const-gchar*" "key")
883 '("const-gchar*" "value")
887 (define-method get_string
888 (of-object "EmpathyConf")
889 (c-name "empathy_conf_get_string")
890 (return-type "gboolean")
892 '("const-gchar*" "key")
897 (define-method set_string_list
898 (of-object "EmpathyConf")
899 (c-name "empathy_conf_set_string_list")
900 (return-type "gboolean")
902 '("const-gchar*" "key")
907 (define-method get_string_list
908 (of-object "EmpathyConf")
909 (c-name "empathy_conf_get_string_list")
910 (return-type "gboolean")
912 '("const-gchar*" "key")
913 '("GSList**" "value")
919 ;; From empathy-contact-dialogs.h
921 (define-function subscription_dialog_show
922 (c-name "empathy_subscription_dialog_show")
925 '("EmpathyContact*" "contact")
926 '("GtkWindow*" "parent")
930 (define-method information_dialog_show
931 (of-object "EmpathyContact")
932 (c-name "empathy_contact_information_dialog_show")
935 '("GtkWindow*" "parent")
937 '("gboolean" "is_user")
941 (define-function new_contact_dialog_show
942 (c-name "empathy_new_contact_dialog_show")
945 '("GtkWindow*" "parent")
951 ;; From empathy-contact-list-store.h
953 (define-function contact_list_store_get_type
954 (c-name "empathy_contact_list_store_get_type")
955 (return-type "GType")
958 (define-function empathy_contact_list_store_new
959 (is-constructor-of "EmpathyContactListStore")
960 (c-name "empathy_contact_list_store_new")
961 (return-type "EmpathyContactListStore*")
963 '("EmpathyContactList*" "list_iface")
967 (define-method get_list_iface
968 (of-object "EmpathyContactListStore")
969 (c-name "empathy_contact_list_store_get_list_iface")
970 (return-type "EmpathyContactList*")
973 (define-method get_show_offline
974 (of-object "EmpathyContactListStore")
975 (c-name "empathy_contact_list_store_get_show_offline")
976 (return-type "gboolean")
979 (define-method set_show_offline
980 (of-object "EmpathyContactListStore")
981 (c-name "empathy_contact_list_store_set_show_offline")
984 '("gboolean" "show_offline")
988 (define-method get_show_avatars
989 (of-object "EmpathyContactListStore")
990 (c-name "empathy_contact_list_store_get_show_avatars")
991 (return-type "gboolean")
994 (define-method set_show_avatars
995 (of-object "EmpathyContactListStore")
996 (c-name "empathy_contact_list_store_set_show_avatars")
999 '("gboolean" "show_avatars")
1003 (define-method get_show_groups
1004 (of-object "EmpathyContactListStore")
1005 (c-name "empathy_contact_list_store_get_show_groups")
1006 (return-type "gboolean")
1009 (define-method set_show_groups
1010 (of-object "EmpathyContactListStore")
1011 (c-name "empathy_contact_list_store_set_show_groups")
1012 (return-type "none")
1014 '("gboolean" "show_groups")
1018 (define-method get_is_compact
1019 (of-object "EmpathyContactListStore")
1020 (c-name "empathy_contact_list_store_get_is_compact")
1021 (return-type "gboolean")
1024 (define-method set_is_compact
1025 (of-object "EmpathyContactListStore")
1026 (c-name "empathy_contact_list_store_set_is_compact")
1027 (return-type "none")
1029 '("gboolean" "is_compact")
1033 (define-method get_sort_criterium
1034 (of-object "EmpathyContactListStore")
1035 (c-name "empathy_contact_list_store_get_sort_criterium")
1036 (return-type "EmpathyContactListStoreSort")
1039 (define-method set_sort_criterium
1040 (of-object "EmpathyContactListStore")
1041 (c-name "empathy_contact_list_store_set_sort_criterium")
1042 (return-type "none")
1044 '("EmpathyContactListStoreSort" "sort_criterium")
1048 (define-function contact_list_store_row_separator_func
1049 (c-name "empathy_contact_list_store_row_separator_func")
1050 (return-type "gboolean")
1052 '("GtkTreeModel*" "model")
1053 '("GtkTreeIter*" "iter")
1054 '("gpointer" "data")
1058 (define-function contact_list_store_get_parent_group
1059 (c-name "empathy_contact_list_store_get_parent_group")
1060 (return-type "gchar*")
1062 '("GtkTreeModel*" "model")
1063 '("GtkTreePath*" "path")
1064 '("gboolean*" "path_is_group")
1068 (define-function contact_list_store_search_equal_func
1069 (c-name "empathy_contact_list_store_search_equal_func")
1070 (return-type "gboolean")
1072 '("GtkTreeModel*" "model")
1074 '("const-gchar*" "key")
1075 '("GtkTreeIter*" "iter")
1076 '("gpointer" "search_data")
1082 ;; From empathy-contact-list-view.h
1084 (define-function contact_list_view_get_type
1085 (c-name "empathy_contact_list_view_get_type")
1086 (return-type "GType")
1089 (define-function contact_list_view_new
1090 (c-name "empathy_contact_list_view_new")
1091 (is-constructor-of "EmpathyContactListView")
1092 (return-type "EmpathyContactListView*")
1094 '("EmpathyContactListStore*" "store")
1095 '("EmpathyContactListFeatureFlags" "list_features")
1096 '("EmpathyContactFeatureFlags" "contact_features")
1100 (define-method get_selected
1101 (of-object "EmpathyContactListView")
1102 (c-name "empathy_contact_list_view_get_selected")
1103 (return-type "EmpathyContact*")
1106 (define-method get_selected_group
1107 (of-object "EmpathyContactListView")
1108 (c-name "empathy_contact_list_view_get_selected_group")
1109 (return-type "gchar*")
1112 (define-method get_contact_menu
1113 (of-object "EmpathyContactListView")
1114 (c-name "empathy_contact_list_view_get_contact_menu")
1115 (return-type "GtkWidget*")
1118 (define-method get_group_menu
1119 (of-object "EmpathyContactListView")
1120 (c-name "empathy_contact_list_view_get_group_menu")
1121 (return-type "GtkWidget*")
1126 ;; From empathy-contact-menu.h
1128 (define-method menu_new
1129 (of-object "EmpathyContact")
1130 (c-name "empathy_contact_menu_new")
1131 (return-type "GtkWidget*")
1133 '("EmpathyContactFeatureFlags" "features")
1137 (define-method chat_menu_item_new
1138 (of-object "EmpathyContact")
1139 (c-name "empathy_contact_chat_menu_item_new")
1140 (return-type "GtkWidget*")
1143 (define-method call_menu_item_new
1144 (of-object "EmpathyContact")
1145 (c-name "empathy_contact_call_menu_item_new")
1146 (return-type "GtkWidget*")
1149 (define-method log_menu_item_new
1150 (of-object "EmpathyContact")
1151 (c-name "empathy_contact_log_menu_item_new")
1152 (return-type "GtkWidget*")
1155 (define-method info_menu_item_new
1156 (of-object "EmpathyContact")
1157 (c-name "empathy_contact_info_menu_item_new")
1158 (return-type "GtkWidget*")
1161 (define-method edit_menu_item_new
1162 (of-object "EmpathyContact")
1163 (c-name "empathy_contact_edit_menu_item_new")
1164 (return-type "GtkWidget*")
1167 (define-method invite_menu_item_new
1168 (of-object "EmpathyContact")
1169 (c-name "empathy_contact_invite_menu_item_new")
1170 (return-type "GtkWidget*")
1173 (define-method file_transfer_menu_item_new
1174 (of-object "EmpathyContact")
1175 (c-name "empathy_contact_file_transfer_menu_item_new")
1176 (return-type "GtkWidget*")
1181 ;; From empathy-contact-widget.h
1183 (define-method widget_new
1184 (of-object "EmpathyContact")
1185 (c-name "empathy_contact_widget_new")
1186 (return-type "GtkWidget*")
1188 '("EmpathyContactWidgetFlags" "flags")
1192 (define-function contact_widget_get_contact
1193 (c-name "empathy_contact_widget_get_contact")
1194 (return-type "EmpathyContact*")
1196 '("GtkWidget*" "widget")
1200 (define-function contact_widget_set_contact
1201 (c-name "empathy_contact_widget_set_contact")
1202 (return-type "none")
1204 '("GtkWidget*" "widget")
1205 '("EmpathyContact*" "contact")
1209 (define-function contact_widget_set_account_filter
1210 (c-name "empathy_contact_widget_set_account_filter")
1211 (return-type "none")
1213 '("GtkWidget*" "widget")
1214 '("EmpathyAccountChooserFilterFunc" "filter")
1215 '("gpointer" "user_data")
1221 ;; From empathy-geometry.h
1223 (define-function geometry_save
1224 (c-name "empathy_geometry_save")
1225 (return-type "none")
1227 '("const-gchar*" "name")
1235 (define-function geometry_load
1236 (c-name "empathy_geometry_load")
1237 (return-type "none")
1239 '("const-gchar*" "name")
1249 ;; From empathy-images.h
1253 ;; From empathy-irc-network-dialog.h
1255 (define-method dialog_show
1256 (of-object "EmpathyIrcNetwork")
1257 (c-name "empathy_irc_network_dialog_show")
1258 (return-type "GtkWidget*")
1260 '("GtkWidget*" "parent")
1266 ;; From empathy-log-window.h
1268 (define-function log_window_show
1269 (c-name "empathy_log_window_show")
1270 (return-type "GtkWidget*")
1272 '("McAccount*" "account")
1273 '("const-gchar*" "chat_id")
1274 '("gboolean" "chatroom")
1275 '("GtkWindow*" "parent")
1281 ;; From empathy-new-message-dialog.h
1283 (define-function new_message_dialog_show
1284 (c-name "empathy_new_message_dialog_show")
1285 (return-type "GtkWidget*")
1287 '("GtkWindow*" "parent")
1293 ;; From empathy-presence-chooser.h
1295 (define-function presence_chooser_get_type
1296 (c-name "empathy_presence_chooser_get_type")
1297 (return-type "GType")
1300 (define-function presence_chooser_new
1301 (c-name "empathy_presence_chooser_new")
1302 (is-constructor-of "EmpathyPresenceChooser")
1303 (return-type "GtkWidget*")
1306 (define-function presence_chooser_create_menu
1307 (c-name "empathy_presence_chooser_create_menu")
1308 (return-type "GtkWidget*")
1313 ;; From empathy-profile-chooser.h
1315 (define-function profile_chooser_new
1316 (c-name "empathy_profile_chooser_new")
1317 (is-constructor-of "EmpathyProfileChooser")
1318 (return-type "GtkWidget*")
1321 (define-function profile_chooser_get_selected
1322 (c-name "empathy_profile_chooser_get_selected")
1323 (return-type "McProfile*")
1325 '("GtkWidget*" "widget")
1329 (define-function profile_chooser_n_profiles
1330 (c-name "empathy_profile_chooser_n_profiles")
1331 (return-type "gint")
1333 '("GtkWidget*" "widget")
1339 ;; From empathy-smiley-manager.h
1341 (define-function smiley_manager_get_type
1342 (c-name "empathy_smiley_manager_get_type")
1343 (return-type "GType")
1346 (define-function smiley_manager_new
1347 (c-name "empathy_smiley_manager_new")
1348 (is-constructor-of "EmpathySmileyManager")
1349 (return-type "EmpathySmileyManager*")
1353 (of-object "EmpathySmileyManager")
1354 (c-name "empathy_smiley_manager_load")
1355 (return-type "none")
1359 (of-object "EmpathySmileyManager")
1360 (c-name "empathy_smiley_manager_add")
1361 (return-type "none")
1363 '("const-gchar*" "icon_name")
1364 '("const-gchar*" "first_str")
1369 (define-method add_from_pixbuf
1370 (of-object "EmpathySmileyManager")
1371 (c-name "empathy_smiley_manager_add_from_pixbuf")
1372 (return-type "none")
1374 '("GdkPixbuf*" "smiley")
1375 '("const-gchar*" "first_str")
1380 (define-method get_all
1381 (of-object "EmpathySmileyManager")
1382 (c-name "empathy_smiley_manager_get_all")
1383 (return-type "GSList*")
1386 (define-method parse
1387 (of-object "EmpathySmileyManager")
1388 (c-name "empathy_smiley_manager_parse")
1389 (return-type "GSList*")
1391 '("const-gchar*" "text")
1396 (of-object "EmpathySmiley")
1397 (c-name "empathy_smiley_free")
1398 (return-type "none")
1403 ;; From empathy-spell.h
1405 (define-function spell_supported
1406 (c-name "empathy_spell_supported")
1407 (return-type "gboolean")
1410 (define-function spell_get_language_name
1411 (c-name "empathy_spell_get_language_name")
1412 (return-type "const-gchar*")
1414 '("const-gchar*" "code")
1418 (define-function spell_get_language_codes
1419 (c-name "empathy_spell_get_language_codes")
1420 (return-type "GList*")
1423 (define-function spell_free_language_codes
1424 (c-name "empathy_spell_free_language_codes")
1425 (return-type "none")
1431 (define-function spell_check
1432 (c-name "empathy_spell_check")
1433 (return-type "gboolean")
1435 '("const-gchar*" "word")
1439 (define-function spell_get_suggestions
1440 (c-name "empathy_spell_get_suggestions")
1441 (return-type "GList*")
1443 '("const-gchar*" "word")
1447 (define-function spell_free_suggestions
1448 (c-name "empathy_spell_free_suggestions")
1449 (return-type "none")
1451 '("GList*" "suggestions")
1457 ;; From empathy-spell-dialog.h
1459 (define-function spell_dialog_show
1460 (c-name "empathy_spell_dialog_show")
1461 (return-type "none")
1463 '("EmpathyChat*" "chat")
1464 '("GtkTextIter*" "start")
1465 '("GtkTextIter*" "end")
1466 '("const-gchar*" "word")
1472 ;; From empathy-theme-boxes.h
1474 (define-function theme_boxes_get_type
1475 (c-name "empathy_theme_boxes_get_type")
1476 (return-type "GType")
1481 ;; From empathy-theme.h
1483 (define-function theme_get_type
1484 (c-name "empathy_theme_get_type")
1485 (return-type "GType")
1488 (define-method update_view
1489 (of-object "EmpathyTheme")
1490 (c-name "empathy_theme_update_view")
1491 (return-type "none")
1493 '("EmpathyChatView*" "view")
1497 (define-method append_message
1498 (of-object "EmpathyTheme")
1499 (c-name "empathy_theme_append_message")
1500 (return-type "none")
1502 '("EmpathyChatView*" "view")
1503 '("EmpathyMessage*" "msg")
1507 (define-method append_text
1508 (of-object "EmpathyTheme")
1509 (c-name "empathy_theme_append_text")
1510 (return-type "none")
1512 '("EmpathyChatView*" "view")
1513 '("const-gchar*" "body")
1514 '("const-gchar*" "tag")
1515 '("const-gchar*" "link_tag")
1519 (define-method append_spacing
1520 (of-object "EmpathyTheme")
1521 (c-name "empathy_theme_append_spacing")
1522 (return-type "none")
1524 '("EmpathyChatView*" "view")
1528 (define-method append_event
1529 (of-object "EmpathyTheme")
1530 (c-name "empathy_theme_append_event")
1531 (return-type "none")
1533 '("EmpathyChatView*" "view")
1534 '("const-gchar*" "str")
1538 (define-method append_timestamp
1539 (of-object "EmpathyTheme")
1540 (c-name "empathy_theme_append_timestamp")
1541 (return-type "none")
1543 '("EmpathyChatView*" "view")
1544 '("EmpathyMessage*" "message")
1545 '("gboolean" "show_date")
1546 '("gboolean" "show_time")
1550 (define-method maybe_append_date_and_time
1551 (of-object "EmpathyTheme")
1552 (c-name "empathy_theme_maybe_append_date_and_time")
1553 (return-type "none")
1555 '("EmpathyChatView*" "view")
1556 '("EmpathyMessage*" "message")
1560 (define-method get_show_avatars
1561 (of-object "EmpathyTheme")
1562 (c-name "empathy_theme_get_show_avatars")
1563 (return-type "gboolean")
1566 (define-method set_show_avatars
1567 (of-object "EmpathyTheme")
1568 (c-name "empathy_theme_set_show_avatars")
1569 (return-type "none")
1571 '("gboolean" "show")
1577 ;; From empathy-theme-irc.h
1579 (define-function theme_irc_get_type
1580 (c-name "empathy_theme_irc_get_type")
1581 (return-type "GType")
1586 ;; From empathy-theme-manager.h
1588 (define-function theme_manager_get_type
1589 (c-name "empathy_theme_manager_get_type")
1590 (return-type "GType")
1593 (define-function theme_manager_get
1594 (c-name "empathy_theme_manager_get")
1595 (return-type "EmpathyThemeManager*")
1598 (define-function theme_manager_get_themes
1599 (c-name "empathy_theme_manager_get_themes")
1600 (return-type "const-gchar**")
1603 (define-method apply
1604 (of-object "EmpathyThemeManager")
1605 (c-name "empathy_theme_manager_apply")
1606 (return-type "none")
1608 '("EmpathyChatView*" "view")
1609 '("const-gchar*" "theme")
1613 (define-method apply_saved
1614 (of-object "EmpathyThemeManager")
1615 (c-name "empathy_theme_manager_apply_saved")
1616 (return-type "none")
1618 '("EmpathyChatView*" "view")
1624 ;; From empathy-ui-utils.h
1626 (define-function glade_get_file_simple
1627 (c-name "empathy_glade_get_file_simple")
1628 (return-type "none")
1630 '("const-gchar*" "filename")
1631 '("const-gchar*" "root")
1632 '("const-gchar*" "domain")
1633 '("const-gchar*" "first_required_widget")
1638 (define-function glade_get_file
1639 (c-name "empathy_glade_get_file")
1640 (return-type "GladeXML*")
1642 '("const-gchar*" "filename")
1643 '("const-gchar*" "root")
1644 '("const-gchar*" "domain")
1645 '("const-gchar*" "first_required_widget")
1650 (define-function glade_connect
1651 (c-name "empathy_glade_connect")
1652 (return-type "none")
1654 '("GladeXML*" "gui")
1655 '("gpointer" "user_data")
1656 '("gchar*" "first_widget")
1661 (define-function glade_setup_size_group
1662 (c-name "empathy_glade_setup_size_group")
1663 (return-type "none")
1665 '("GladeXML*" "gui")
1666 '("GtkSizeGroupMode" "mode")
1667 '("gchar*" "first_widget")
1672 (define-function icon_name_from_account
1673 (c-name "empathy_icon_name_from_account")
1674 (return-type "const-gchar*")
1676 '("McAccount*" "account")
1680 (define-function icon_name_for_presence
1681 (c-name "empathy_icon_name_for_presence")
1682 (return-type "const-gchar*")
1684 '("McPresence" "presence")
1688 (define-function icon_name_for_contact
1689 (c-name "empathy_icon_name_for_contact")
1690 (return-type "const-gchar*")
1692 '("EmpathyContact*" "contact")
1696 (define-function pixbuf_from_data
1697 (c-name "empathy_pixbuf_from_data")
1698 (return-type "GdkPixbuf*")
1701 '("gsize" "data_size")
1705 (define-function pixbuf_from_data_and_mime
1706 (c-name "empathy_pixbuf_from_data_and_mime")
1707 (return-type "GdkPixbuf*")
1710 '("gsize" "data_size")
1711 '("gchar**" "mime_type")
1715 (define-function pixbuf_from_avatar_scaled
1716 (c-name "empathy_pixbuf_from_avatar_scaled")
1717 (return-type "GdkPixbuf*")
1719 '("EmpathyAvatar*" "avatar")
1725 (define-function pixbuf_avatar_from_contact_scaled
1726 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1727 (return-type "GdkPixbuf*")
1729 '("EmpathyContact*" "contact")
1735 (define-function pixbuf_scale_down_if_necessary
1736 (c-name "empathy_pixbuf_scale_down_if_necessary")
1737 (return-type "GdkPixbuf*")
1739 '("GdkPixbuf*" "pixbuf")
1740 '("gint" "max_size")
1744 (define-function pixbuf_from_icon_name
1745 (c-name "empathy_pixbuf_from_icon_name")
1746 (return-type "GdkPixbuf*")
1748 '("const-gchar*" "icon_name")
1749 '("GtkIconSize" "icon_size")
1753 (define-function text_iter_forward_search
1754 (c-name "empathy_text_iter_forward_search")
1755 (return-type "gboolean")
1757 '("const-GtkTextIter*" "iter")
1758 '("const-gchar*" "str")
1759 '("GtkTextIter*" "match_start")
1760 '("GtkTextIter*" "match_end")
1761 '("const-GtkTextIter*" "limit")
1765 (define-function text_iter_backward_search
1766 (c-name "empathy_text_iter_backward_search")
1767 (return-type "gboolean")
1769 '("const-GtkTextIter*" "iter")
1770 '("const-gchar*" "str")
1771 '("GtkTextIter*" "match_start")
1772 '("GtkTextIter*" "match_end")
1773 '("const-GtkTextIter*" "limit")
1777 (define-function window_get_is_visible
1778 (c-name "empathy_window_get_is_visible")
1779 (return-type "gboolean")
1781 '("GtkWindow*" "window")
1785 (define-function window_present
1786 (c-name "empathy_window_present")
1787 (return-type "none")
1789 '("GtkWindow*" "window")
1790 '("gboolean" "steal_focus")
1794 (define-function window_iconify
1795 (c-name "empathy_window_iconify")
1796 (return-type "none")
1798 '("GtkWindow*" "window")
1799 '("GtkStatusIcon*" "status_icon")
1803 (define-function get_toplevel_window
1804 (c-name "empathy_get_toplevel_window")
1805 (return-type "GtkWindow*")
1807 '("GtkWidget*" "widget")
1811 (define-function url_show
1812 (c-name "empathy_url_show")
1813 (return-type "none")
1815 '("GtkWidget*" "parent")
1816 '("const-char*" "url")
1820 (define-function toggle_button_set_state_quietly
1821 (c-name "empathy_toggle_button_set_state_quietly")
1822 (return-type "none")
1824 '("GtkWidget*" "widget")
1825 '("GCallback" "callback")
1826 '("gpointer" "user_data")
1827 '("gboolean" "active")
1831 (define-function link_button_new
1832 (c-name "empathy_link_button_new")
1833 (is-constructor-of "EmpathyLinkButton")
1834 (return-type "GtkWidget*")
1836 '("const-gchar*" "url")
1837 '("const-gchar*" "title")
1841 (define-function text_buffer_tag_set
1842 (c-name "empathy_text_buffer_tag_set")
1843 (return-type "GtkTextTag*")
1845 '("GtkTextBuffer*" "buffer")
1846 '("const-gchar*" "tag_name")
1847 '("const-gchar*" "first_property_name")
1852 (define-function send_file_with_file_chooser
1853 (c-name "empathy_send_file_with_file_chooser")
1854 (return-type "none")
1856 '("EmpathyContact*" "contact")