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*")
1169 ;; From empathy-contact-widget.h
1171 (define-method widget_new
1172 (of-object "EmpathyContact")
1173 (c-name "empathy_contact_widget_new")
1174 (return-type "GtkWidget*")
1176 '("EmpathyContactWidgetFlags" "flags")
1180 (define-function contact_widget_get_contact
1181 (c-name "empathy_contact_widget_get_contact")
1182 (return-type "EmpathyContact*")
1184 '("GtkWidget*" "widget")
1188 (define-function contact_widget_set_contact
1189 (c-name "empathy_contact_widget_set_contact")
1190 (return-type "none")
1192 '("GtkWidget*" "widget")
1193 '("EmpathyContact*" "contact")
1197 (define-function contact_widget_set_account_filter
1198 (c-name "empathy_contact_widget_set_account_filter")
1199 (return-type "none")
1201 '("GtkWidget*" "widget")
1202 '("EmpathyAccountChooserFilterFunc" "filter")
1203 '("gpointer" "user_data")
1209 ;; From empathy-geometry.h
1211 (define-function geometry_save
1212 (c-name "empathy_geometry_save")
1213 (return-type "none")
1215 '("const-gchar*" "name")
1223 (define-function geometry_load
1224 (c-name "empathy_geometry_load")
1225 (return-type "none")
1227 '("const-gchar*" "name")
1237 ;; From empathy-images.h
1241 ;; From empathy-irc-network-dialog.h
1243 (define-method dialog_show
1244 (of-object "EmpathyIrcNetwork")
1245 (c-name "empathy_irc_network_dialog_show")
1246 (return-type "GtkWidget*")
1248 '("GtkWidget*" "parent")
1254 ;; From empathy-log-window.h
1256 (define-function log_window_show
1257 (c-name "empathy_log_window_show")
1258 (return-type "GtkWidget*")
1260 '("McAccount*" "account")
1261 '("const-gchar*" "chat_id")
1262 '("gboolean" "chatroom")
1263 '("GtkWindow*" "parent")
1269 ;; From empathy-new-message-dialog.h
1271 (define-function new_message_dialog_show
1272 (c-name "empathy_new_message_dialog_show")
1273 (return-type "GtkWidget*")
1275 '("GtkWindow*" "parent")
1281 ;; From empathy-presence-chooser.h
1283 (define-function presence_chooser_get_type
1284 (c-name "empathy_presence_chooser_get_type")
1285 (return-type "GType")
1288 (define-function presence_chooser_new
1289 (c-name "empathy_presence_chooser_new")
1290 (is-constructor-of "EmpathyPresenceChooser")
1291 (return-type "GtkWidget*")
1294 (define-function presence_chooser_create_menu
1295 (c-name "empathy_presence_chooser_create_menu")
1296 (return-type "GtkWidget*")
1301 ;; From empathy-profile-chooser.h
1303 (define-function profile_chooser_new
1304 (c-name "empathy_profile_chooser_new")
1305 (is-constructor-of "EmpathyProfileChooser")
1306 (return-type "GtkWidget*")
1309 (define-function profile_chooser_get_selected
1310 (c-name "empathy_profile_chooser_get_selected")
1311 (return-type "McProfile*")
1313 '("GtkWidget*" "widget")
1317 (define-function profile_chooser_n_profiles
1318 (c-name "empathy_profile_chooser_n_profiles")
1319 (return-type "gint")
1321 '("GtkWidget*" "widget")
1327 ;; From empathy-smiley-manager.h
1329 (define-function smiley_manager_get_type
1330 (c-name "empathy_smiley_manager_get_type")
1331 (return-type "GType")
1334 (define-function smiley_manager_new
1335 (c-name "empathy_smiley_manager_new")
1336 (is-constructor-of "EmpathySmileyManager")
1337 (return-type "EmpathySmileyManager*")
1341 (of-object "EmpathySmileyManager")
1342 (c-name "empathy_smiley_manager_load")
1343 (return-type "none")
1347 (of-object "EmpathySmileyManager")
1348 (c-name "empathy_smiley_manager_add")
1349 (return-type "none")
1351 '("const-gchar*" "icon_name")
1352 '("const-gchar*" "first_str")
1357 (define-method add_from_pixbuf
1358 (of-object "EmpathySmileyManager")
1359 (c-name "empathy_smiley_manager_add_from_pixbuf")
1360 (return-type "none")
1362 '("GdkPixbuf*" "smiley")
1363 '("const-gchar*" "first_str")
1368 (define-method get_all
1369 (of-object "EmpathySmileyManager")
1370 (c-name "empathy_smiley_manager_get_all")
1371 (return-type "GSList*")
1374 (define-method parse
1375 (of-object "EmpathySmileyManager")
1376 (c-name "empathy_smiley_manager_parse")
1377 (return-type "GSList*")
1379 '("const-gchar*" "text")
1384 (of-object "EmpathySmiley")
1385 (c-name "empathy_smiley_free")
1386 (return-type "none")
1391 ;; From empathy-spell.h
1393 (define-function spell_supported
1394 (c-name "empathy_spell_supported")
1395 (return-type "gboolean")
1398 (define-function spell_get_language_name
1399 (c-name "empathy_spell_get_language_name")
1400 (return-type "const-gchar*")
1402 '("const-gchar*" "code")
1406 (define-function spell_get_language_codes
1407 (c-name "empathy_spell_get_language_codes")
1408 (return-type "GList*")
1411 (define-function spell_free_language_codes
1412 (c-name "empathy_spell_free_language_codes")
1413 (return-type "none")
1419 (define-function spell_check
1420 (c-name "empathy_spell_check")
1421 (return-type "gboolean")
1423 '("const-gchar*" "word")
1427 (define-function spell_get_suggestions
1428 (c-name "empathy_spell_get_suggestions")
1429 (return-type "GList*")
1431 '("const-gchar*" "word")
1435 (define-function spell_free_suggestions
1436 (c-name "empathy_spell_free_suggestions")
1437 (return-type "none")
1439 '("GList*" "suggestions")
1445 ;; From empathy-spell-dialog.h
1447 (define-function spell_dialog_show
1448 (c-name "empathy_spell_dialog_show")
1449 (return-type "none")
1451 '("EmpathyChat*" "chat")
1452 '("GtkTextIter*" "start")
1453 '("GtkTextIter*" "end")
1454 '("const-gchar*" "word")
1460 ;; From empathy-theme-boxes.h
1462 (define-function theme_boxes_get_type
1463 (c-name "empathy_theme_boxes_get_type")
1464 (return-type "GType")
1469 ;; From empathy-theme.h
1471 (define-function theme_get_type
1472 (c-name "empathy_theme_get_type")
1473 (return-type "GType")
1476 (define-method update_view
1477 (of-object "EmpathyTheme")
1478 (c-name "empathy_theme_update_view")
1479 (return-type "none")
1481 '("EmpathyChatView*" "view")
1485 (define-method append_message
1486 (of-object "EmpathyTheme")
1487 (c-name "empathy_theme_append_message")
1488 (return-type "none")
1490 '("EmpathyChatView*" "view")
1491 '("EmpathyMessage*" "msg")
1495 (define-method append_text
1496 (of-object "EmpathyTheme")
1497 (c-name "empathy_theme_append_text")
1498 (return-type "none")
1500 '("EmpathyChatView*" "view")
1501 '("const-gchar*" "body")
1502 '("const-gchar*" "tag")
1503 '("const-gchar*" "link_tag")
1507 (define-method append_spacing
1508 (of-object "EmpathyTheme")
1509 (c-name "empathy_theme_append_spacing")
1510 (return-type "none")
1512 '("EmpathyChatView*" "view")
1516 (define-method append_event
1517 (of-object "EmpathyTheme")
1518 (c-name "empathy_theme_append_event")
1519 (return-type "none")
1521 '("EmpathyChatView*" "view")
1522 '("const-gchar*" "str")
1526 (define-method append_timestamp
1527 (of-object "EmpathyTheme")
1528 (c-name "empathy_theme_append_timestamp")
1529 (return-type "none")
1531 '("EmpathyChatView*" "view")
1532 '("EmpathyMessage*" "message")
1533 '("gboolean" "show_date")
1534 '("gboolean" "show_time")
1538 (define-method maybe_append_date_and_time
1539 (of-object "EmpathyTheme")
1540 (c-name "empathy_theme_maybe_append_date_and_time")
1541 (return-type "none")
1543 '("EmpathyChatView*" "view")
1544 '("EmpathyMessage*" "message")
1548 (define-method get_show_avatars
1549 (of-object "EmpathyTheme")
1550 (c-name "empathy_theme_get_show_avatars")
1551 (return-type "gboolean")
1554 (define-method set_show_avatars
1555 (of-object "EmpathyTheme")
1556 (c-name "empathy_theme_set_show_avatars")
1557 (return-type "none")
1559 '("gboolean" "show")
1565 ;; From empathy-theme-irc.h
1567 (define-function theme_irc_get_type
1568 (c-name "empathy_theme_irc_get_type")
1569 (return-type "GType")
1574 ;; From empathy-theme-manager.h
1576 (define-function theme_manager_get_type
1577 (c-name "empathy_theme_manager_get_type")
1578 (return-type "GType")
1581 (define-function theme_manager_get
1582 (c-name "empathy_theme_manager_get")
1583 (return-type "EmpathyThemeManager*")
1586 (define-function theme_manager_get_themes
1587 (c-name "empathy_theme_manager_get_themes")
1588 (return-type "const-gchar**")
1591 (define-method apply
1592 (of-object "EmpathyThemeManager")
1593 (c-name "empathy_theme_manager_apply")
1594 (return-type "none")
1596 '("EmpathyChatView*" "view")
1597 '("const-gchar*" "theme")
1601 (define-method apply_saved
1602 (of-object "EmpathyThemeManager")
1603 (c-name "empathy_theme_manager_apply_saved")
1604 (return-type "none")
1606 '("EmpathyChatView*" "view")
1612 ;; From empathy-ui-utils.h
1614 (define-function glade_get_file_simple
1615 (c-name "empathy_glade_get_file_simple")
1616 (return-type "none")
1618 '("const-gchar*" "filename")
1619 '("const-gchar*" "root")
1620 '("const-gchar*" "domain")
1621 '("const-gchar*" "first_required_widget")
1626 (define-function glade_get_file
1627 (c-name "empathy_glade_get_file")
1628 (return-type "GladeXML*")
1630 '("const-gchar*" "filename")
1631 '("const-gchar*" "root")
1632 '("const-gchar*" "domain")
1633 '("const-gchar*" "first_required_widget")
1638 (define-function glade_connect
1639 (c-name "empathy_glade_connect")
1640 (return-type "none")
1642 '("GladeXML*" "gui")
1643 '("gpointer" "user_data")
1644 '("gchar*" "first_widget")
1649 (define-function glade_setup_size_group
1650 (c-name "empathy_glade_setup_size_group")
1651 (return-type "none")
1653 '("GladeXML*" "gui")
1654 '("GtkSizeGroupMode" "mode")
1655 '("gchar*" "first_widget")
1660 (define-function icon_name_from_account
1661 (c-name "empathy_icon_name_from_account")
1662 (return-type "const-gchar*")
1664 '("McAccount*" "account")
1668 (define-function icon_name_for_presence
1669 (c-name "empathy_icon_name_for_presence")
1670 (return-type "const-gchar*")
1672 '("McPresence" "presence")
1676 (define-function icon_name_for_contact
1677 (c-name "empathy_icon_name_for_contact")
1678 (return-type "const-gchar*")
1680 '("EmpathyContact*" "contact")
1684 (define-function pixbuf_from_data
1685 (c-name "empathy_pixbuf_from_data")
1686 (return-type "GdkPixbuf*")
1689 '("gsize" "data_size")
1693 (define-function pixbuf_from_avatar_scaled
1694 (c-name "empathy_pixbuf_from_avatar_scaled")
1695 (return-type "GdkPixbuf*")
1697 '("EmpathyAvatar*" "avatar")
1703 (define-function pixbuf_avatar_from_contact_scaled
1704 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1705 (return-type "GdkPixbuf*")
1707 '("EmpathyContact*" "contact")
1713 (define-function pixbuf_scale_down_if_necessary
1714 (c-name "empathy_pixbuf_scale_down_if_necessary")
1715 (return-type "GdkPixbuf*")
1717 '("GdkPixbuf*" "pixbuf")
1718 '("gint" "max_size")
1722 (define-function pixbuf_from_icon_name
1723 (c-name "empathy_pixbuf_from_icon_name")
1724 (return-type "GdkPixbuf*")
1726 '("const-gchar*" "icon_name")
1727 '("GtkIconSize" "icon_size")
1731 (define-function text_iter_forward_search
1732 (c-name "empathy_text_iter_forward_search")
1733 (return-type "gboolean")
1735 '("const-GtkTextIter*" "iter")
1736 '("const-gchar*" "str")
1737 '("GtkTextIter*" "match_start")
1738 '("GtkTextIter*" "match_end")
1739 '("const-GtkTextIter*" "limit")
1743 (define-function text_iter_backward_search
1744 (c-name "empathy_text_iter_backward_search")
1745 (return-type "gboolean")
1747 '("const-GtkTextIter*" "iter")
1748 '("const-gchar*" "str")
1749 '("GtkTextIter*" "match_start")
1750 '("GtkTextIter*" "match_end")
1751 '("const-GtkTextIter*" "limit")
1755 (define-function window_get_is_visible
1756 (c-name "empathy_window_get_is_visible")
1757 (return-type "gboolean")
1759 '("GtkWindow*" "window")
1763 (define-function window_present
1764 (c-name "empathy_window_present")
1765 (return-type "none")
1767 '("GtkWindow*" "window")
1768 '("gboolean" "steal_focus")
1772 (define-function window_iconify
1773 (c-name "empathy_window_iconify")
1774 (return-type "none")
1776 '("GtkWindow*" "window")
1777 '("GtkStatusIcon*" "status_icon")
1781 (define-function get_toplevel_window
1782 (c-name "empathy_get_toplevel_window")
1783 (return-type "GtkWindow*")
1785 '("GtkWidget*" "widget")
1789 (define-function url_show
1790 (c-name "empathy_url_show")
1791 (return-type "none")
1793 '("const-char*" "url")
1797 (define-function toggle_button_set_state_quietly
1798 (c-name "empathy_toggle_button_set_state_quietly")
1799 (return-type "none")
1801 '("GtkWidget*" "widget")
1802 '("GCallback" "callback")
1803 '("gpointer" "user_data")
1804 '("gboolean" "active")
1808 (define-function link_button_new
1809 (c-name "empathy_link_button_new")
1810 (is-constructor-of "EmpathyLinkButton")
1811 (return-type "GtkWidget*")
1813 '("const-gchar*" "url")
1814 '("const-gchar*" "title")
1818 (define-function text_buffer_tag_set
1819 (c-name "empathy_text_buffer_tag_set")
1820 (return-type "GtkTextTag*")
1822 '("GtkTextBuffer*" "buffer")
1823 '("const-gchar*" "tag_name")
1824 '("const-gchar*" "first_property_name")