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 ContactListFeatures
156 (in-module "Empathy")
157 (c-name "EmpathyContactListFeatures")
158 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
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-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
165 '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
166 '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
167 '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
168 '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
169 '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
170 '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
171 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
172 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
173 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
174 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
178 (define-flags ContactWidgetFlags
179 (in-module "Empathy")
180 (c-name "EmpathyContactWidgetFlags")
181 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
183 '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
184 '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
185 '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
186 '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
187 '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
188 '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
193 ;; From empathy-images.h
197 ;; From empathy-account-chooser.h
199 (define-function empathy_account_chooser_get_type
200 (c-name "empathy_account_chooser_get_type")
201 (return-type "GType")
204 (define-function empathy_account_chooser_new
205 (c-name "empathy_account_chooser_new")
206 (is-constructor-of "EmpathyAccountChooser")
207 (return-type "GtkWidget*")
210 (define-method get_account
211 (of-object "EmpathyAccountChooser")
212 (c-name "empathy_account_chooser_get_account")
213 (return-type "McAccount*")
216 (define-method set_account
217 (of-object "EmpathyAccountChooser")
218 (c-name "empathy_account_chooser_set_account")
219 (return-type "gboolean")
221 '("McAccount*" "account")
225 (define-method get_has_all_option
226 (of-object "EmpathyAccountChooser")
227 (c-name "empathy_account_chooser_get_has_all_option")
228 (return-type "gboolean")
231 (define-method set_has_all_option
232 (of-object "EmpathyAccountChooser")
233 (c-name "empathy_account_chooser_set_has_all_option")
236 '("gboolean" "has_all_option")
240 (define-method set_filter
241 (of-object "EmpathyAccountChooser")
242 (c-name "empathy_account_chooser_set_filter")
245 '("EmpathyAccountChooserFilterFunc" "filter")
246 '("gpointer" "user_data")
250 (define-function empathy_account_chooser_filter_is_connected
251 (c-name "empathy_account_chooser_filter_is_connected")
252 (return-type "gboolean")
254 '("McAccount*" "account")
255 '("gpointer" "user_data")
261 ;; From empathy-chat.h
263 (define-function empathy_chat_get_type
264 (c-name "empathy_chat_get_type")
265 (return-type "GType")
268 (define-function empathy_chat_new
269 (c-name "empathy_chat_new")
270 (is-constructor-of "EmpathyChat")
271 (return-type "EmpathyChat*")
273 '("EmpathyTpChat*" "tp_chat")
277 (define-method get_tp_chat
278 (of-object "EmpathyChat")
279 (c-name "empathy_chat_get_tp_chat")
280 (return-type "EmpathyTpChat*")
283 (define-method set_tp_chat
284 (of-object "EmpathyChat")
285 (c-name "empathy_chat_set_tp_chat")
288 '("EmpathyTpChat*" "tp_chat")
292 (define-method get_account
293 (of-object "EmpathyChat")
294 (c-name "empathy_chat_get_account")
295 (return-type "McAccount*")
298 (define-method get_id
299 (of-object "EmpathyChat")
300 (c-name "empathy_chat_get_id")
301 (return-type "const-gchar*")
304 (define-method get_name
305 (of-object "EmpathyChat")
306 (c-name "empathy_chat_get_name")
307 (return-type "const-gchar*")
310 (define-method get_subject
311 (of-object "EmpathyChat")
312 (c-name "empathy_chat_get_subject")
313 (return-type "const-gchar*")
317 (of-object "EmpathyChat")
318 (c-name "empathy_chat_clear")
322 (define-method scroll_down
323 (of-object "EmpathyChat")
324 (c-name "empathy_chat_scroll_down")
329 (of-object "EmpathyChat")
330 (c-name "empathy_chat_cut")
335 (of-object "EmpathyChat")
336 (c-name "empathy_chat_copy")
341 (of-object "EmpathyChat")
342 (c-name "empathy_chat_paste")
346 (define-method correct_word
347 (of-object "EmpathyChat")
348 (c-name "empathy_chat_correct_word")
351 '("GtkTextIter" "start")
352 '("GtkTextIter" "end")
353 '("const-gchar*" "new_word")
359 ;; From empathy-irc-network-dialog.h
361 (define-method dialog_show
362 (of-object "EmpathyIrcNetwork")
363 (c-name "empathy_irc_network_dialog_show")
364 (return-type "GtkWidget*")
366 '("GtkWidget*" "parent")
372 ;; From empathy-spell-dialog.h
374 (define-function empathy_spell_dialog_show
375 (c-name "empathy_spell_dialog_show")
378 '("EmpathyChat*" "chat")
379 '("GtkTextIter" "start")
380 '("GtkTextIter" "end")
381 '("const-gchar*" "word")
387 ;; From empathy-accounts-dialog.h
389 (define-function empathy_accounts_dialog_show
390 (c-name "empathy_accounts_dialog_show")
391 (return-type "GtkWidget*")
393 '("GtkWindow*" "parent")
399 ;; From empathy-chat-view.h
401 (define-function empathy_chat_view_get_type
402 (c-name "empathy_chat_view_get_type")
403 (return-type "GType")
406 (define-function empathy_chat_view_new
407 (c-name "empathy_chat_view_new")
408 (is-constructor-of "EmpathyChatView")
409 (return-type "EmpathyChatView*")
412 (define-method append_message
413 (of-object "EmpathyChatView")
414 (c-name "empathy_chat_view_append_message")
417 '("EmpathyMessage*" "msg")
421 (define-method append_event
422 (of-object "EmpathyChatView")
423 (c-name "empathy_chat_view_append_event")
426 '("const-gchar*" "str")
430 (define-method append_button
431 (of-object "EmpathyChatView")
432 (c-name "empathy_chat_view_append_button")
435 '("const-gchar*" "message")
436 '("GtkWidget*" "button1")
437 '("GtkWidget*" "button2")
441 (define-method set_margin
442 (of-object "EmpathyChatView")
443 (c-name "empathy_chat_view_set_margin")
450 (define-method scroll
451 (of-object "EmpathyChatView")
452 (c-name "empathy_chat_view_scroll")
455 '("gboolean" "allow_scrolling")
459 (define-method scroll_down
460 (of-object "EmpathyChatView")
461 (c-name "empathy_chat_view_scroll_down")
465 (define-method get_selection_bounds
466 (of-object "EmpathyChatView")
467 (c-name "empathy_chat_view_get_selection_bounds")
468 (return-type "gboolean")
470 '("GtkTextIter*" "start")
471 '("GtkTextIter*" "end")
476 (of-object "EmpathyChatView")
477 (c-name "empathy_chat_view_clear")
481 (define-method find_previous
482 (of-object "EmpathyChatView")
483 (c-name "empathy_chat_view_find_previous")
484 (return-type "gboolean")
486 '("const-gchar*" "search_criteria")
487 '("gboolean" "new_search")
491 (define-method find_next
492 (of-object "EmpathyChatView")
493 (c-name "empathy_chat_view_find_next")
494 (return-type "gboolean")
496 '("const-gchar*" "search_criteria")
497 '("gboolean" "new_search")
501 (define-method find_abilities
502 (of-object "EmpathyChatView")
503 (c-name "empathy_chat_view_find_abilities")
506 '("const-gchar*" "search_criteria")
507 '("gboolean*" "can_do_previous")
508 '("gboolean*" "can_do_next")
512 (define-method highlight
513 (of-object "EmpathyChatView")
514 (c-name "empathy_chat_view_highlight")
517 '("const-gchar*" "text")
521 (define-method copy_clipboard
522 (of-object "EmpathyChatView")
523 (c-name "empathy_chat_view_copy_clipboard")
527 (define-method get_theme
528 (of-object "EmpathyChatView")
529 (c-name "empathy_chat_view_get_theme")
530 (return-type "EmpathyTheme*")
533 (define-method set_theme
534 (of-object "EmpathyChatView")
535 (c-name "empathy_chat_view_set_theme")
538 '("EmpathyTheme*" "theme")
542 (define-method set_margin
543 (of-object "EmpathyChatView")
544 (c-name "empathy_chat_view_set_margin")
551 (define-function empathy_chat_view_get_smiley_menu
552 (c-name "empathy_chat_view_get_smiley_menu")
553 (return-type "GtkWidget*")
555 '("GCallback" "callback")
556 '("gpointer" "user_data")
560 (define-method set_is_group_chat
561 (of-object "EmpathyChatView")
562 (c-name "empathy_chat_view_set_is_group_chat")
565 '("gboolean" "is_group_chat")
569 (define-method get_last_timestamp
570 (of-object "EmpathyChatView")
571 (c-name "empathy_chat_view_get_last_timestamp")
572 (return-type "time_t")
575 (define-method set_last_timestamp
576 (of-object "EmpathyChatView")
577 (c-name "empathy_chat_view_set_last_timestamp")
580 '("time_t" "timestamp")
584 (define-method get_last_contact
585 (of-object "EmpathyChatView")
586 (c-name "empathy_chat_view_get_last_contact")
587 (return-type "EmpathyContact*")
590 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
591 (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
592 (return-type "GdkPixbuf*")
594 '("EmpathyContact*" "contact")
600 ;; From empathy-log-window.h
602 (define-function empathy_log_window_show
603 (c-name "empathy_log_window_show")
604 (return-type "GtkWidget*")
606 '("McAccount*" "account")
607 '("const-gchar*" "chat_id")
608 '("gboolean" "chatroom")
609 '("GtkWindow*" "parent")
615 ;; From empathy-theme-boxes.h
617 (define-function empathy_theme_boxes_get_type
618 (c-name "empathy_theme_boxes_get_type")
619 (return-type "GType")
624 ;; From empathy-account-widget.h
626 (define-function empathy_account_widget_handle_params
627 (c-name "empathy_account_widget_handle_params")
630 '("McAccount*" "account")
631 '("GladeXML*" "glade")
632 '("const-gchar*" "first_widget_name")
637 (define-function empathy_account_widget_add_forget_button
638 (c-name "empathy_account_widget_add_forget_button")
641 '("McAccount*" "account")
642 '("GladeXML*" "glade")
643 '("const-gchar*" "button")
644 '("const-gchar*" "entry")
648 (define-function empathy_account_widget_generic_new
649 (c-name "empathy_account_widget_generic_new")
650 (is-constructor-of "EmpathyAccountWidgetGeneric")
651 (return-type "GtkWidget*")
653 '("McAccount*" "account")
657 (define-function empathy_account_widget_salut_new
658 (c-name "empathy_account_widget_salut_new")
659 (is-constructor-of "EmpathyAccountWidgetSalut")
660 (return-type "GtkWidget*")
662 '("McAccount*" "account")
666 (define-function empathy_account_widget_msn_new
667 (c-name "empathy_account_widget_msn_new")
668 (is-constructor-of "EmpathyAccountWidgetMsn")
669 (return-type "GtkWidget*")
671 '("McAccount*" "account")
675 (define-function empathy_account_widget_jabber_new
676 (c-name "empathy_account_widget_jabber_new")
677 (is-constructor-of "EmpathyAccountWidgetJabber")
678 (return-type "GtkWidget*")
680 '("McAccount*" "account")
684 (define-function empathy_account_widget_icq_new
685 (c-name "empathy_account_widget_icq_new")
686 (is-constructor-of "EmpathyAccountWidgetIcq")
687 (return-type "GtkWidget*")
689 '("McAccount*" "account")
693 (define-function empathy_account_widget_aim_new
694 (c-name "empathy_account_widget_aim_new")
695 (is-constructor-of "EmpathyAccountWidgetAim")
696 (return-type "GtkWidget*")
698 '("McAccount*" "account")
702 (define-function empathy_account_widget_yahoo_new
703 (c-name "empathy_account_widget_yahoo_new")
704 (is-constructor-of "EmpathyAccountWidgetYahoo")
705 (return-type "GtkWidget*")
707 '("McAccount*" "account")
711 (define-function empathy_account_widget_sip_new
712 (c-name "empathy_account_widget_sip_new")
713 (is-constructor-of "EmpathyAccountWidgetSip")
714 (return-type "GtkWidget*")
716 '("McAccount*" "account")
720 (define-function empathy_account_widget_groupwise_new
721 (c-name "empathy_account_widget_groupwise_new")
722 (is-constructor-of "EmpathyAccountWidgetGroupwise")
723 (return-type "GtkWidget*")
725 '("McAccount*" "account")
731 ;; From empathy-conf.h
733 (define-function empathy_conf_get_type
734 (c-name "empathy_conf_get_type")
735 (return-type "GType")
738 (define-function empathy_conf_get
739 (c-name "empathy_conf_get")
740 (return-type "EmpathyConf*")
743 (define-function empathy_conf_shutdown
744 (c-name "empathy_conf_shutdown")
748 (define-method notify_add
749 (of-object "EmpathyConf")
750 (c-name "empathy_conf_notify_add")
751 (return-type "guint")
753 '("const-gchar*" "key")
754 '("EmpathyConfNotifyFunc" "func")
759 (define-method notify_remove
760 (of-object "EmpathyConf")
761 (c-name "empathy_conf_notify_remove")
762 (return-type "gboolean")
768 (define-method set_int
769 (of-object "EmpathyConf")
770 (c-name "empathy_conf_set_int")
771 (return-type "gboolean")
773 '("const-gchar*" "key")
778 (define-method get_int
779 (of-object "EmpathyConf")
780 (c-name "empathy_conf_get_int")
781 (return-type "gboolean")
783 '("const-gchar*" "key")
788 (define-method set_bool
789 (of-object "EmpathyConf")
790 (c-name "empathy_conf_set_bool")
791 (return-type "gboolean")
793 '("const-gchar*" "key")
794 '("gboolean" "value")
798 (define-method get_bool
799 (of-object "EmpathyConf")
800 (c-name "empathy_conf_get_bool")
801 (return-type "gboolean")
803 '("const-gchar*" "key")
804 '("gboolean*" "value")
808 (define-method set_string
809 (of-object "EmpathyConf")
810 (c-name "empathy_conf_set_string")
811 (return-type "gboolean")
813 '("const-gchar*" "key")
814 '("const-gchar*" "value")
818 (define-method get_string
819 (of-object "EmpathyConf")
820 (c-name "empathy_conf_get_string")
821 (return-type "gboolean")
823 '("const-gchar*" "key")
828 (define-method set_string_list
829 (of-object "EmpathyConf")
830 (c-name "empathy_conf_set_string_list")
831 (return-type "gboolean")
833 '("const-gchar*" "key")
838 (define-method get_string_list
839 (of-object "EmpathyConf")
840 (c-name "empathy_conf_get_string_list")
841 (return-type "gboolean")
843 '("const-gchar*" "key")
844 '("GSList**" "value")
850 ;; From empathy-theme.h
852 (define-function empathy_theme_get_type
853 (c-name "empathy_theme_get_type")
854 (return-type "GType")
857 (define-method update_view
858 (of-object "EmpathyTheme")
859 (c-name "empathy_theme_update_view")
862 '("EmpathyChatView*" "view")
866 (define-method append_message
867 (of-object "EmpathyTheme")
868 (c-name "empathy_theme_append_message")
871 '("EmpathyChatView*" "view")
872 '("EmpathyMessage*" "msg")
876 (define-method append_text
877 (of-object "EmpathyTheme")
878 (c-name "empathy_theme_append_text")
881 '("EmpathyChatView*" "view")
882 '("const-gchar*" "body")
883 '("const-gchar*" "tag")
884 '("const-gchar*" "link_tag")
888 (define-method append_spacing
889 (of-object "EmpathyTheme")
890 (c-name "empathy_theme_append_spacing")
893 '("EmpathyChatView*" "view")
897 (define-method append_event
898 (of-object "EmpathyTheme")
899 (c-name "empathy_theme_append_event")
902 '("EmpathyChatView*" "view")
903 '("const-gchar*" "str")
907 (define-method append_timestamp
908 (of-object "EmpathyTheme")
909 (c-name "empathy_theme_append_timestamp")
912 '("EmpathyChatView*" "view")
913 '("EmpathyMessage*" "message")
914 '("gboolean" "show_date")
915 '("gboolean" "show_time")
919 (define-method maybe_append_date_and_time
920 (of-object "EmpathyTheme")
921 (c-name "empathy_theme_maybe_append_date_and_time")
924 '("EmpathyChatView*" "view")
925 '("EmpathyMessage*" "message")
929 (define-method get_show_avatars
930 (of-object "EmpathyTheme")
931 (c-name "empathy_theme_get_show_avatars")
932 (return-type "gboolean")
935 (define-method set_show_avatars
936 (of-object "EmpathyTheme")
937 (c-name "empathy_theme_set_show_avatars")
946 ;; From empathy-account-widget-irc.h
948 (define-function empathy_account_widget_irc_new
949 (c-name "empathy_account_widget_irc_new")
950 (is-constructor-of "EmpathyAccountWidgetIrc")
951 (return-type "GtkWidget*")
953 '("McAccount*" "account")
959 ;; From empathy-contact-dialogs.h
961 (define-function empathy_subscription_dialog_show
962 (c-name "empathy_subscription_dialog_show")
965 '("EmpathyContact*" "contact")
966 '("GtkWindow*" "parent")
970 (define-method information_dialog_show
971 (of-object "EmpathyContact")
972 (c-name "empathy_contact_information_dialog_show")
975 '("GtkWindow*" "parent")
977 '("gboolean" "is_user")
981 (define-function empathy_new_contact_dialog_show
982 (c-name "empathy_new_contact_dialog_show")
985 '("GtkWindow*" "parent")
991 ;; From empathy-new-message-dialog.h
993 (define-function empathy_new_message_dialog_show
994 (c-name "empathy_new_message_dialog_show")
995 (return-type "GtkWidget*")
997 '("GtkWindow*" "parent")
1003 ;; From empathy-theme-irc.h
1005 (define-function empathy_theme_irc_get_type
1006 (c-name "empathy_theme_irc_get_type")
1007 (return-type "GType")
1012 ;; From empathy-avatar-chooser.h
1014 (define-function empathy_avatar_chooser_get_type
1015 (c-name "empathy_avatar_chooser_get_type")
1016 (return-type "GType")
1019 (define-function empathy_avatar_chooser_new
1020 (c-name "empathy_avatar_chooser_new")
1021 (is-constructor-of "EmpathyAvatarChooser")
1022 (return-type "GtkWidget*")
1026 (of-object "EmpathyAvatarChooser")
1027 (c-name "empathy_avatar_chooser_set")
1028 (return-type "none")
1030 '("EmpathyAvatar*" "avatar")
1034 (define-method get_image_data
1035 (of-object "EmpathyAvatarChooser")
1036 (c-name "empathy_avatar_chooser_get_image_data")
1037 (return-type "none")
1039 '("const-gchar**" "data")
1040 '("gsize*" "data_size")
1041 '("const-gchar**" "mime_type")
1047 ;; From empathy-contact-list-store.h
1049 (define-function empathy_contact_list_store_get_type
1050 (c-name "empathy_contact_list_store_get_type")
1051 (return-type "GType")
1054 (define-function empathy_contact_list_store_new
1055 (is-constructor-of "EmpathyContactListStore")
1056 (c-name "empathy_contact_list_store_new")
1057 (return-type "EmpathyContactListStore*")
1059 '("EmpathyContactList*" "list_iface")
1063 (define-method get_list_iface
1064 (of-object "EmpathyContactListStore")
1065 (c-name "empathy_contact_list_store_get_list_iface")
1066 (return-type "EmpathyContactList*")
1069 (define-method get_show_offline
1070 (of-object "EmpathyContactListStore")
1071 (c-name "empathy_contact_list_store_get_show_offline")
1072 (return-type "gboolean")
1075 (define-method set_show_offline
1076 (of-object "EmpathyContactListStore")
1077 (c-name "empathy_contact_list_store_set_show_offline")
1078 (return-type "none")
1080 '("gboolean" "show_offline")
1084 (define-method get_show_avatars
1085 (of-object "EmpathyContactListStore")
1086 (c-name "empathy_contact_list_store_get_show_avatars")
1087 (return-type "gboolean")
1090 (define-method set_show_avatars
1091 (of-object "EmpathyContactListStore")
1092 (c-name "empathy_contact_list_store_set_show_avatars")
1093 (return-type "none")
1095 '("gboolean" "show_avatars")
1099 (define-method get_show_groups
1100 (of-object "EmpathyContactListStore")
1101 (c-name "empathy_contact_list_store_get_show_groups")
1102 (return-type "gboolean")
1105 (define-method set_show_groups
1106 (of-object "EmpathyContactListStore")
1107 (c-name "empathy_contact_list_store_set_show_groups")
1108 (return-type "none")
1110 '("gboolean" "show_groups")
1114 (define-method get_is_compact
1115 (of-object "EmpathyContactListStore")
1116 (c-name "empathy_contact_list_store_get_is_compact")
1117 (return-type "gboolean")
1120 (define-method set_is_compact
1121 (of-object "EmpathyContactListStore")
1122 (c-name "empathy_contact_list_store_set_is_compact")
1123 (return-type "none")
1125 '("gboolean" "is_compact")
1129 (define-method get_sort_criterium
1130 (of-object "EmpathyContactListStore")
1131 (c-name "empathy_contact_list_store_get_sort_criterium")
1132 (return-type "EmpathyContactListStoreSort")
1135 (define-method set_sort_criterium
1136 (of-object "EmpathyContactListStore")
1137 (c-name "empathy_contact_list_store_set_sort_criterium")
1138 (return-type "none")
1140 '("EmpathyContactListStoreSort" "sort_criterium")
1144 (define-function empathy_contact_list_store_row_separator_func
1145 (c-name "empathy_contact_list_store_row_separator_func")
1146 (return-type "gboolean")
1148 '("GtkTreeModel*" "model")
1149 '("GtkTreeIter*" "iter")
1150 '("gpointer" "data")
1154 (define-function empathy_contact_list_store_get_parent_group
1155 (c-name "empathy_contact_list_store_get_parent_group")
1156 (return-type "gchar*")
1158 '("GtkTreeModel*" "model")
1159 '("GtkTreePath*" "path")
1160 '("gboolean*" "path_is_group")
1164 (define-function empathy_contact_list_store_search_equal_func
1165 (c-name "empathy_contact_list_store_search_equal_func")
1166 (return-type "gboolean")
1168 '("GtkTreeModel*" "model")
1170 '("const-gchar*" "key")
1171 '("GtkTreeIter*" "iter")
1172 '("gpointer" "search_data")
1178 ;; From empathy-presence-chooser.h
1180 (define-function empathy_presence_chooser_get_type
1181 (c-name "empathy_presence_chooser_get_type")
1182 (return-type "GType")
1185 (define-function empathy_presence_chooser_new
1186 (c-name "empathy_presence_chooser_new")
1187 (is-constructor-of "EmpathyPresenceChooser")
1188 (return-type "GtkWidget*")
1191 (define-function empathy_presence_chooser_create_menu
1192 (c-name "empathy_presence_chooser_create_menu")
1193 (return-type "GtkWidget*")
1198 ;; From empathy-theme-manager.h
1200 (define-function empathy_theme_manager_get_type
1201 (c-name "empathy_theme_manager_get_type")
1202 (return-type "GType")
1205 (define-function empathy_theme_manager_get
1206 (c-name "empathy_theme_manager_get")
1207 (return-type "EmpathyThemeManager*")
1210 (define-function empathy_theme_manager_get_themes
1211 (c-name "empathy_theme_manager_get_themes")
1212 (return-type "const-gchar**")
1215 (define-method apply
1216 (of-object "EmpathyThemeManager")
1217 (c-name "empathy_theme_manager_apply")
1218 (return-type "none")
1220 '("EmpathyChatView*" "view")
1221 '("const-gchar*" "theme")
1225 (define-method apply_saved
1226 (of-object "EmpathyThemeManager")
1227 (c-name "empathy_theme_manager_apply_saved")
1228 (return-type "none")
1230 '("EmpathyChatView*" "view")
1236 ;; From empathy-avatar-image.h
1238 (define-function empathy_avatar_image_get_type
1239 (c-name "empathy_avatar_image_get_type")
1240 (return-type "GType")
1243 (define-function empathy_avatar_image_new
1244 (c-name "empathy_avatar_image_new")
1245 (is-constructor-of "EmpathyAvatarImage")
1246 (return-type "GtkWidget*")
1250 (of-object "EmpathyAvatarImage")
1251 (c-name "empathy_avatar_image_set")
1252 (return-type "none")
1254 '("EmpathyAvatar*" "avatar")
1260 ;; From empathy-contact-list-view.h
1262 (define-function empathy_contact_list_view_get_type
1263 (c-name "empathy_contact_list_view_get_type")
1264 (return-type "GType")
1267 (define-function empathy_contact_list_view_new
1268 (c-name "empathy_contact_list_view_new")
1269 (is-constructor-of "EmpathyContactListView")
1270 (return-type "EmpathyContactListView*")
1272 '("EmpathyContactListStore*" "store")
1273 '("EmpathyContactListFeatures" "features")
1277 (define-method set_features
1278 (of-object "EmpathyContactListView")
1279 (c-name "empathy_contact_list_view_set_features")
1280 (return-type "none")
1282 '("EmpathyContactListFeatures" "features")
1286 (define-method get_features
1287 (of-object "EmpathyContactListView")
1288 (c-name "empathy_contact_list_view_get_features")
1289 (return-type "EmpathyContactListFeatures")
1292 (define-method get_selected
1293 (of-object "EmpathyContactListView")
1294 (c-name "empathy_contact_list_view_get_selected")
1295 (return-type "EmpathyContact*")
1298 (define-method get_selected_group
1299 (of-object "EmpathyContactListView")
1300 (c-name "empathy_contact_list_view_get_selected_group")
1301 (return-type "gchar*")
1304 (define-method get_contact_menu
1305 (of-object "EmpathyContactListView")
1306 (c-name "empathy_contact_list_view_get_contact_menu")
1307 (return-type "GtkWidget*")
1309 '("EmpathyContact*" "contact")
1313 (define-method get_group_menu
1314 (of-object "EmpathyContactListView")
1315 (c-name "empathy_contact_list_view_get_group_menu")
1316 (return-type "GtkWidget*")
1321 ;; From empathy-ui-utils.h
1323 (define-function empathy_glade_get_file_simple
1324 (c-name "empathy_glade_get_file_simple")
1325 (return-type "none")
1327 '("const-gchar*" "filename")
1328 '("const-gchar*" "root")
1329 '("const-gchar*" "domain")
1330 '("const-gchar*" "first_required_widget")
1335 (define-function empathy_glade_get_file
1336 (c-name "empathy_glade_get_file")
1337 (return-type "GladeXML*")
1339 '("const-gchar*" "filename")
1340 '("const-gchar*" "root")
1341 '("const-gchar*" "domain")
1342 '("const-gchar*" "first_required_widget")
1347 (define-function empathy_glade_connect
1348 (c-name "empathy_glade_connect")
1349 (return-type "none")
1351 '("GladeXML*" "gui")
1352 '("gpointer" "user_data")
1353 '("gchar*" "first_widget")
1358 (define-function empathy_glade_setup_size_group
1359 (c-name "empathy_glade_setup_size_group")
1360 (return-type "none")
1362 '("GladeXML*" "gui")
1363 '("GtkSizeGroupMode" "mode")
1364 '("gchar*" "first_widget")
1369 (define-function empathy_icon_name_from_account
1370 (c-name "empathy_icon_name_from_account")
1371 (return-type "const-gchar*")
1373 '("McAccount*" "account")
1377 (define-function empathy_icon_name_for_presence
1378 (c-name "empathy_icon_name_for_presence")
1379 (return-type "const-gchar*")
1381 '("McPresence" "presence")
1385 (define-function empathy_icon_name_for_contact
1386 (c-name "empathy_icon_name_for_contact")
1387 (return-type "const-gchar*")
1389 '("EmpathyContact*" "contact")
1393 (define-function empathy_pixbuf_from_data
1394 (c-name "empathy_pixbuf_from_data")
1395 (return-type "GdkPixbuf*")
1398 '("gsize" "data_size")
1402 (define-function empathy_pixbuf_from_avatar_scaled
1403 (c-name "empathy_pixbuf_from_avatar_scaled")
1404 (return-type "GdkPixbuf*")
1406 '("EmpathyAvatar*" "avatar")
1412 (define-function empathy_pixbuf_avatar_from_contact_scaled
1413 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1414 (return-type "GdkPixbuf*")
1416 '("EmpathyContact*" "contact")
1422 (define-function empathy_pixbuf_scale_down_if_necessary
1423 (c-name "empathy_pixbuf_scale_down_if_necessary")
1424 (return-type "GdkPixbuf*")
1426 '("GdkPixbuf*" "pixbuf")
1427 '("gint" "max_size")
1431 (define-function empathy_pixbuf_from_icon_name
1432 (c-name "empathy_pixbuf_from_icon_name")
1433 (return-type "GdkPixbuf*")
1435 '("const-gchar*" "icon_name")
1436 '("GtkIconSize" "icon_size")
1440 (define-function empathy_text_iter_forward_search
1441 (c-name "empathy_text_iter_forward_search")
1442 (return-type "gboolean")
1444 '("const-GtkTextIter*" "iter")
1445 '("const-gchar*" "str")
1446 '("GtkTextIter*" "match_start")
1447 '("GtkTextIter*" "match_end")
1448 '("const-GtkTextIter*" "limit")
1452 (define-function empathy_text_iter_backward_search
1453 (c-name "empathy_text_iter_backward_search")
1454 (return-type "gboolean")
1456 '("const-GtkTextIter*" "iter")
1457 '("const-gchar*" "str")
1458 '("GtkTextIter*" "match_start")
1459 '("GtkTextIter*" "match_end")
1460 '("const-GtkTextIter*" "limit")
1464 (define-function empathy_window_get_is_visible
1465 (c-name "empathy_window_get_is_visible")
1466 (return-type "gboolean")
1468 '("GtkWindow*" "window")
1472 (define-function empathy_window_present
1473 (c-name "empathy_window_present")
1474 (return-type "none")
1476 '("GtkWindow*" "window")
1477 '("gboolean" "steal_focus")
1481 (define-function empathy_window_iconify
1482 (c-name "empathy_window_iconify")
1483 (return-type "none")
1485 '("GtkWindow*" "window")
1486 '("GtkStatusIcon*" "status_icon")
1490 (define-function empathy_get_toplevel_window
1491 (c-name "empathy_get_toplevel_window")
1492 (return-type "GtkWindow*")
1494 '("GtkWidget*" "widget")
1498 (define-function empathy_url_show
1499 (c-name "empathy_url_show")
1500 (return-type "none")
1502 '("const-char*" "url")
1506 (define-function empathy_toggle_button_set_state_quietly
1507 (c-name "empathy_toggle_button_set_state_quietly")
1508 (return-type "none")
1510 '("GtkWidget*" "widget")
1511 '("GCallback" "callback")
1512 '("gpointer" "user_data")
1513 '("gboolean" "active")
1517 (define-function empathy_link_button_new
1518 (c-name "empathy_link_button_new")
1519 (is-constructor-of "EmpathyLinkButton")
1520 (return-type "GtkWidget*")
1522 '("const-gchar*" "url")
1523 '("const-gchar*" "title")
1527 (define-function empathy_text_buffer_tag_set
1528 (c-name "empathy_text_buffer_tag_set")
1529 (return-type "GtkTextTag*")
1531 '("GtkTextBuffer*" "buffer")
1532 '("const-gchar*" "tag_name")
1533 '("const-gchar*" "first_property_name")
1540 ;; From empathy-cell-renderer-activatable.h
1542 (define-function empathy_cell_renderer_activatable_get_type
1543 (c-name "empathy_cell_renderer_activatable_get_type")
1544 (return-type "GType")
1547 (define-function empathy_cell_renderer_activatable_new
1548 (c-name "empathy_cell_renderer_activatable_new")
1549 (is-constructor-of "EmpathyCellRendererActivatable")
1550 (return-type "GtkCellRenderer*")
1555 ;; From empathy-contact-widget.h
1557 (define-method widget_new
1558 (of-object "EmpathyContact")
1559 (c-name "empathy_contact_widget_new")
1560 (return-type "GtkWidget*")
1562 '("EmpathyContactWidgetFlags" "flags")
1566 (define-function empathy_contact_widget_get_contact
1567 (c-name "empathy_contact_widget_get_contact")
1568 (return-type "EmpathyContact*")
1570 '("GtkWidget*" "widget")
1574 (define-function empathy_contact_widget_set_contact
1575 (c-name "empathy_contact_widget_set_contact")
1576 (return-type "none")
1578 '("GtkWidget*" "widget")
1579 '("EmpathyContact*" "contact")
1583 (define-function empathy_contact_widget_set_account_filter
1584 (c-name "empathy_contact_widget_set_account_filter")
1585 (return-type "none")
1587 '("GtkWidget*" "widget")
1588 '("EmpathyAccountChooserFilterFunc" "filter")
1589 '("gpointer" "user_data")
1595 ;; From empathy-profile-chooser.h
1597 (define-function empathy_profile_chooser_new
1598 (c-name "empathy_profile_chooser_new")
1599 (is-constructor-of "EmpathyProfileChooser")
1600 (return-type "GtkWidget*")
1603 (define-function empathy_profile_chooser_get_selected
1604 (c-name "empathy_profile_chooser_get_selected")
1605 (return-type "McProfile*")
1607 '("GtkWidget*" "widget")
1611 (define-function empathy_profile_chooser_n_profiles
1612 (c-name "empathy_profile_chooser_n_profiles")
1613 (return-type "gint")
1615 '("GtkWidget*" "widget")
1621 ;; From empathy-cell-renderer-expander.h
1623 (define-function empathy_cell_renderer_expander_get_type
1624 (c-name "empathy_cell_renderer_expander_get_type")
1625 (return-type "GType")
1628 (define-function empathy_cell_renderer_expander_new
1629 (c-name "empathy_cell_renderer_expander_new")
1630 (is-constructor-of "EmpathyCellRendererExpander")
1631 (return-type "GtkCellRenderer*")
1636 ;; From empathy-geometry.h
1638 (define-function empathy_geometry_save
1639 (c-name "empathy_geometry_save")
1640 (return-type "none")
1642 '("const-gchar*" "name")
1650 (define-function empathy_geometry_load
1651 (c-name "empathy_geometry_load")
1652 (return-type "none")
1654 '("const-gchar*" "name")
1664 ;; From empathy-smiley-manager.h
1666 (define-function empathy_smiley_manager_get_type
1667 (c-name "empathy_smiley_manager_get_type")
1668 (return-type "GType")
1671 (define-function empathy_smiley_manager_new
1672 (c-name "empathy_smiley_manager_new")
1673 (is-constructor-of "EmpathySmileyManager")
1674 (return-type "EmpathySmileyManager*")
1678 (of-object "EmpathySmileyManager")
1679 (c-name "empathy_smiley_manager_load")
1680 (return-type "none")
1684 (of-object "EmpathySmileyManager")
1685 (c-name "empathy_smiley_manager_add")
1686 (return-type "none")
1688 '("const-gchar*" "icon_name")
1689 '("const-gchar*" "first_str")
1694 (define-method add_from_pixbuf
1695 (of-object "EmpathySmileyManager")
1696 (c-name "empathy_smiley_manager_add_from_pixbuf")
1697 (return-type "none")
1699 '("GdkPixbuf*" "smiley")
1700 '("const-gchar*" "first_str")
1705 (define-method get_all
1706 (of-object "EmpathySmileyManager")
1707 (c-name "empathy_smiley_manager_get_all")
1708 (return-type "GSList*")
1711 (define-method parse
1712 (of-object "EmpathySmileyManager")
1713 (c-name "empathy_smiley_manager_parse")
1714 (return-type "GSList*")
1716 '("const-gchar*" "text")
1721 (of-object "EmpathySmiley")
1722 (c-name "empathy_smiley_free")
1723 (return-type "none")
1728 ;; From empathy-cell-renderer-text.h
1730 (define-function empathy_cell_renderer_text_get_type
1731 (c-name "empathy_cell_renderer_text_get_type")
1732 (return-type "GType")
1735 (define-function empathy_cell_renderer_text_new
1736 (c-name "empathy_cell_renderer_text_new")
1737 (is-constructor-of "EmpathyCellRendererText")
1738 (return-type "GtkCellRenderer*")
1743 ;; From empathy-spell.h
1745 (define-function empathy_spell_supported
1746 (c-name "empathy_spell_supported")
1747 (return-type "gboolean")
1750 (define-function empathy_spell_get_language_name
1751 (c-name "empathy_spell_get_language_name")
1752 (return-type "const-gchar*")
1754 '("const-gchar*" "code")
1758 (define-function empathy_spell_get_language_codes
1759 (c-name "empathy_spell_get_language_codes")
1760 (return-type "GList*")
1763 (define-function empathy_spell_free_language_codes
1764 (c-name "empathy_spell_free_language_codes")
1765 (return-type "none")
1771 (define-function empathy_spell_check
1772 (c-name "empathy_spell_check")
1773 (return-type "gboolean")
1775 '("const-gchar*" "word")
1779 (define-function empathy_spell_get_suggestions
1780 (c-name "empathy_spell_get_suggestions")
1781 (return-type "GList*")
1783 '("const-gchar*" "word")
1787 (define-function empathy_spell_free_suggestions
1788 (c-name "empathy_spell_free_suggestions")
1789 (return-type "none")
1791 '("GList*" "suggestions")