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 GroupChat
82 (parent "EmpathyChat")
83 (c-name "EmpathyGroupChat")
84 (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
87 (define-object PresenceChooser
89 (parent "GtkToggleButton")
90 (c-name "EmpathyPresenceChooser")
91 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
94 (define-object PrivateChat
96 (parent "EmpathyChat")
97 (c-name "EmpathyPrivateChat")
98 (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
101 (define-object SmileyManager
102 (in-module "Empathy")
104 (c-name "EmpathySmileyManager")
105 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
109 (in-module "Empathy")
111 (c-name "EmpathyTheme")
112 (gtype-id "EMPATHY_TYPE_THEME")
115 (define-object ThemeBoxes
116 (in-module "Empathy")
117 (parent "EmpathyTheme")
118 (c-name "EmpathyThemeBoxes")
119 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
122 (define-object ThemeIrc
123 (in-module "Empathy")
124 (parent "EmpathyTheme")
125 (c-name "EmpathyThemeIrc")
126 (gtype-id "EMPATHY_TYPE_THEME_IRC")
129 (define-object ThemeManager
130 (in-module "Empathy")
132 (c-name "EmpathyThemeManager")
133 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
136 ;; Enumerations and flags ...
138 (define-enum ContactListStoreSort
139 (in-module "Empathy")
140 (c-name "EmpathyContactListStoreSort")
141 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
143 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
144 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
148 (define-enum ContactListStoreCol
149 (in-module "Empathy")
150 (c-name "EmpathyContactListStoreCol")
151 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
153 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
154 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
155 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
156 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
157 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
158 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
159 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
160 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
161 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
162 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
163 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
164 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
165 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
169 (define-flags ContactListFeatures
170 (in-module "Empathy")
171 (c-name "EmpathyContactListFeatures")
172 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
174 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
175 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
176 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
177 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
178 '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
179 '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
180 '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
181 '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
182 '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
183 '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
184 '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
185 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
186 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
187 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
188 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
192 (define-flags ContactWidgetFlags
193 (in-module "Empathy")
194 (c-name "EmpathyContactWidgetFlags")
195 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
197 '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
198 '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
199 '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
200 '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
201 '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
202 '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
207 ;; From empathy-images.h
211 ;; From empathy-account-chooser.h
213 (define-function empathy_account_chooser_get_type
214 (c-name "empathy_account_chooser_get_type")
215 (return-type "GType")
218 (define-function empathy_account_chooser_new
219 (c-name "empathy_account_chooser_new")
220 (is-constructor-of "EmpathyAccountChooser")
221 (return-type "GtkWidget*")
224 (define-method get_account
225 (of-object "EmpathyAccountChooser")
226 (c-name "empathy_account_chooser_get_account")
227 (return-type "McAccount*")
230 (define-method set_account
231 (of-object "EmpathyAccountChooser")
232 (c-name "empathy_account_chooser_set_account")
233 (return-type "gboolean")
235 '("McAccount*" "account")
239 (define-method get_has_all_option
240 (of-object "EmpathyAccountChooser")
241 (c-name "empathy_account_chooser_get_has_all_option")
242 (return-type "gboolean")
245 (define-method set_has_all_option
246 (of-object "EmpathyAccountChooser")
247 (c-name "empathy_account_chooser_set_has_all_option")
250 '("gboolean" "has_all_option")
254 (define-method set_filter
255 (of-object "EmpathyAccountChooser")
256 (c-name "empathy_account_chooser_set_filter")
259 '("EmpathyAccountChooserFilterFunc" "filter")
260 '("gpointer" "user_data")
264 (define-function empathy_account_chooser_filter_is_connected
265 (c-name "empathy_account_chooser_filter_is_connected")
266 (return-type "gboolean")
268 '("McAccount*" "account")
269 '("gpointer" "user_data")
275 ;; From empathy-chat.h
277 (define-function empathy_chat_get_type
278 (c-name "empathy_chat_get_type")
279 (return-type "GType")
282 (define-method get_view
283 (of-object "EmpathyChat")
284 (c-name "empathy_chat_get_view")
285 (return-type "EmpathyChatView*")
288 (define-method present
289 (of-object "EmpathyChat")
290 (c-name "empathy_chat_present")
295 (of-object "EmpathyChat")
296 (c-name "empathy_chat_clear")
300 (define-method scroll_down
301 (of-object "EmpathyChat")
302 (c-name "empathy_chat_scroll_down")
307 (of-object "EmpathyChat")
308 (c-name "empathy_chat_cut")
313 (of-object "EmpathyChat")
314 (c-name "empathy_chat_copy")
319 (of-object "EmpathyChat")
320 (c-name "empathy_chat_paste")
324 (define-method get_name
325 (of-object "EmpathyChat")
326 (c-name "empathy_chat_get_name")
327 (return-type "const-gchar*")
330 (define-method get_tooltip
331 (of-object "EmpathyChat")
332 (c-name "empathy_chat_get_tooltip")
333 (return-type "gchar*")
336 (define-method get_status_icon_name
337 (of-object "EmpathyChat")
338 (c-name "empathy_chat_get_status_icon_name")
339 (return-type "const-gchar*")
342 (define-method get_widget
343 (of-object "EmpathyChat")
344 (c-name "empathy_chat_get_widget")
345 (return-type "GtkWidget*")
348 (define-method is_group_chat
349 (of-object "EmpathyChat")
350 (c-name "empathy_chat_is_group_chat")
351 (return-type "gboolean")
354 (define-method is_connected
355 (of-object "EmpathyChat")
356 (c-name "empathy_chat_is_connected")
357 (return-type "gboolean")
360 (define-method save_geometry
361 (of-object "EmpathyChat")
362 (c-name "empathy_chat_save_geometry")
372 (define-method load_geometry
373 (of-object "EmpathyChat")
374 (c-name "empathy_chat_load_geometry")
384 (define-method set_tp_chat
385 (of-object "EmpathyChat")
386 (c-name "empathy_chat_set_tp_chat")
389 '("EmpathyTpChat*" "tp_chat")
393 (define-method get_id
394 (of-object "EmpathyChat")
395 (c-name "empathy_chat_get_id")
396 (return-type "const-gchar*")
399 (define-method get_account
400 (of-object "EmpathyChat")
401 (c-name "empathy_chat_get_account")
402 (return-type "McAccount*")
405 (define-function empathy_chat_get_is_command
406 (c-name "empathy_chat_get_is_command")
407 (return-type "gboolean")
409 '("const-gchar*" "str")
413 (define-method correct_word
414 (of-object "EmpathyChat")
415 (c-name "empathy_chat_correct_word")
418 '("GtkTextIter" "start")
419 '("GtkTextIter" "end")
420 '("const-gchar*" "new_word")
424 (define-method should_play_sound
425 (of-object "EmpathyChat")
426 (c-name "empathy_chat_should_play_sound")
427 (return-type "gboolean")
430 (define-function empathy_chat_should_highlight_nick
431 (c-name "empathy_chat_should_highlight_nick")
432 (return-type "gboolean")
434 '("EmpathyMessage*" "message")
440 ;; From empathy-irc-network-dialog.h
442 (define-method dialog_show
443 (of-object "EmpathyIrcNetwork")
444 (c-name "empathy_irc_network_dialog_show")
445 (return-type "GtkWidget*")
447 '("GtkWidget*" "parent")
453 ;; From empathy-spell-dialog.h
455 (define-function empathy_spell_dialog_show
456 (c-name "empathy_spell_dialog_show")
459 '("EmpathyChat*" "chat")
460 '("GtkTextIter" "start")
461 '("GtkTextIter" "end")
462 '("const-gchar*" "word")
468 ;; From empathy-accounts-dialog.h
470 (define-function empathy_accounts_dialog_show
471 (c-name "empathy_accounts_dialog_show")
472 (return-type "GtkWidget*")
474 '("GtkWindow*" "parent")
480 ;; From empathy-chat-view.h
482 (define-function empathy_chat_view_get_type
483 (c-name "empathy_chat_view_get_type")
484 (return-type "GType")
487 (define-function empathy_chat_view_new
488 (c-name "empathy_chat_view_new")
489 (is-constructor-of "EmpathyChatView")
490 (return-type "EmpathyChatView*")
493 (define-method append_message
494 (of-object "EmpathyChatView")
495 (c-name "empathy_chat_view_append_message")
498 '("EmpathyMessage*" "msg")
502 (define-method append_event
503 (of-object "EmpathyChatView")
504 (c-name "empathy_chat_view_append_event")
507 '("const-gchar*" "str")
511 (define-method append_button
512 (of-object "EmpathyChatView")
513 (c-name "empathy_chat_view_append_button")
516 '("const-gchar*" "message")
517 '("GtkWidget*" "button1")
518 '("GtkWidget*" "button2")
522 (define-method set_margin
523 (of-object "EmpathyChatView")
524 (c-name "empathy_chat_view_set_margin")
531 (define-method scroll
532 (of-object "EmpathyChatView")
533 (c-name "empathy_chat_view_scroll")
536 '("gboolean" "allow_scrolling")
540 (define-method scroll_down
541 (of-object "EmpathyChatView")
542 (c-name "empathy_chat_view_scroll_down")
546 (define-method get_selection_bounds
547 (of-object "EmpathyChatView")
548 (c-name "empathy_chat_view_get_selection_bounds")
549 (return-type "gboolean")
551 '("GtkTextIter*" "start")
552 '("GtkTextIter*" "end")
557 (of-object "EmpathyChatView")
558 (c-name "empathy_chat_view_clear")
562 (define-method find_previous
563 (of-object "EmpathyChatView")
564 (c-name "empathy_chat_view_find_previous")
565 (return-type "gboolean")
567 '("const-gchar*" "search_criteria")
568 '("gboolean" "new_search")
572 (define-method find_next
573 (of-object "EmpathyChatView")
574 (c-name "empathy_chat_view_find_next")
575 (return-type "gboolean")
577 '("const-gchar*" "search_criteria")
578 '("gboolean" "new_search")
582 (define-method find_abilities
583 (of-object "EmpathyChatView")
584 (c-name "empathy_chat_view_find_abilities")
587 '("const-gchar*" "search_criteria")
588 '("gboolean*" "can_do_previous")
589 '("gboolean*" "can_do_next")
593 (define-method highlight
594 (of-object "EmpathyChatView")
595 (c-name "empathy_chat_view_highlight")
598 '("const-gchar*" "text")
602 (define-method copy_clipboard
603 (of-object "EmpathyChatView")
604 (c-name "empathy_chat_view_copy_clipboard")
608 (define-method get_theme
609 (of-object "EmpathyChatView")
610 (c-name "empathy_chat_view_get_theme")
611 (return-type "EmpathyTheme*")
614 (define-method set_theme
615 (of-object "EmpathyChatView")
616 (c-name "empathy_chat_view_set_theme")
619 '("EmpathyTheme*" "theme")
623 (define-method set_margin
624 (of-object "EmpathyChatView")
625 (c-name "empathy_chat_view_set_margin")
632 (define-function empathy_chat_view_get_smiley_menu
633 (c-name "empathy_chat_view_get_smiley_menu")
634 (return-type "GtkWidget*")
636 '("GCallback" "callback")
637 '("gpointer" "user_data")
641 (define-method set_is_group_chat
642 (of-object "EmpathyChatView")
643 (c-name "empathy_chat_view_set_is_group_chat")
646 '("gboolean" "is_group_chat")
650 (define-method get_last_timestamp
651 (of-object "EmpathyChatView")
652 (c-name "empathy_chat_view_get_last_timestamp")
653 (return-type "time_t")
656 (define-method set_last_timestamp
657 (of-object "EmpathyChatView")
658 (c-name "empathy_chat_view_set_last_timestamp")
661 '("time_t" "timestamp")
665 (define-method get_last_contact
666 (of-object "EmpathyChatView")
667 (c-name "empathy_chat_view_get_last_contact")
668 (return-type "EmpathyContact*")
671 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
672 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
673 (return-type "GdkPixbuf*")
675 '("EmpathyContact*" "contact")
681 ;; From empathy-log-window.h
683 (define-function empathy_log_window_show
684 (c-name "empathy_log_window_show")
685 (return-type "GtkWidget*")
687 '("McAccount*" "account")
688 '("const-gchar*" "chat_id")
689 '("gboolean" "chatroom")
690 '("GtkWindow*" "parent")
696 ;; From empathy-theme-boxes.h
698 (define-function empathy_theme_boxes_get_type
699 (c-name "empathy_theme_boxes_get_type")
700 (return-type "GType")
705 ;; From empathy-account-widget.h
707 (define-function empathy_account_widget_handle_params
708 (c-name "empathy_account_widget_handle_params")
711 '("McAccount*" "account")
712 '("GladeXML*" "glade")
713 '("const-gchar*" "first_widget_name")
718 (define-function empathy_account_widget_add_forget_button
719 (c-name "empathy_account_widget_add_forget_button")
722 '("McAccount*" "account")
723 '("GladeXML*" "glade")
724 '("const-gchar*" "button")
725 '("const-gchar*" "entry")
729 (define-function empathy_account_widget_generic_new
730 (c-name "empathy_account_widget_generic_new")
731 (is-constructor-of "EmpathyAccountWidgetGeneric")
732 (return-type "GtkWidget*")
734 '("McAccount*" "account")
738 (define-function empathy_account_widget_salut_new
739 (c-name "empathy_account_widget_salut_new")
740 (is-constructor-of "EmpathyAccountWidgetSalut")
741 (return-type "GtkWidget*")
743 '("McAccount*" "account")
747 (define-function empathy_account_widget_msn_new
748 (c-name "empathy_account_widget_msn_new")
749 (is-constructor-of "EmpathyAccountWidgetMsn")
750 (return-type "GtkWidget*")
752 '("McAccount*" "account")
756 (define-function empathy_account_widget_jabber_new
757 (c-name "empathy_account_widget_jabber_new")
758 (is-constructor-of "EmpathyAccountWidgetJabber")
759 (return-type "GtkWidget*")
761 '("McAccount*" "account")
765 (define-function empathy_account_widget_icq_new
766 (c-name "empathy_account_widget_icq_new")
767 (is-constructor-of "EmpathyAccountWidgetIcq")
768 (return-type "GtkWidget*")
770 '("McAccount*" "account")
774 (define-function empathy_account_widget_yahoo_new
775 (c-name "empathy_account_widget_yahoo_new")
776 (is-constructor-of "EmpathyAccountWidgetYahoo")
777 (return-type "GtkWidget*")
779 '("McAccount*" "account")
785 ;; From empathy-conf.h
787 (define-function empathy_conf_get_type
788 (c-name "empathy_conf_get_type")
789 (return-type "GType")
792 (define-function empathy_conf_get
793 (c-name "empathy_conf_get")
794 (return-type "EmpathyConf*")
797 (define-function empathy_conf_shutdown
798 (c-name "empathy_conf_shutdown")
802 (define-method notify_add
803 (of-object "EmpathyConf")
804 (c-name "empathy_conf_notify_add")
805 (return-type "guint")
807 '("const-gchar*" "key")
808 '("EmpathyConfNotifyFunc" "func")
813 (define-method notify_remove
814 (of-object "EmpathyConf")
815 (c-name "empathy_conf_notify_remove")
816 (return-type "gboolean")
822 (define-method set_int
823 (of-object "EmpathyConf")
824 (c-name "empathy_conf_set_int")
825 (return-type "gboolean")
827 '("const-gchar*" "key")
832 (define-method get_int
833 (of-object "EmpathyConf")
834 (c-name "empathy_conf_get_int")
835 (return-type "gboolean")
837 '("const-gchar*" "key")
842 (define-method set_bool
843 (of-object "EmpathyConf")
844 (c-name "empathy_conf_set_bool")
845 (return-type "gboolean")
847 '("const-gchar*" "key")
848 '("gboolean" "value")
852 (define-method get_bool
853 (of-object "EmpathyConf")
854 (c-name "empathy_conf_get_bool")
855 (return-type "gboolean")
857 '("const-gchar*" "key")
858 '("gboolean*" "value")
862 (define-method set_string
863 (of-object "EmpathyConf")
864 (c-name "empathy_conf_set_string")
865 (return-type "gboolean")
867 '("const-gchar*" "key")
868 '("const-gchar*" "value")
872 (define-method get_string
873 (of-object "EmpathyConf")
874 (c-name "empathy_conf_get_string")
875 (return-type "gboolean")
877 '("const-gchar*" "key")
882 (define-method set_string_list
883 (of-object "EmpathyConf")
884 (c-name "empathy_conf_set_string_list")
885 (return-type "gboolean")
887 '("const-gchar*" "key")
892 (define-method get_string_list
893 (of-object "EmpathyConf")
894 (c-name "empathy_conf_get_string_list")
895 (return-type "gboolean")
897 '("const-gchar*" "key")
898 '("GSList**" "value")
904 ;; From empathy-theme.h
906 (define-function empathy_theme_get_type
907 (c-name "empathy_theme_get_type")
908 (return-type "GType")
911 (define-method update_view
912 (of-object "EmpathyTheme")
913 (c-name "empathy_theme_update_view")
916 '("EmpathyChatView*" "view")
920 (define-method append_message
921 (of-object "EmpathyTheme")
922 (c-name "empathy_theme_append_message")
925 '("EmpathyChatView*" "view")
926 '("EmpathyMessage*" "msg")
930 (define-method append_text
931 (of-object "EmpathyTheme")
932 (c-name "empathy_theme_append_text")
935 '("EmpathyChatView*" "view")
936 '("const-gchar*" "body")
937 '("const-gchar*" "tag")
938 '("const-gchar*" "link_tag")
942 (define-method append_spacing
943 (of-object "EmpathyTheme")
944 (c-name "empathy_theme_append_spacing")
947 '("EmpathyChatView*" "view")
951 (define-method append_event
952 (of-object "EmpathyTheme")
953 (c-name "empathy_theme_append_event")
956 '("EmpathyChatView*" "view")
957 '("const-gchar*" "str")
961 (define-method append_timestamp
962 (of-object "EmpathyTheme")
963 (c-name "empathy_theme_append_timestamp")
966 '("EmpathyChatView*" "view")
967 '("EmpathyMessage*" "message")
968 '("gboolean" "show_date")
969 '("gboolean" "show_time")
973 (define-method maybe_append_date_and_time
974 (of-object "EmpathyTheme")
975 (c-name "empathy_theme_maybe_append_date_and_time")
978 '("EmpathyChatView*" "view")
979 '("EmpathyMessage*" "message")
983 (define-method get_show_avatars
984 (of-object "EmpathyTheme")
985 (c-name "empathy_theme_get_show_avatars")
986 (return-type "gboolean")
989 (define-method set_show_avatars
990 (of-object "EmpathyTheme")
991 (c-name "empathy_theme_set_show_avatars")
1000 ;; From empathy-account-widget-irc.h
1002 (define-function empathy_account_widget_irc_new
1003 (c-name "empathy_account_widget_irc_new")
1004 (is-constructor-of "EmpathyAccountWidgetIrc")
1005 (return-type "GtkWidget*")
1007 '("McAccount*" "account")
1013 ;; From empathy-contact-dialogs.h
1015 (define-function empathy_subscription_dialog_show
1016 (c-name "empathy_subscription_dialog_show")
1017 (return-type "none")
1019 '("EmpathyContact*" "contact")
1020 '("GtkWindow*" "parent")
1024 (define-method information_dialog_show
1025 (of-object "EmpathyContact")
1026 (c-name "empathy_contact_information_dialog_show")
1027 (return-type "none")
1029 '("GtkWindow*" "parent")
1030 '("gboolean" "edit")
1031 '("gboolean" "is_user")
1035 (define-function empathy_new_contact_dialog_show
1036 (c-name "empathy_new_contact_dialog_show")
1037 (return-type "none")
1039 '("GtkWindow*" "parent")
1045 ;; From empathy-new-message-dialog.h
1047 (define-function empathy_new_message_dialog_show
1048 (c-name "empathy_new_message_dialog_show")
1049 (return-type "GtkWidget*")
1051 '("GtkWindow*" "parent")
1057 ;; From empathy-theme-irc.h
1059 (define-function empathy_theme_irc_get_type
1060 (c-name "empathy_theme_irc_get_type")
1061 (return-type "GType")
1066 ;; From empathy-avatar-chooser.h
1068 (define-function empathy_avatar_chooser_get_type
1069 (c-name "empathy_avatar_chooser_get_type")
1070 (return-type "GType")
1073 (define-function empathy_avatar_chooser_new
1074 (c-name "empathy_avatar_chooser_new")
1075 (is-constructor-of "EmpathyAvatarChooser")
1076 (return-type "GtkWidget*")
1080 (of-object "EmpathyAvatarChooser")
1081 (c-name "empathy_avatar_chooser_set")
1082 (return-type "none")
1084 '("EmpathyAvatar*" "avatar")
1088 (define-method get_image_data
1089 (of-object "EmpathyAvatarChooser")
1090 (c-name "empathy_avatar_chooser_get_image_data")
1091 (return-type "none")
1093 '("const-gchar**" "data")
1094 '("gsize*" "data_size")
1095 '("const-gchar**" "mime_type")
1101 ;; From empathy-contact-list-store.h
1103 (define-function empathy_contact_list_store_get_type
1104 (c-name "empathy_contact_list_store_get_type")
1105 (return-type "GType")
1108 (define-method store_new
1109 (of-object "EmpathyContactList")
1110 (c-name "empathy_contact_list_store_new")
1111 (return-type "EmpathyContactListStore*")
1114 (define-method get_list_iface
1115 (of-object "EmpathyContactListStore")
1116 (c-name "empathy_contact_list_store_get_list_iface")
1117 (return-type "EmpathyContactList*")
1120 (define-method get_show_offline
1121 (of-object "EmpathyContactListStore")
1122 (c-name "empathy_contact_list_store_get_show_offline")
1123 (return-type "gboolean")
1126 (define-method set_show_offline
1127 (of-object "EmpathyContactListStore")
1128 (c-name "empathy_contact_list_store_set_show_offline")
1129 (return-type "none")
1131 '("gboolean" "show_offline")
1135 (define-method get_show_avatars
1136 (of-object "EmpathyContactListStore")
1137 (c-name "empathy_contact_list_store_get_show_avatars")
1138 (return-type "gboolean")
1141 (define-method set_show_avatars
1142 (of-object "EmpathyContactListStore")
1143 (c-name "empathy_contact_list_store_set_show_avatars")
1144 (return-type "none")
1146 '("gboolean" "show_avatars")
1150 (define-method get_show_groups
1151 (of-object "EmpathyContactListStore")
1152 (c-name "empathy_contact_list_store_get_show_groups")
1153 (return-type "gboolean")
1156 (define-method set_show_groups
1157 (of-object "EmpathyContactListStore")
1158 (c-name "empathy_contact_list_store_set_show_groups")
1159 (return-type "none")
1161 '("gboolean" "show_groups")
1165 (define-method get_is_compact
1166 (of-object "EmpathyContactListStore")
1167 (c-name "empathy_contact_list_store_get_is_compact")
1168 (return-type "gboolean")
1171 (define-method set_is_compact
1172 (of-object "EmpathyContactListStore")
1173 (c-name "empathy_contact_list_store_set_is_compact")
1174 (return-type "none")
1176 '("gboolean" "is_compact")
1180 (define-method get_sort_criterium
1181 (of-object "EmpathyContactListStore")
1182 (c-name "empathy_contact_list_store_get_sort_criterium")
1183 (return-type "EmpathyContactListStoreSort")
1186 (define-method set_sort_criterium
1187 (of-object "EmpathyContactListStore")
1188 (c-name "empathy_contact_list_store_set_sort_criterium")
1189 (return-type "none")
1191 '("EmpathyContactListStoreSort" "sort_criterium")
1195 (define-function empathy_contact_list_store_row_separator_func
1196 (c-name "empathy_contact_list_store_row_separator_func")
1197 (return-type "gboolean")
1199 '("GtkTreeModel*" "model")
1200 '("GtkTreeIter*" "iter")
1201 '("gpointer" "data")
1205 (define-function empathy_contact_list_store_get_parent_group
1206 (c-name "empathy_contact_list_store_get_parent_group")
1207 (return-type "gchar*")
1209 '("GtkTreeModel*" "model")
1210 '("GtkTreePath*" "path")
1211 '("gboolean*" "path_is_group")
1215 (define-function empathy_contact_list_store_search_equal_func
1216 (c-name "empathy_contact_list_store_search_equal_func")
1217 (return-type "gboolean")
1219 '("GtkTreeModel*" "model")
1221 '("const-gchar*" "key")
1222 '("GtkTreeIter*" "iter")
1223 '("gpointer" "search_data")
1229 ;; From empathy-presence-chooser.h
1231 (define-function empathy_presence_chooser_get_type
1232 (c-name "empathy_presence_chooser_get_type")
1233 (return-type "GType")
1236 (define-function empathy_presence_chooser_new
1237 (c-name "empathy_presence_chooser_new")
1238 (is-constructor-of "EmpathyPresenceChooser")
1239 (return-type "GtkWidget*")
1242 (define-function empathy_presence_chooser_create_menu
1243 (c-name "empathy_presence_chooser_create_menu")
1244 (return-type "GtkWidget*")
1249 ;; From empathy-theme-manager.h
1251 (define-function empathy_theme_manager_get_type
1252 (c-name "empathy_theme_manager_get_type")
1253 (return-type "GType")
1256 (define-function empathy_theme_manager_get
1257 (c-name "empathy_theme_manager_get")
1258 (return-type "EmpathyThemeManager*")
1261 (define-function empathy_theme_manager_get_themes
1262 (c-name "empathy_theme_manager_get_themes")
1263 (return-type "const-gchar**")
1266 (define-method apply
1267 (of-object "EmpathyThemeManager")
1268 (c-name "empathy_theme_manager_apply")
1269 (return-type "none")
1271 '("EmpathyChatView*" "view")
1272 '("const-gchar*" "theme")
1276 (define-method apply_saved
1277 (of-object "EmpathyThemeManager")
1278 (c-name "empathy_theme_manager_apply_saved")
1279 (return-type "none")
1281 '("EmpathyChatView*" "view")
1287 ;; From empathy-avatar-image.h
1289 (define-function empathy_avatar_image_get_type
1290 (c-name "empathy_avatar_image_get_type")
1291 (return-type "GType")
1294 (define-function empathy_avatar_image_new
1295 (c-name "empathy_avatar_image_new")
1296 (is-constructor-of "EmpathyAvatarImage")
1297 (return-type "GtkWidget*")
1301 (of-object "EmpathyAvatarImage")
1302 (c-name "empathy_avatar_image_set")
1303 (return-type "none")
1305 '("EmpathyAvatar*" "avatar")
1311 ;; From empathy-contact-list-view.h
1313 (define-function empathy_contact_list_view_get_type
1314 (c-name "empathy_contact_list_view_get_type")
1315 (return-type "GType")
1318 (define-function empathy_contact_list_view_new
1319 (c-name "empathy_contact_list_view_new")
1320 (is-constructor-of "EmpathyContactListView")
1321 (return-type "EmpathyContactListView*")
1323 '("EmpathyContactListStore*" "store")
1324 '("EmpathyContactListFeatures" "features")
1328 (define-method set_features
1329 (of-object "EmpathyContactListView")
1330 (c-name "empathy_contact_list_view_set_features")
1331 (return-type "none")
1333 '("EmpathyContactListFeatures" "features")
1337 (define-method get_features
1338 (of-object "EmpathyContactListView")
1339 (c-name "empathy_contact_list_view_get_features")
1340 (return-type "EmpathyContactListFeatures")
1343 (define-method get_selected
1344 (of-object "EmpathyContactListView")
1345 (c-name "empathy_contact_list_view_get_selected")
1346 (return-type "EmpathyContact*")
1349 (define-method get_selected_group
1350 (of-object "EmpathyContactListView")
1351 (c-name "empathy_contact_list_view_get_selected_group")
1352 (return-type "gchar*")
1355 (define-method get_contact_menu
1356 (of-object "EmpathyContactListView")
1357 (c-name "empathy_contact_list_view_get_contact_menu")
1358 (return-type "GtkWidget*")
1360 '("EmpathyContact*" "contact")
1364 (define-method get_group_menu
1365 (of-object "EmpathyContactListView")
1366 (c-name "empathy_contact_list_view_get_group_menu")
1367 (return-type "GtkWidget*")
1372 ;; From empathy-private-chat.h
1374 (define-function empathy_private_chat_get_type
1375 (c-name "empathy_private_chat_get_type")
1376 (return-type "GType")
1379 (define-function empathy_private_chat_new
1380 (c-name "empathy_private_chat_new")
1381 (is-constructor-of "EmpathyPrivateChat")
1382 (return-type "EmpathyPrivateChat*")
1384 '("EmpathyTpChat*" "tp_chat")
1388 (define-method get_contact
1389 (of-object "EmpathyPrivateChat")
1390 (c-name "empathy_private_chat_get_contact")
1391 (return-type "EmpathyContact*")
1396 ;; From empathy-ui-utils.h
1398 (define-function empathy_glade_get_file_simple
1399 (c-name "empathy_glade_get_file_simple")
1400 (return-type "none")
1402 '("const-gchar*" "filename")
1403 '("const-gchar*" "root")
1404 '("const-gchar*" "domain")
1405 '("const-gchar*" "first_required_widget")
1410 (define-function empathy_glade_get_file
1411 (c-name "empathy_glade_get_file")
1412 (return-type "GladeXML*")
1414 '("const-gchar*" "filename")
1415 '("const-gchar*" "root")
1416 '("const-gchar*" "domain")
1417 '("const-gchar*" "first_required_widget")
1422 (define-function empathy_glade_connect
1423 (c-name "empathy_glade_connect")
1424 (return-type "none")
1426 '("GladeXML*" "gui")
1427 '("gpointer" "user_data")
1428 '("gchar*" "first_widget")
1433 (define-function empathy_glade_setup_size_group
1434 (c-name "empathy_glade_setup_size_group")
1435 (return-type "none")
1437 '("GladeXML*" "gui")
1438 '("GtkSizeGroupMode" "mode")
1439 '("gchar*" "first_widget")
1444 (define-function empathy_icon_name_from_account
1445 (c-name "empathy_icon_name_from_account")
1446 (return-type "const-gchar*")
1448 '("McAccount*" "account")
1452 (define-function empathy_icon_name_for_presence
1453 (c-name "empathy_icon_name_for_presence")
1454 (return-type "const-gchar*")
1456 '("McPresence" "presence")
1460 (define-function empathy_icon_name_for_contact
1461 (c-name "empathy_icon_name_for_contact")
1462 (return-type "const-gchar*")
1464 '("EmpathyContact*" "contact")
1468 (define-function empathy_pixbuf_from_data
1469 (c-name "empathy_pixbuf_from_data")
1470 (return-type "GdkPixbuf*")
1473 '("gsize" "data_size")
1477 (define-function empathy_pixbuf_from_avatar_scaled
1478 (c-name "empathy_pixbuf_from_avatar_scaled")
1479 (return-type "GdkPixbuf*")
1481 '("EmpathyAvatar*" "avatar")
1487 (define-function empathy_pixbuf_avatar_from_contact_scaled
1488 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1489 (return-type "GdkPixbuf*")
1491 '("EmpathyContact*" "contact")
1497 (define-function empathy_pixbuf_scale_down_if_necessary
1498 (c-name "empathy_pixbuf_scale_down_if_necessary")
1499 (return-type "GdkPixbuf*")
1501 '("GdkPixbuf*" "pixbuf")
1502 '("gint" "max_size")
1506 (define-function empathy_pixbuf_from_icon_name
1507 (c-name "empathy_pixbuf_from_icon_name")
1508 (return-type "GdkPixbuf*")
1510 '("const-gchar*" "icon_name")
1511 '("GtkIconSize" "icon_size")
1515 (define-function empathy_text_iter_forward_search
1516 (c-name "empathy_text_iter_forward_search")
1517 (return-type "gboolean")
1519 '("const-GtkTextIter*" "iter")
1520 '("const-gchar*" "str")
1521 '("GtkTextIter*" "match_start")
1522 '("GtkTextIter*" "match_end")
1523 '("const-GtkTextIter*" "limit")
1527 (define-function empathy_text_iter_backward_search
1528 (c-name "empathy_text_iter_backward_search")
1529 (return-type "gboolean")
1531 '("const-GtkTextIter*" "iter")
1532 '("const-gchar*" "str")
1533 '("GtkTextIter*" "match_start")
1534 '("GtkTextIter*" "match_end")
1535 '("const-GtkTextIter*" "limit")
1539 (define-function empathy_window_get_is_visible
1540 (c-name "empathy_window_get_is_visible")
1541 (return-type "gboolean")
1543 '("GtkWindow*" "window")
1547 (define-function empathy_window_present
1548 (c-name "empathy_window_present")
1549 (return-type "none")
1551 '("GtkWindow*" "window")
1552 '("gboolean" "steal_focus")
1556 (define-function empathy_window_iconify
1557 (c-name "empathy_window_iconify")
1558 (return-type "none")
1560 '("GtkWindow*" "window")
1561 '("GtkStatusIcon*" "status_icon")
1565 (define-function empathy_get_toplevel_window
1566 (c-name "empathy_get_toplevel_window")
1567 (return-type "GtkWindow*")
1569 '("GtkWidget*" "widget")
1573 (define-function empathy_url_show
1574 (c-name "empathy_url_show")
1575 (return-type "none")
1577 '("const-char*" "url")
1581 (define-function empathy_toggle_button_set_state_quietly
1582 (c-name "empathy_toggle_button_set_state_quietly")
1583 (return-type "none")
1585 '("GtkWidget*" "widget")
1586 '("GCallback" "callback")
1587 '("gpointer" "user_data")
1588 '("gboolean" "active")
1592 (define-function empathy_link_button_new
1593 (c-name "empathy_link_button_new")
1594 (is-constructor-of "EmpathyLinkButton")
1595 (return-type "GtkWidget*")
1597 '("const-gchar*" "url")
1598 '("const-gchar*" "title")
1602 (define-function empathy_text_buffer_tag_set
1603 (c-name "empathy_text_buffer_tag_set")
1604 (return-type "GtkTextTag*")
1606 '("GtkTextBuffer*" "buffer")
1607 '("const-gchar*" "tag_name")
1608 '("const-gchar*" "first_property_name")
1615 ;; From empathy-cell-renderer-activatable.h
1617 (define-function empathy_cell_renderer_activatable_get_type
1618 (c-name "empathy_cell_renderer_activatable_get_type")
1619 (return-type "GType")
1622 (define-function empathy_cell_renderer_activatable_new
1623 (c-name "empathy_cell_renderer_activatable_new")
1624 (is-constructor-of "EmpathyCellRendererActivatable")
1625 (return-type "GtkCellRenderer*")
1630 ;; From empathy-contact-widget.h
1632 (define-method widget_new
1633 (of-object "EmpathyContact")
1634 (c-name "empathy_contact_widget_new")
1635 (return-type "GtkWidget*")
1637 '("EmpathyContactWidgetFlags" "flags")
1641 (define-function empathy_contact_widget_get_contact
1642 (c-name "empathy_contact_widget_get_contact")
1643 (return-type "EmpathyContact*")
1645 '("GtkWidget*" "widget")
1649 (define-function empathy_contact_widget_set_contact
1650 (c-name "empathy_contact_widget_set_contact")
1651 (return-type "none")
1653 '("GtkWidget*" "widget")
1654 '("EmpathyContact*" "contact")
1658 (define-function empathy_contact_widget_set_account_filter
1659 (c-name "empathy_contact_widget_set_account_filter")
1660 (return-type "none")
1662 '("GtkWidget*" "widget")
1663 '("EmpathyAccountChooserFilterFunc" "filter")
1664 '("gpointer" "user_data")
1670 ;; From empathy-profile-chooser.h
1672 (define-function empathy_profile_chooser_new
1673 (c-name "empathy_profile_chooser_new")
1674 (is-constructor-of "EmpathyProfileChooser")
1675 (return-type "GtkWidget*")
1678 (define-function empathy_profile_chooser_get_selected
1679 (c-name "empathy_profile_chooser_get_selected")
1680 (return-type "McProfile*")
1682 '("GtkWidget*" "widget")
1686 (define-function empathy_profile_chooser_n_profiles
1687 (c-name "empathy_profile_chooser_n_profiles")
1688 (return-type "gint")
1690 '("GtkWidget*" "widget")
1696 ;; From empathy-cell-renderer-expander.h
1698 (define-function empathy_cell_renderer_expander_get_type
1699 (c-name "empathy_cell_renderer_expander_get_type")
1700 (return-type "GType")
1703 (define-function empathy_cell_renderer_expander_new
1704 (c-name "empathy_cell_renderer_expander_new")
1705 (is-constructor-of "EmpathyCellRendererExpander")
1706 (return-type "GtkCellRenderer*")
1711 ;; From empathy-geometry.h
1713 (define-function empathy_geometry_save
1714 (c-name "empathy_geometry_save")
1715 (return-type "none")
1717 '("const-gchar*" "name")
1725 (define-function empathy_geometry_load
1726 (c-name "empathy_geometry_load")
1727 (return-type "none")
1729 '("const-gchar*" "name")
1739 ;; From empathy-smiley-manager.h
1741 (define-function empathy_smiley_manager_get_type
1742 (c-name "empathy_smiley_manager_get_type")
1743 (return-type "GType")
1746 (define-function empathy_smiley_manager_new
1747 (c-name "empathy_smiley_manager_new")
1748 (is-constructor-of "EmpathySmileyManager")
1749 (return-type "EmpathySmileyManager*")
1753 (of-object "EmpathySmileyManager")
1754 (c-name "empathy_smiley_manager_load")
1755 (return-type "none")
1759 (of-object "EmpathySmileyManager")
1760 (c-name "empathy_smiley_manager_add")
1761 (return-type "none")
1763 '("const-gchar*" "icon_name")
1764 '("const-gchar*" "first_str")
1769 (define-method add_from_pixbuf
1770 (of-object "EmpathySmileyManager")
1771 (c-name "empathy_smiley_manager_add_from_pixbuf")
1772 (return-type "none")
1774 '("GdkPixbuf*" "smiley")
1775 '("const-gchar*" "first_str")
1780 (define-method get_all
1781 (of-object "EmpathySmileyManager")
1782 (c-name "empathy_smiley_manager_get_all")
1783 (return-type "GSList*")
1786 (define-method parse
1787 (of-object "EmpathySmileyManager")
1788 (c-name "empathy_smiley_manager_parse")
1789 (return-type "GSList*")
1791 '("const-gchar*" "text")
1796 (of-object "EmpathySmiley")
1797 (c-name "empathy_smiley_free")
1798 (return-type "none")
1803 ;; From empathy-cell-renderer-text.h
1805 (define-function empathy_cell_renderer_text_get_type
1806 (c-name "empathy_cell_renderer_text_get_type")
1807 (return-type "GType")
1810 (define-function empathy_cell_renderer_text_new
1811 (c-name "empathy_cell_renderer_text_new")
1812 (is-constructor-of "EmpathyCellRendererText")
1813 (return-type "GtkCellRenderer*")
1818 ;; From empathy-group-chat.h
1820 (define-function empathy_group_chat_get_type
1821 (c-name "empathy_group_chat_get_type")
1822 (return-type "GType")
1825 (define-function empathy_group_chat_new
1826 (c-name "empathy_group_chat_new")
1827 (is-constructor-of "EmpathyGroupChat")
1828 (return-type "EmpathyGroupChat*")
1830 '("EmpathyTpChatroom*" "tp_chat")
1834 (define-method get_show_contacts
1835 (of-object "EmpathyGroupChat")
1836 (c-name "empathy_group_chat_get_show_contacts")
1837 (return-type "gboolean")
1840 (define-method set_show_contacts
1841 (of-object "EmpathyGroupChat")
1842 (c-name "empathy_group_chat_set_show_contacts")
1843 (return-type "none")
1845 '("gboolean" "show")
1849 (define-method set_topic
1850 (of-object "EmpathyGroupChat")
1851 (c-name "empathy_group_chat_set_topic")
1852 (return-type "none")
1857 ;; From empathy-spell.h
1859 (define-function empathy_spell_supported
1860 (c-name "empathy_spell_supported")
1861 (return-type "gboolean")
1864 (define-function empathy_spell_get_language_name
1865 (c-name "empathy_spell_get_language_name")
1866 (return-type "const-gchar*")
1868 '("const-gchar*" "code")
1872 (define-function empathy_spell_get_language_codes
1873 (c-name "empathy_spell_get_language_codes")
1874 (return-type "GList*")
1877 (define-function empathy_spell_free_language_codes
1878 (c-name "empathy_spell_free_language_codes")
1879 (return-type "none")
1885 (define-function empathy_spell_check
1886 (c-name "empathy_spell_check")
1887 (return-type "gboolean")
1889 '("const-gchar*" "word")
1893 (define-function empathy_spell_get_suggestions
1894 (c-name "empathy_spell_get_suggestions")
1895 (return-type "GList*")
1897 '("const-gchar*" "word")
1901 (define-function empathy_spell_free_suggestions
1902 (c-name "empathy_spell_free_suggestions")
1903 (return-type "none")
1905 '("GList*" "suggestions")