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*")
289 (of-object "EmpathyChat")
290 (c-name "empathy_chat_clear")
294 (define-method scroll_down
295 (of-object "EmpathyChat")
296 (c-name "empathy_chat_scroll_down")
301 (of-object "EmpathyChat")
302 (c-name "empathy_chat_cut")
307 (of-object "EmpathyChat")
308 (c-name "empathy_chat_copy")
313 (of-object "EmpathyChat")
314 (c-name "empathy_chat_paste")
318 (define-method get_name
319 (of-object "EmpathyChat")
320 (c-name "empathy_chat_get_name")
321 (return-type "const-gchar*")
324 (define-method get_tooltip
325 (of-object "EmpathyChat")
326 (c-name "empathy_chat_get_tooltip")
327 (return-type "gchar*")
330 (define-method get_status_icon_name
331 (of-object "EmpathyChat")
332 (c-name "empathy_chat_get_status_icon_name")
333 (return-type "const-gchar*")
336 (define-method get_widget
337 (of-object "EmpathyChat")
338 (c-name "empathy_chat_get_widget")
339 (return-type "GtkWidget*")
342 (define-method is_group_chat
343 (of-object "EmpathyChat")
344 (c-name "empathy_chat_is_group_chat")
345 (return-type "gboolean")
348 (define-method is_connected
349 (of-object "EmpathyChat")
350 (c-name "empathy_chat_is_connected")
351 (return-type "gboolean")
354 (define-method save_geometry
355 (of-object "EmpathyChat")
356 (c-name "empathy_chat_save_geometry")
366 (define-method load_geometry
367 (of-object "EmpathyChat")
368 (c-name "empathy_chat_load_geometry")
378 (define-method set_tp_chat
379 (of-object "EmpathyChat")
380 (c-name "empathy_chat_set_tp_chat")
383 '("EmpathyTpChat*" "tp_chat")
387 (define-method get_id
388 (of-object "EmpathyChat")
389 (c-name "empathy_chat_get_id")
390 (return-type "const-gchar*")
393 (define-method get_account
394 (of-object "EmpathyChat")
395 (c-name "empathy_chat_get_account")
396 (return-type "McAccount*")
399 (define-function empathy_chat_get_is_command
400 (c-name "empathy_chat_get_is_command")
401 (return-type "gboolean")
403 '("const-gchar*" "str")
407 (define-method correct_word
408 (of-object "EmpathyChat")
409 (c-name "empathy_chat_correct_word")
412 '("GtkTextIter" "start")
413 '("GtkTextIter" "end")
414 '("const-gchar*" "new_word")
418 (define-method should_play_sound
419 (of-object "EmpathyChat")
420 (c-name "empathy_chat_should_play_sound")
421 (return-type "gboolean")
424 (define-function empathy_chat_should_highlight_nick
425 (c-name "empathy_chat_should_highlight_nick")
426 (return-type "gboolean")
428 '("EmpathyMessage*" "message")
434 ;; From empathy-irc-network-dialog.h
436 (define-method dialog_show
437 (of-object "EmpathyIrcNetwork")
438 (c-name "empathy_irc_network_dialog_show")
439 (return-type "GtkWidget*")
441 '("GtkWidget*" "parent")
447 ;; From empathy-spell-dialog.h
449 (define-function empathy_spell_dialog_show
450 (c-name "empathy_spell_dialog_show")
453 '("EmpathyChat*" "chat")
454 '("GtkTextIter" "start")
455 '("GtkTextIter" "end")
456 '("const-gchar*" "word")
462 ;; From empathy-accounts-dialog.h
464 (define-function empathy_accounts_dialog_show
465 (c-name "empathy_accounts_dialog_show")
466 (return-type "GtkWidget*")
468 '("GtkWindow*" "parent")
474 ;; From empathy-chat-view.h
476 (define-function empathy_chat_view_get_type
477 (c-name "empathy_chat_view_get_type")
478 (return-type "GType")
481 (define-function empathy_chat_view_new
482 (c-name "empathy_chat_view_new")
483 (is-constructor-of "EmpathyChatView")
484 (return-type "EmpathyChatView*")
487 (define-method append_message
488 (of-object "EmpathyChatView")
489 (c-name "empathy_chat_view_append_message")
492 '("EmpathyMessage*" "msg")
496 (define-method append_event
497 (of-object "EmpathyChatView")
498 (c-name "empathy_chat_view_append_event")
501 '("const-gchar*" "str")
505 (define-method append_button
506 (of-object "EmpathyChatView")
507 (c-name "empathy_chat_view_append_button")
510 '("const-gchar*" "message")
511 '("GtkWidget*" "button1")
512 '("GtkWidget*" "button2")
516 (define-method set_margin
517 (of-object "EmpathyChatView")
518 (c-name "empathy_chat_view_set_margin")
525 (define-method scroll
526 (of-object "EmpathyChatView")
527 (c-name "empathy_chat_view_scroll")
530 '("gboolean" "allow_scrolling")
534 (define-method scroll_down
535 (of-object "EmpathyChatView")
536 (c-name "empathy_chat_view_scroll_down")
540 (define-method get_selection_bounds
541 (of-object "EmpathyChatView")
542 (c-name "empathy_chat_view_get_selection_bounds")
543 (return-type "gboolean")
545 '("GtkTextIter*" "start")
546 '("GtkTextIter*" "end")
551 (of-object "EmpathyChatView")
552 (c-name "empathy_chat_view_clear")
556 (define-method find_previous
557 (of-object "EmpathyChatView")
558 (c-name "empathy_chat_view_find_previous")
559 (return-type "gboolean")
561 '("const-gchar*" "search_criteria")
562 '("gboolean" "new_search")
566 (define-method find_next
567 (of-object "EmpathyChatView")
568 (c-name "empathy_chat_view_find_next")
569 (return-type "gboolean")
571 '("const-gchar*" "search_criteria")
572 '("gboolean" "new_search")
576 (define-method find_abilities
577 (of-object "EmpathyChatView")
578 (c-name "empathy_chat_view_find_abilities")
581 '("const-gchar*" "search_criteria")
582 '("gboolean*" "can_do_previous")
583 '("gboolean*" "can_do_next")
587 (define-method highlight
588 (of-object "EmpathyChatView")
589 (c-name "empathy_chat_view_highlight")
592 '("const-gchar*" "text")
596 (define-method copy_clipboard
597 (of-object "EmpathyChatView")
598 (c-name "empathy_chat_view_copy_clipboard")
602 (define-method get_theme
603 (of-object "EmpathyChatView")
604 (c-name "empathy_chat_view_get_theme")
605 (return-type "EmpathyTheme*")
608 (define-method set_theme
609 (of-object "EmpathyChatView")
610 (c-name "empathy_chat_view_set_theme")
613 '("EmpathyTheme*" "theme")
617 (define-method set_margin
618 (of-object "EmpathyChatView")
619 (c-name "empathy_chat_view_set_margin")
626 (define-function empathy_chat_view_get_smiley_menu
627 (c-name "empathy_chat_view_get_smiley_menu")
628 (return-type "GtkWidget*")
630 '("GCallback" "callback")
631 '("gpointer" "user_data")
635 (define-method set_is_group_chat
636 (of-object "EmpathyChatView")
637 (c-name "empathy_chat_view_set_is_group_chat")
640 '("gboolean" "is_group_chat")
644 (define-method get_last_timestamp
645 (of-object "EmpathyChatView")
646 (c-name "empathy_chat_view_get_last_timestamp")
647 (return-type "time_t")
650 (define-method set_last_timestamp
651 (of-object "EmpathyChatView")
652 (c-name "empathy_chat_view_set_last_timestamp")
655 '("time_t" "timestamp")
659 (define-method get_last_contact
660 (of-object "EmpathyChatView")
661 (c-name "empathy_chat_view_get_last_contact")
662 (return-type "EmpathyContact*")
665 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
666 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
667 (return-type "GdkPixbuf*")
669 '("EmpathyContact*" "contact")
675 ;; From empathy-log-window.h
677 (define-function empathy_log_window_show
678 (c-name "empathy_log_window_show")
679 (return-type "GtkWidget*")
681 '("McAccount*" "account")
682 '("const-gchar*" "chat_id")
683 '("gboolean" "chatroom")
684 '("GtkWindow*" "parent")
690 ;; From empathy-theme-boxes.h
692 (define-function empathy_theme_boxes_get_type
693 (c-name "empathy_theme_boxes_get_type")
694 (return-type "GType")
699 ;; From empathy-account-widget.h
701 (define-function empathy_account_widget_handle_params
702 (c-name "empathy_account_widget_handle_params")
705 '("McAccount*" "account")
706 '("GladeXML*" "glade")
707 '("const-gchar*" "first_widget_name")
712 (define-function empathy_account_widget_add_forget_button
713 (c-name "empathy_account_widget_add_forget_button")
716 '("McAccount*" "account")
717 '("GladeXML*" "glade")
718 '("const-gchar*" "button")
719 '("const-gchar*" "entry")
723 (define-function empathy_account_widget_generic_new
724 (c-name "empathy_account_widget_generic_new")
725 (is-constructor-of "EmpathyAccountWidgetGeneric")
726 (return-type "GtkWidget*")
728 '("McAccount*" "account")
732 (define-function empathy_account_widget_salut_new
733 (c-name "empathy_account_widget_salut_new")
734 (is-constructor-of "EmpathyAccountWidgetSalut")
735 (return-type "GtkWidget*")
737 '("McAccount*" "account")
741 (define-function empathy_account_widget_msn_new
742 (c-name "empathy_account_widget_msn_new")
743 (is-constructor-of "EmpathyAccountWidgetMsn")
744 (return-type "GtkWidget*")
746 '("McAccount*" "account")
750 (define-function empathy_account_widget_jabber_new
751 (c-name "empathy_account_widget_jabber_new")
752 (is-constructor-of "EmpathyAccountWidgetJabber")
753 (return-type "GtkWidget*")
755 '("McAccount*" "account")
759 (define-function empathy_account_widget_icq_new
760 (c-name "empathy_account_widget_icq_new")
761 (is-constructor-of "EmpathyAccountWidgetIcq")
762 (return-type "GtkWidget*")
764 '("McAccount*" "account")
768 (define-function empathy_account_widget_yahoo_new
769 (c-name "empathy_account_widget_yahoo_new")
770 (is-constructor-of "EmpathyAccountWidgetYahoo")
771 (return-type "GtkWidget*")
773 '("McAccount*" "account")
779 ;; From empathy-conf.h
781 (define-function empathy_conf_get_type
782 (c-name "empathy_conf_get_type")
783 (return-type "GType")
786 (define-function empathy_conf_get
787 (c-name "empathy_conf_get")
788 (return-type "EmpathyConf*")
791 (define-function empathy_conf_shutdown
792 (c-name "empathy_conf_shutdown")
796 (define-method notify_add
797 (of-object "EmpathyConf")
798 (c-name "empathy_conf_notify_add")
799 (return-type "guint")
801 '("const-gchar*" "key")
802 '("EmpathyConfNotifyFunc" "func")
807 (define-method notify_remove
808 (of-object "EmpathyConf")
809 (c-name "empathy_conf_notify_remove")
810 (return-type "gboolean")
816 (define-method set_int
817 (of-object "EmpathyConf")
818 (c-name "empathy_conf_set_int")
819 (return-type "gboolean")
821 '("const-gchar*" "key")
826 (define-method get_int
827 (of-object "EmpathyConf")
828 (c-name "empathy_conf_get_int")
829 (return-type "gboolean")
831 '("const-gchar*" "key")
836 (define-method set_bool
837 (of-object "EmpathyConf")
838 (c-name "empathy_conf_set_bool")
839 (return-type "gboolean")
841 '("const-gchar*" "key")
842 '("gboolean" "value")
846 (define-method get_bool
847 (of-object "EmpathyConf")
848 (c-name "empathy_conf_get_bool")
849 (return-type "gboolean")
851 '("const-gchar*" "key")
852 '("gboolean*" "value")
856 (define-method set_string
857 (of-object "EmpathyConf")
858 (c-name "empathy_conf_set_string")
859 (return-type "gboolean")
861 '("const-gchar*" "key")
862 '("const-gchar*" "value")
866 (define-method get_string
867 (of-object "EmpathyConf")
868 (c-name "empathy_conf_get_string")
869 (return-type "gboolean")
871 '("const-gchar*" "key")
876 (define-method set_string_list
877 (of-object "EmpathyConf")
878 (c-name "empathy_conf_set_string_list")
879 (return-type "gboolean")
881 '("const-gchar*" "key")
886 (define-method get_string_list
887 (of-object "EmpathyConf")
888 (c-name "empathy_conf_get_string_list")
889 (return-type "gboolean")
891 '("const-gchar*" "key")
892 '("GSList**" "value")
898 ;; From empathy-theme.h
900 (define-function empathy_theme_get_type
901 (c-name "empathy_theme_get_type")
902 (return-type "GType")
905 (define-method update_view
906 (of-object "EmpathyTheme")
907 (c-name "empathy_theme_update_view")
910 '("EmpathyChatView*" "view")
914 (define-method append_message
915 (of-object "EmpathyTheme")
916 (c-name "empathy_theme_append_message")
919 '("EmpathyChatView*" "view")
920 '("EmpathyMessage*" "msg")
924 (define-method append_text
925 (of-object "EmpathyTheme")
926 (c-name "empathy_theme_append_text")
929 '("EmpathyChatView*" "view")
930 '("const-gchar*" "body")
931 '("const-gchar*" "tag")
932 '("const-gchar*" "link_tag")
936 (define-method append_spacing
937 (of-object "EmpathyTheme")
938 (c-name "empathy_theme_append_spacing")
941 '("EmpathyChatView*" "view")
945 (define-method append_event
946 (of-object "EmpathyTheme")
947 (c-name "empathy_theme_append_event")
950 '("EmpathyChatView*" "view")
951 '("const-gchar*" "str")
955 (define-method append_timestamp
956 (of-object "EmpathyTheme")
957 (c-name "empathy_theme_append_timestamp")
960 '("EmpathyChatView*" "view")
961 '("EmpathyMessage*" "message")
962 '("gboolean" "show_date")
963 '("gboolean" "show_time")
967 (define-method maybe_append_date_and_time
968 (of-object "EmpathyTheme")
969 (c-name "empathy_theme_maybe_append_date_and_time")
972 '("EmpathyChatView*" "view")
973 '("EmpathyMessage*" "message")
977 (define-method get_show_avatars
978 (of-object "EmpathyTheme")
979 (c-name "empathy_theme_get_show_avatars")
980 (return-type "gboolean")
983 (define-method set_show_avatars
984 (of-object "EmpathyTheme")
985 (c-name "empathy_theme_set_show_avatars")
994 ;; From empathy-account-widget-irc.h
996 (define-function empathy_account_widget_irc_new
997 (c-name "empathy_account_widget_irc_new")
998 (is-constructor-of "EmpathyAccountWidgetIrc")
999 (return-type "GtkWidget*")
1001 '("McAccount*" "account")
1007 ;; From empathy-contact-dialogs.h
1009 (define-function empathy_subscription_dialog_show
1010 (c-name "empathy_subscription_dialog_show")
1011 (return-type "none")
1013 '("EmpathyContact*" "contact")
1014 '("GtkWindow*" "parent")
1018 (define-method information_dialog_show
1019 (of-object "EmpathyContact")
1020 (c-name "empathy_contact_information_dialog_show")
1021 (return-type "none")
1023 '("GtkWindow*" "parent")
1024 '("gboolean" "edit")
1025 '("gboolean" "is_user")
1029 (define-function empathy_new_contact_dialog_show
1030 (c-name "empathy_new_contact_dialog_show")
1031 (return-type "none")
1033 '("GtkWindow*" "parent")
1039 ;; From empathy-new-message-dialog.h
1041 (define-function empathy_new_message_dialog_show
1042 (c-name "empathy_new_message_dialog_show")
1043 (return-type "GtkWidget*")
1045 '("GtkWindow*" "parent")
1051 ;; From empathy-theme-irc.h
1053 (define-function empathy_theme_irc_get_type
1054 (c-name "empathy_theme_irc_get_type")
1055 (return-type "GType")
1060 ;; From empathy-avatar-chooser.h
1062 (define-function empathy_avatar_chooser_get_type
1063 (c-name "empathy_avatar_chooser_get_type")
1064 (return-type "GType")
1067 (define-function empathy_avatar_chooser_new
1068 (c-name "empathy_avatar_chooser_new")
1069 (is-constructor-of "EmpathyAvatarChooser")
1070 (return-type "GtkWidget*")
1074 (of-object "EmpathyAvatarChooser")
1075 (c-name "empathy_avatar_chooser_set")
1076 (return-type "none")
1078 '("EmpathyAvatar*" "avatar")
1082 (define-method get_image_data
1083 (of-object "EmpathyAvatarChooser")
1084 (c-name "empathy_avatar_chooser_get_image_data")
1085 (return-type "none")
1087 '("const-gchar**" "data")
1088 '("gsize*" "data_size")
1089 '("const-gchar**" "mime_type")
1095 ;; From empathy-contact-list-store.h
1097 (define-function empathy_contact_list_store_get_type
1098 (c-name "empathy_contact_list_store_get_type")
1099 (return-type "GType")
1102 (define-method store_new
1103 (of-object "EmpathyContactList")
1104 (c-name "empathy_contact_list_store_new")
1105 (return-type "EmpathyContactListStore*")
1108 (define-method get_list_iface
1109 (of-object "EmpathyContactListStore")
1110 (c-name "empathy_contact_list_store_get_list_iface")
1111 (return-type "EmpathyContactList*")
1114 (define-method get_show_offline
1115 (of-object "EmpathyContactListStore")
1116 (c-name "empathy_contact_list_store_get_show_offline")
1117 (return-type "gboolean")
1120 (define-method set_show_offline
1121 (of-object "EmpathyContactListStore")
1122 (c-name "empathy_contact_list_store_set_show_offline")
1123 (return-type "none")
1125 '("gboolean" "show_offline")
1129 (define-method get_show_avatars
1130 (of-object "EmpathyContactListStore")
1131 (c-name "empathy_contact_list_store_get_show_avatars")
1132 (return-type "gboolean")
1135 (define-method set_show_avatars
1136 (of-object "EmpathyContactListStore")
1137 (c-name "empathy_contact_list_store_set_show_avatars")
1138 (return-type "none")
1140 '("gboolean" "show_avatars")
1144 (define-method get_show_groups
1145 (of-object "EmpathyContactListStore")
1146 (c-name "empathy_contact_list_store_get_show_groups")
1147 (return-type "gboolean")
1150 (define-method set_show_groups
1151 (of-object "EmpathyContactListStore")
1152 (c-name "empathy_contact_list_store_set_show_groups")
1153 (return-type "none")
1155 '("gboolean" "show_groups")
1159 (define-method get_is_compact
1160 (of-object "EmpathyContactListStore")
1161 (c-name "empathy_contact_list_store_get_is_compact")
1162 (return-type "gboolean")
1165 (define-method set_is_compact
1166 (of-object "EmpathyContactListStore")
1167 (c-name "empathy_contact_list_store_set_is_compact")
1168 (return-type "none")
1170 '("gboolean" "is_compact")
1174 (define-method get_sort_criterium
1175 (of-object "EmpathyContactListStore")
1176 (c-name "empathy_contact_list_store_get_sort_criterium")
1177 (return-type "EmpathyContactListStoreSort")
1180 (define-method set_sort_criterium
1181 (of-object "EmpathyContactListStore")
1182 (c-name "empathy_contact_list_store_set_sort_criterium")
1183 (return-type "none")
1185 '("EmpathyContactListStoreSort" "sort_criterium")
1189 (define-function empathy_contact_list_store_row_separator_func
1190 (c-name "empathy_contact_list_store_row_separator_func")
1191 (return-type "gboolean")
1193 '("GtkTreeModel*" "model")
1194 '("GtkTreeIter*" "iter")
1195 '("gpointer" "data")
1199 (define-function empathy_contact_list_store_get_parent_group
1200 (c-name "empathy_contact_list_store_get_parent_group")
1201 (return-type "gchar*")
1203 '("GtkTreeModel*" "model")
1204 '("GtkTreePath*" "path")
1205 '("gboolean*" "path_is_group")
1209 (define-function empathy_contact_list_store_search_equal_func
1210 (c-name "empathy_contact_list_store_search_equal_func")
1211 (return-type "gboolean")
1213 '("GtkTreeModel*" "model")
1215 '("const-gchar*" "key")
1216 '("GtkTreeIter*" "iter")
1217 '("gpointer" "search_data")
1223 ;; From empathy-presence-chooser.h
1225 (define-function empathy_presence_chooser_get_type
1226 (c-name "empathy_presence_chooser_get_type")
1227 (return-type "GType")
1230 (define-function empathy_presence_chooser_new
1231 (c-name "empathy_presence_chooser_new")
1232 (is-constructor-of "EmpathyPresenceChooser")
1233 (return-type "GtkWidget*")
1236 (define-function empathy_presence_chooser_create_menu
1237 (c-name "empathy_presence_chooser_create_menu")
1238 (return-type "GtkWidget*")
1243 ;; From empathy-theme-manager.h
1245 (define-function empathy_theme_manager_get_type
1246 (c-name "empathy_theme_manager_get_type")
1247 (return-type "GType")
1250 (define-function empathy_theme_manager_get
1251 (c-name "empathy_theme_manager_get")
1252 (return-type "EmpathyThemeManager*")
1255 (define-function empathy_theme_manager_get_themes
1256 (c-name "empathy_theme_manager_get_themes")
1257 (return-type "const-gchar**")
1260 (define-method apply
1261 (of-object "EmpathyThemeManager")
1262 (c-name "empathy_theme_manager_apply")
1263 (return-type "none")
1265 '("EmpathyChatView*" "view")
1266 '("const-gchar*" "theme")
1270 (define-method apply_saved
1271 (of-object "EmpathyThemeManager")
1272 (c-name "empathy_theme_manager_apply_saved")
1273 (return-type "none")
1275 '("EmpathyChatView*" "view")
1281 ;; From empathy-avatar-image.h
1283 (define-function empathy_avatar_image_get_type
1284 (c-name "empathy_avatar_image_get_type")
1285 (return-type "GType")
1288 (define-function empathy_avatar_image_new
1289 (c-name "empathy_avatar_image_new")
1290 (is-constructor-of "EmpathyAvatarImage")
1291 (return-type "GtkWidget*")
1295 (of-object "EmpathyAvatarImage")
1296 (c-name "empathy_avatar_image_set")
1297 (return-type "none")
1299 '("EmpathyAvatar*" "avatar")
1305 ;; From empathy-contact-list-view.h
1307 (define-function empathy_contact_list_view_get_type
1308 (c-name "empathy_contact_list_view_get_type")
1309 (return-type "GType")
1312 (define-function empathy_contact_list_view_new
1313 (c-name "empathy_contact_list_view_new")
1314 (is-constructor-of "EmpathyContactListView")
1315 (return-type "EmpathyContactListView*")
1317 '("EmpathyContactListStore*" "store")
1318 '("EmpathyContactListFeatures" "features")
1322 (define-method set_features
1323 (of-object "EmpathyContactListView")
1324 (c-name "empathy_contact_list_view_set_features")
1325 (return-type "none")
1327 '("EmpathyContactListFeatures" "features")
1331 (define-method get_features
1332 (of-object "EmpathyContactListView")
1333 (c-name "empathy_contact_list_view_get_features")
1334 (return-type "EmpathyContactListFeatures")
1337 (define-method get_selected
1338 (of-object "EmpathyContactListView")
1339 (c-name "empathy_contact_list_view_get_selected")
1340 (return-type "EmpathyContact*")
1343 (define-method get_selected_group
1344 (of-object "EmpathyContactListView")
1345 (c-name "empathy_contact_list_view_get_selected_group")
1346 (return-type "gchar*")
1349 (define-method get_contact_menu
1350 (of-object "EmpathyContactListView")
1351 (c-name "empathy_contact_list_view_get_contact_menu")
1352 (return-type "GtkWidget*")
1354 '("EmpathyContact*" "contact")
1358 (define-method get_group_menu
1359 (of-object "EmpathyContactListView")
1360 (c-name "empathy_contact_list_view_get_group_menu")
1361 (return-type "GtkWidget*")
1366 ;; From empathy-private-chat.h
1368 (define-function empathy_private_chat_get_type
1369 (c-name "empathy_private_chat_get_type")
1370 (return-type "GType")
1373 (define-function empathy_private_chat_new
1374 (c-name "empathy_private_chat_new")
1375 (is-constructor-of "EmpathyPrivateChat")
1376 (return-type "EmpathyPrivateChat*")
1378 '("EmpathyTpChat*" "tp_chat")
1382 (define-method get_contact
1383 (of-object "EmpathyPrivateChat")
1384 (c-name "empathy_private_chat_get_contact")
1385 (return-type "EmpathyContact*")
1390 ;; From empathy-ui-utils.h
1392 (define-function empathy_glade_get_file_simple
1393 (c-name "empathy_glade_get_file_simple")
1394 (return-type "none")
1396 '("const-gchar*" "filename")
1397 '("const-gchar*" "root")
1398 '("const-gchar*" "domain")
1399 '("const-gchar*" "first_required_widget")
1404 (define-function empathy_glade_get_file
1405 (c-name "empathy_glade_get_file")
1406 (return-type "GladeXML*")
1408 '("const-gchar*" "filename")
1409 '("const-gchar*" "root")
1410 '("const-gchar*" "domain")
1411 '("const-gchar*" "first_required_widget")
1416 (define-function empathy_glade_connect
1417 (c-name "empathy_glade_connect")
1418 (return-type "none")
1420 '("GladeXML*" "gui")
1421 '("gpointer" "user_data")
1422 '("gchar*" "first_widget")
1427 (define-function empathy_glade_setup_size_group
1428 (c-name "empathy_glade_setup_size_group")
1429 (return-type "none")
1431 '("GladeXML*" "gui")
1432 '("GtkSizeGroupMode" "mode")
1433 '("gchar*" "first_widget")
1438 (define-function empathy_icon_name_from_account
1439 (c-name "empathy_icon_name_from_account")
1440 (return-type "const-gchar*")
1442 '("McAccount*" "account")
1446 (define-function empathy_icon_name_for_presence
1447 (c-name "empathy_icon_name_for_presence")
1448 (return-type "const-gchar*")
1450 '("McPresence" "presence")
1454 (define-function empathy_icon_name_for_contact
1455 (c-name "empathy_icon_name_for_contact")
1456 (return-type "const-gchar*")
1458 '("EmpathyContact*" "contact")
1462 (define-function empathy_pixbuf_from_data
1463 (c-name "empathy_pixbuf_from_data")
1464 (return-type "GdkPixbuf*")
1467 '("gsize" "data_size")
1471 (define-function empathy_pixbuf_from_avatar_scaled
1472 (c-name "empathy_pixbuf_from_avatar_scaled")
1473 (return-type "GdkPixbuf*")
1475 '("EmpathyAvatar*" "avatar")
1481 (define-function empathy_pixbuf_avatar_from_contact_scaled
1482 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1483 (return-type "GdkPixbuf*")
1485 '("EmpathyContact*" "contact")
1491 (define-function empathy_pixbuf_scale_down_if_necessary
1492 (c-name "empathy_pixbuf_scale_down_if_necessary")
1493 (return-type "GdkPixbuf*")
1495 '("GdkPixbuf*" "pixbuf")
1496 '("gint" "max_size")
1500 (define-function empathy_pixbuf_from_icon_name
1501 (c-name "empathy_pixbuf_from_icon_name")
1502 (return-type "GdkPixbuf*")
1504 '("const-gchar*" "icon_name")
1505 '("GtkIconSize" "icon_size")
1509 (define-function empathy_text_iter_forward_search
1510 (c-name "empathy_text_iter_forward_search")
1511 (return-type "gboolean")
1513 '("const-GtkTextIter*" "iter")
1514 '("const-gchar*" "str")
1515 '("GtkTextIter*" "match_start")
1516 '("GtkTextIter*" "match_end")
1517 '("const-GtkTextIter*" "limit")
1521 (define-function empathy_text_iter_backward_search
1522 (c-name "empathy_text_iter_backward_search")
1523 (return-type "gboolean")
1525 '("const-GtkTextIter*" "iter")
1526 '("const-gchar*" "str")
1527 '("GtkTextIter*" "match_start")
1528 '("GtkTextIter*" "match_end")
1529 '("const-GtkTextIter*" "limit")
1533 (define-function empathy_window_get_is_visible
1534 (c-name "empathy_window_get_is_visible")
1535 (return-type "gboolean")
1537 '("GtkWindow*" "window")
1541 (define-function empathy_window_present
1542 (c-name "empathy_window_present")
1543 (return-type "none")
1545 '("GtkWindow*" "window")
1546 '("gboolean" "steal_focus")
1550 (define-function empathy_window_iconify
1551 (c-name "empathy_window_iconify")
1552 (return-type "none")
1554 '("GtkWindow*" "window")
1555 '("GtkStatusIcon*" "status_icon")
1559 (define-function empathy_get_toplevel_window
1560 (c-name "empathy_get_toplevel_window")
1561 (return-type "GtkWindow*")
1563 '("GtkWidget*" "widget")
1567 (define-function empathy_url_show
1568 (c-name "empathy_url_show")
1569 (return-type "none")
1571 '("const-char*" "url")
1575 (define-function empathy_toggle_button_set_state_quietly
1576 (c-name "empathy_toggle_button_set_state_quietly")
1577 (return-type "none")
1579 '("GtkWidget*" "widget")
1580 '("GCallback" "callback")
1581 '("gpointer" "user_data")
1582 '("gboolean" "active")
1586 (define-function empathy_link_button_new
1587 (c-name "empathy_link_button_new")
1588 (is-constructor-of "EmpathyLinkButton")
1589 (return-type "GtkWidget*")
1591 '("const-gchar*" "url")
1592 '("const-gchar*" "title")
1596 (define-function empathy_text_buffer_tag_set
1597 (c-name "empathy_text_buffer_tag_set")
1598 (return-type "GtkTextTag*")
1600 '("GtkTextBuffer*" "buffer")
1601 '("const-gchar*" "tag_name")
1602 '("const-gchar*" "first_property_name")
1609 ;; From empathy-cell-renderer-activatable.h
1611 (define-function empathy_cell_renderer_activatable_get_type
1612 (c-name "empathy_cell_renderer_activatable_get_type")
1613 (return-type "GType")
1616 (define-function empathy_cell_renderer_activatable_new
1617 (c-name "empathy_cell_renderer_activatable_new")
1618 (is-constructor-of "EmpathyCellRendererActivatable")
1619 (return-type "GtkCellRenderer*")
1624 ;; From empathy-contact-widget.h
1626 (define-method widget_new
1627 (of-object "EmpathyContact")
1628 (c-name "empathy_contact_widget_new")
1629 (return-type "GtkWidget*")
1631 '("EmpathyContactWidgetFlags" "flags")
1635 (define-function empathy_contact_widget_get_contact
1636 (c-name "empathy_contact_widget_get_contact")
1637 (return-type "EmpathyContact*")
1639 '("GtkWidget*" "widget")
1643 (define-function empathy_contact_widget_set_contact
1644 (c-name "empathy_contact_widget_set_contact")
1645 (return-type "none")
1647 '("GtkWidget*" "widget")
1648 '("EmpathyContact*" "contact")
1652 (define-function empathy_contact_widget_set_account_filter
1653 (c-name "empathy_contact_widget_set_account_filter")
1654 (return-type "none")
1656 '("GtkWidget*" "widget")
1657 '("EmpathyAccountChooserFilterFunc" "filter")
1658 '("gpointer" "user_data")
1664 ;; From empathy-profile-chooser.h
1666 (define-function empathy_profile_chooser_new
1667 (c-name "empathy_profile_chooser_new")
1668 (is-constructor-of "EmpathyProfileChooser")
1669 (return-type "GtkWidget*")
1672 (define-function empathy_profile_chooser_get_selected
1673 (c-name "empathy_profile_chooser_get_selected")
1674 (return-type "McProfile*")
1676 '("GtkWidget*" "widget")
1680 (define-function empathy_profile_chooser_n_profiles
1681 (c-name "empathy_profile_chooser_n_profiles")
1682 (return-type "gint")
1684 '("GtkWidget*" "widget")
1690 ;; From empathy-cell-renderer-expander.h
1692 (define-function empathy_cell_renderer_expander_get_type
1693 (c-name "empathy_cell_renderer_expander_get_type")
1694 (return-type "GType")
1697 (define-function empathy_cell_renderer_expander_new
1698 (c-name "empathy_cell_renderer_expander_new")
1699 (is-constructor-of "EmpathyCellRendererExpander")
1700 (return-type "GtkCellRenderer*")
1705 ;; From empathy-geometry.h
1707 (define-function empathy_geometry_save
1708 (c-name "empathy_geometry_save")
1709 (return-type "none")
1711 '("const-gchar*" "name")
1719 (define-function empathy_geometry_load
1720 (c-name "empathy_geometry_load")
1721 (return-type "none")
1723 '("const-gchar*" "name")
1733 ;; From empathy-smiley-manager.h
1735 (define-function empathy_smiley_manager_get_type
1736 (c-name "empathy_smiley_manager_get_type")
1737 (return-type "GType")
1740 (define-function empathy_smiley_manager_new
1741 (c-name "empathy_smiley_manager_new")
1742 (is-constructor-of "EmpathySmileyManager")
1743 (return-type "EmpathySmileyManager*")
1747 (of-object "EmpathySmileyManager")
1748 (c-name "empathy_smiley_manager_load")
1749 (return-type "none")
1753 (of-object "EmpathySmileyManager")
1754 (c-name "empathy_smiley_manager_add")
1755 (return-type "none")
1757 '("const-gchar*" "icon_name")
1758 '("const-gchar*" "first_str")
1763 (define-method add_from_pixbuf
1764 (of-object "EmpathySmileyManager")
1765 (c-name "empathy_smiley_manager_add_from_pixbuf")
1766 (return-type "none")
1768 '("GdkPixbuf*" "smiley")
1769 '("const-gchar*" "first_str")
1774 (define-method get_all
1775 (of-object "EmpathySmileyManager")
1776 (c-name "empathy_smiley_manager_get_all")
1777 (return-type "GSList*")
1780 (define-method parse
1781 (of-object "EmpathySmileyManager")
1782 (c-name "empathy_smiley_manager_parse")
1783 (return-type "GSList*")
1785 '("const-gchar*" "text")
1790 (of-object "EmpathySmiley")
1791 (c-name "empathy_smiley_free")
1792 (return-type "none")
1797 ;; From empathy-cell-renderer-text.h
1799 (define-function empathy_cell_renderer_text_get_type
1800 (c-name "empathy_cell_renderer_text_get_type")
1801 (return-type "GType")
1804 (define-function empathy_cell_renderer_text_new
1805 (c-name "empathy_cell_renderer_text_new")
1806 (is-constructor-of "EmpathyCellRendererText")
1807 (return-type "GtkCellRenderer*")
1812 ;; From empathy-group-chat.h
1814 (define-function empathy_group_chat_get_type
1815 (c-name "empathy_group_chat_get_type")
1816 (return-type "GType")
1819 (define-function empathy_group_chat_new
1820 (c-name "empathy_group_chat_new")
1821 (is-constructor-of "EmpathyGroupChat")
1822 (return-type "EmpathyGroupChat*")
1824 '("EmpathyTpChatroom*" "tp_chat")
1828 (define-method get_show_contacts
1829 (of-object "EmpathyGroupChat")
1830 (c-name "empathy_group_chat_get_show_contacts")
1831 (return-type "gboolean")
1834 (define-method set_show_contacts
1835 (of-object "EmpathyGroupChat")
1836 (c-name "empathy_group_chat_set_show_contacts")
1837 (return-type "none")
1839 '("gboolean" "show")
1843 (define-method set_topic
1844 (of-object "EmpathyGroupChat")
1845 (c-name "empathy_group_chat_set_topic")
1846 (return-type "none")
1851 ;; From empathy-spell.h
1853 (define-function empathy_spell_supported
1854 (c-name "empathy_spell_supported")
1855 (return-type "gboolean")
1858 (define-function empathy_spell_get_language_name
1859 (c-name "empathy_spell_get_language_name")
1860 (return-type "const-gchar*")
1862 '("const-gchar*" "code")
1866 (define-function empathy_spell_get_language_codes
1867 (c-name "empathy_spell_get_language_codes")
1868 (return-type "GList*")
1871 (define-function empathy_spell_free_language_codes
1872 (c-name "empathy_spell_free_language_codes")
1873 (return-type "none")
1879 (define-function empathy_spell_check
1880 (c-name "empathy_spell_check")
1881 (return-type "gboolean")
1883 '("const-gchar*" "word")
1887 (define-function empathy_spell_get_suggestions
1888 (c-name "empathy_spell_get_suggestions")
1889 (return-type "GList*")
1891 '("const-gchar*" "word")
1895 (define-function empathy_spell_free_suggestions
1896 (c-name "empathy_spell_free_suggestions")
1897 (return-type "none")
1899 '("GList*" "suggestions")