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_yahoo_new
694 (c-name "empathy_account_widget_yahoo_new")
695 (is-constructor-of "EmpathyAccountWidgetYahoo")
696 (return-type "GtkWidget*")
698 '("McAccount*" "account")
702 (define-function empathy_account_widget_sip_new
703 (c-name "empathy_account_widget_sip_new")
704 (is-constructor-of "EmpathyAccountWidgetSip")
705 (return-type "GtkWidget*")
707 '("McAccount*" "account")
711 (define-function empathy_account_widget_groupwise_new
712 (c-name "empathy_account_widget_groupwise_new")
713 (is-constructor-of "EmpathyAccountWidgetGroupwise")
714 (return-type "GtkWidget*")
716 '("McAccount*" "account")
722 ;; From empathy-conf.h
724 (define-function empathy_conf_get_type
725 (c-name "empathy_conf_get_type")
726 (return-type "GType")
729 (define-function empathy_conf_get
730 (c-name "empathy_conf_get")
731 (return-type "EmpathyConf*")
734 (define-function empathy_conf_shutdown
735 (c-name "empathy_conf_shutdown")
739 (define-method notify_add
740 (of-object "EmpathyConf")
741 (c-name "empathy_conf_notify_add")
742 (return-type "guint")
744 '("const-gchar*" "key")
745 '("EmpathyConfNotifyFunc" "func")
750 (define-method notify_remove
751 (of-object "EmpathyConf")
752 (c-name "empathy_conf_notify_remove")
753 (return-type "gboolean")
759 (define-method set_int
760 (of-object "EmpathyConf")
761 (c-name "empathy_conf_set_int")
762 (return-type "gboolean")
764 '("const-gchar*" "key")
769 (define-method get_int
770 (of-object "EmpathyConf")
771 (c-name "empathy_conf_get_int")
772 (return-type "gboolean")
774 '("const-gchar*" "key")
779 (define-method set_bool
780 (of-object "EmpathyConf")
781 (c-name "empathy_conf_set_bool")
782 (return-type "gboolean")
784 '("const-gchar*" "key")
785 '("gboolean" "value")
789 (define-method get_bool
790 (of-object "EmpathyConf")
791 (c-name "empathy_conf_get_bool")
792 (return-type "gboolean")
794 '("const-gchar*" "key")
795 '("gboolean*" "value")
799 (define-method set_string
800 (of-object "EmpathyConf")
801 (c-name "empathy_conf_set_string")
802 (return-type "gboolean")
804 '("const-gchar*" "key")
805 '("const-gchar*" "value")
809 (define-method get_string
810 (of-object "EmpathyConf")
811 (c-name "empathy_conf_get_string")
812 (return-type "gboolean")
814 '("const-gchar*" "key")
819 (define-method set_string_list
820 (of-object "EmpathyConf")
821 (c-name "empathy_conf_set_string_list")
822 (return-type "gboolean")
824 '("const-gchar*" "key")
829 (define-method get_string_list
830 (of-object "EmpathyConf")
831 (c-name "empathy_conf_get_string_list")
832 (return-type "gboolean")
834 '("const-gchar*" "key")
835 '("GSList**" "value")
841 ;; From empathy-theme.h
843 (define-function empathy_theme_get_type
844 (c-name "empathy_theme_get_type")
845 (return-type "GType")
848 (define-method update_view
849 (of-object "EmpathyTheme")
850 (c-name "empathy_theme_update_view")
853 '("EmpathyChatView*" "view")
857 (define-method append_message
858 (of-object "EmpathyTheme")
859 (c-name "empathy_theme_append_message")
862 '("EmpathyChatView*" "view")
863 '("EmpathyMessage*" "msg")
867 (define-method append_text
868 (of-object "EmpathyTheme")
869 (c-name "empathy_theme_append_text")
872 '("EmpathyChatView*" "view")
873 '("const-gchar*" "body")
874 '("const-gchar*" "tag")
875 '("const-gchar*" "link_tag")
879 (define-method append_spacing
880 (of-object "EmpathyTheme")
881 (c-name "empathy_theme_append_spacing")
884 '("EmpathyChatView*" "view")
888 (define-method append_event
889 (of-object "EmpathyTheme")
890 (c-name "empathy_theme_append_event")
893 '("EmpathyChatView*" "view")
894 '("const-gchar*" "str")
898 (define-method append_timestamp
899 (of-object "EmpathyTheme")
900 (c-name "empathy_theme_append_timestamp")
903 '("EmpathyChatView*" "view")
904 '("EmpathyMessage*" "message")
905 '("gboolean" "show_date")
906 '("gboolean" "show_time")
910 (define-method maybe_append_date_and_time
911 (of-object "EmpathyTheme")
912 (c-name "empathy_theme_maybe_append_date_and_time")
915 '("EmpathyChatView*" "view")
916 '("EmpathyMessage*" "message")
920 (define-method get_show_avatars
921 (of-object "EmpathyTheme")
922 (c-name "empathy_theme_get_show_avatars")
923 (return-type "gboolean")
926 (define-method set_show_avatars
927 (of-object "EmpathyTheme")
928 (c-name "empathy_theme_set_show_avatars")
937 ;; From empathy-account-widget-irc.h
939 (define-function empathy_account_widget_irc_new
940 (c-name "empathy_account_widget_irc_new")
941 (is-constructor-of "EmpathyAccountWidgetIrc")
942 (return-type "GtkWidget*")
944 '("McAccount*" "account")
950 ;; From empathy-contact-dialogs.h
952 (define-function empathy_subscription_dialog_show
953 (c-name "empathy_subscription_dialog_show")
956 '("EmpathyContact*" "contact")
957 '("GtkWindow*" "parent")
961 (define-method information_dialog_show
962 (of-object "EmpathyContact")
963 (c-name "empathy_contact_information_dialog_show")
966 '("GtkWindow*" "parent")
968 '("gboolean" "is_user")
972 (define-function empathy_new_contact_dialog_show
973 (c-name "empathy_new_contact_dialog_show")
976 '("GtkWindow*" "parent")
982 ;; From empathy-new-message-dialog.h
984 (define-function empathy_new_message_dialog_show
985 (c-name "empathy_new_message_dialog_show")
986 (return-type "GtkWidget*")
988 '("GtkWindow*" "parent")
994 ;; From empathy-theme-irc.h
996 (define-function empathy_theme_irc_get_type
997 (c-name "empathy_theme_irc_get_type")
998 (return-type "GType")
1003 ;; From empathy-avatar-chooser.h
1005 (define-function empathy_avatar_chooser_get_type
1006 (c-name "empathy_avatar_chooser_get_type")
1007 (return-type "GType")
1010 (define-function empathy_avatar_chooser_new
1011 (c-name "empathy_avatar_chooser_new")
1012 (is-constructor-of "EmpathyAvatarChooser")
1013 (return-type "GtkWidget*")
1017 (of-object "EmpathyAvatarChooser")
1018 (c-name "empathy_avatar_chooser_set")
1019 (return-type "none")
1021 '("EmpathyAvatar*" "avatar")
1025 (define-method get_image_data
1026 (of-object "EmpathyAvatarChooser")
1027 (c-name "empathy_avatar_chooser_get_image_data")
1028 (return-type "none")
1030 '("const-gchar**" "data")
1031 '("gsize*" "data_size")
1032 '("const-gchar**" "mime_type")
1038 ;; From empathy-contact-list-store.h
1040 (define-function empathy_contact_list_store_get_type
1041 (c-name "empathy_contact_list_store_get_type")
1042 (return-type "GType")
1045 (define-function empathy_contact_list_store_new
1046 (is-constructor-of "EmpathyContactListStore")
1047 (c-name "empathy_contact_list_store_new")
1048 (return-type "EmpathyContactListStore*")
1050 '("EmpathyContactList*" "list_iface")
1054 (define-method get_list_iface
1055 (of-object "EmpathyContactListStore")
1056 (c-name "empathy_contact_list_store_get_list_iface")
1057 (return-type "EmpathyContactList*")
1060 (define-method get_show_offline
1061 (of-object "EmpathyContactListStore")
1062 (c-name "empathy_contact_list_store_get_show_offline")
1063 (return-type "gboolean")
1066 (define-method set_show_offline
1067 (of-object "EmpathyContactListStore")
1068 (c-name "empathy_contact_list_store_set_show_offline")
1069 (return-type "none")
1071 '("gboolean" "show_offline")
1075 (define-method get_show_avatars
1076 (of-object "EmpathyContactListStore")
1077 (c-name "empathy_contact_list_store_get_show_avatars")
1078 (return-type "gboolean")
1081 (define-method set_show_avatars
1082 (of-object "EmpathyContactListStore")
1083 (c-name "empathy_contact_list_store_set_show_avatars")
1084 (return-type "none")
1086 '("gboolean" "show_avatars")
1090 (define-method get_show_groups
1091 (of-object "EmpathyContactListStore")
1092 (c-name "empathy_contact_list_store_get_show_groups")
1093 (return-type "gboolean")
1096 (define-method set_show_groups
1097 (of-object "EmpathyContactListStore")
1098 (c-name "empathy_contact_list_store_set_show_groups")
1099 (return-type "none")
1101 '("gboolean" "show_groups")
1105 (define-method get_is_compact
1106 (of-object "EmpathyContactListStore")
1107 (c-name "empathy_contact_list_store_get_is_compact")
1108 (return-type "gboolean")
1111 (define-method set_is_compact
1112 (of-object "EmpathyContactListStore")
1113 (c-name "empathy_contact_list_store_set_is_compact")
1114 (return-type "none")
1116 '("gboolean" "is_compact")
1120 (define-method get_sort_criterium
1121 (of-object "EmpathyContactListStore")
1122 (c-name "empathy_contact_list_store_get_sort_criterium")
1123 (return-type "EmpathyContactListStoreSort")
1126 (define-method set_sort_criterium
1127 (of-object "EmpathyContactListStore")
1128 (c-name "empathy_contact_list_store_set_sort_criterium")
1129 (return-type "none")
1131 '("EmpathyContactListStoreSort" "sort_criterium")
1135 (define-function empathy_contact_list_store_row_separator_func
1136 (c-name "empathy_contact_list_store_row_separator_func")
1137 (return-type "gboolean")
1139 '("GtkTreeModel*" "model")
1140 '("GtkTreeIter*" "iter")
1141 '("gpointer" "data")
1145 (define-function empathy_contact_list_store_get_parent_group
1146 (c-name "empathy_contact_list_store_get_parent_group")
1147 (return-type "gchar*")
1149 '("GtkTreeModel*" "model")
1150 '("GtkTreePath*" "path")
1151 '("gboolean*" "path_is_group")
1155 (define-function empathy_contact_list_store_search_equal_func
1156 (c-name "empathy_contact_list_store_search_equal_func")
1157 (return-type "gboolean")
1159 '("GtkTreeModel*" "model")
1161 '("const-gchar*" "key")
1162 '("GtkTreeIter*" "iter")
1163 '("gpointer" "search_data")
1169 ;; From empathy-presence-chooser.h
1171 (define-function empathy_presence_chooser_get_type
1172 (c-name "empathy_presence_chooser_get_type")
1173 (return-type "GType")
1176 (define-function empathy_presence_chooser_new
1177 (c-name "empathy_presence_chooser_new")
1178 (is-constructor-of "EmpathyPresenceChooser")
1179 (return-type "GtkWidget*")
1182 (define-function empathy_presence_chooser_create_menu
1183 (c-name "empathy_presence_chooser_create_menu")
1184 (return-type "GtkWidget*")
1189 ;; From empathy-theme-manager.h
1191 (define-function empathy_theme_manager_get_type
1192 (c-name "empathy_theme_manager_get_type")
1193 (return-type "GType")
1196 (define-function empathy_theme_manager_get
1197 (c-name "empathy_theme_manager_get")
1198 (return-type "EmpathyThemeManager*")
1201 (define-function empathy_theme_manager_get_themes
1202 (c-name "empathy_theme_manager_get_themes")
1203 (return-type "const-gchar**")
1206 (define-method apply
1207 (of-object "EmpathyThemeManager")
1208 (c-name "empathy_theme_manager_apply")
1209 (return-type "none")
1211 '("EmpathyChatView*" "view")
1212 '("const-gchar*" "theme")
1216 (define-method apply_saved
1217 (of-object "EmpathyThemeManager")
1218 (c-name "empathy_theme_manager_apply_saved")
1219 (return-type "none")
1221 '("EmpathyChatView*" "view")
1227 ;; From empathy-avatar-image.h
1229 (define-function empathy_avatar_image_get_type
1230 (c-name "empathy_avatar_image_get_type")
1231 (return-type "GType")
1234 (define-function empathy_avatar_image_new
1235 (c-name "empathy_avatar_image_new")
1236 (is-constructor-of "EmpathyAvatarImage")
1237 (return-type "GtkWidget*")
1241 (of-object "EmpathyAvatarImage")
1242 (c-name "empathy_avatar_image_set")
1243 (return-type "none")
1245 '("EmpathyAvatar*" "avatar")
1251 ;; From empathy-contact-list-view.h
1253 (define-function empathy_contact_list_view_get_type
1254 (c-name "empathy_contact_list_view_get_type")
1255 (return-type "GType")
1258 (define-function empathy_contact_list_view_new
1259 (c-name "empathy_contact_list_view_new")
1260 (is-constructor-of "EmpathyContactListView")
1261 (return-type "EmpathyContactListView*")
1263 '("EmpathyContactListStore*" "store")
1264 '("EmpathyContactListFeatures" "features")
1268 (define-method set_features
1269 (of-object "EmpathyContactListView")
1270 (c-name "empathy_contact_list_view_set_features")
1271 (return-type "none")
1273 '("EmpathyContactListFeatures" "features")
1277 (define-method get_features
1278 (of-object "EmpathyContactListView")
1279 (c-name "empathy_contact_list_view_get_features")
1280 (return-type "EmpathyContactListFeatures")
1283 (define-method get_selected
1284 (of-object "EmpathyContactListView")
1285 (c-name "empathy_contact_list_view_get_selected")
1286 (return-type "EmpathyContact*")
1289 (define-method get_selected_group
1290 (of-object "EmpathyContactListView")
1291 (c-name "empathy_contact_list_view_get_selected_group")
1292 (return-type "gchar*")
1295 (define-method get_contact_menu
1296 (of-object "EmpathyContactListView")
1297 (c-name "empathy_contact_list_view_get_contact_menu")
1298 (return-type "GtkWidget*")
1300 '("EmpathyContact*" "contact")
1304 (define-method get_group_menu
1305 (of-object "EmpathyContactListView")
1306 (c-name "empathy_contact_list_view_get_group_menu")
1307 (return-type "GtkWidget*")
1312 ;; From empathy-ui-utils.h
1314 (define-function empathy_glade_get_file_simple
1315 (c-name "empathy_glade_get_file_simple")
1316 (return-type "none")
1318 '("const-gchar*" "filename")
1319 '("const-gchar*" "root")
1320 '("const-gchar*" "domain")
1321 '("const-gchar*" "first_required_widget")
1326 (define-function empathy_glade_get_file
1327 (c-name "empathy_glade_get_file")
1328 (return-type "GladeXML*")
1330 '("const-gchar*" "filename")
1331 '("const-gchar*" "root")
1332 '("const-gchar*" "domain")
1333 '("const-gchar*" "first_required_widget")
1338 (define-function empathy_glade_connect
1339 (c-name "empathy_glade_connect")
1340 (return-type "none")
1342 '("GladeXML*" "gui")
1343 '("gpointer" "user_data")
1344 '("gchar*" "first_widget")
1349 (define-function empathy_glade_setup_size_group
1350 (c-name "empathy_glade_setup_size_group")
1351 (return-type "none")
1353 '("GladeXML*" "gui")
1354 '("GtkSizeGroupMode" "mode")
1355 '("gchar*" "first_widget")
1360 (define-function empathy_icon_name_from_account
1361 (c-name "empathy_icon_name_from_account")
1362 (return-type "const-gchar*")
1364 '("McAccount*" "account")
1368 (define-function empathy_icon_name_for_presence
1369 (c-name "empathy_icon_name_for_presence")
1370 (return-type "const-gchar*")
1372 '("McPresence" "presence")
1376 (define-function empathy_icon_name_for_contact
1377 (c-name "empathy_icon_name_for_contact")
1378 (return-type "const-gchar*")
1380 '("EmpathyContact*" "contact")
1384 (define-function empathy_pixbuf_from_data
1385 (c-name "empathy_pixbuf_from_data")
1386 (return-type "GdkPixbuf*")
1389 '("gsize" "data_size")
1393 (define-function empathy_pixbuf_from_avatar_scaled
1394 (c-name "empathy_pixbuf_from_avatar_scaled")
1395 (return-type "GdkPixbuf*")
1397 '("EmpathyAvatar*" "avatar")
1403 (define-function empathy_pixbuf_avatar_from_contact_scaled
1404 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1405 (return-type "GdkPixbuf*")
1407 '("EmpathyContact*" "contact")
1413 (define-function empathy_pixbuf_scale_down_if_necessary
1414 (c-name "empathy_pixbuf_scale_down_if_necessary")
1415 (return-type "GdkPixbuf*")
1417 '("GdkPixbuf*" "pixbuf")
1418 '("gint" "max_size")
1422 (define-function empathy_pixbuf_from_icon_name
1423 (c-name "empathy_pixbuf_from_icon_name")
1424 (return-type "GdkPixbuf*")
1426 '("const-gchar*" "icon_name")
1427 '("GtkIconSize" "icon_size")
1431 (define-function empathy_text_iter_forward_search
1432 (c-name "empathy_text_iter_forward_search")
1433 (return-type "gboolean")
1435 '("const-GtkTextIter*" "iter")
1436 '("const-gchar*" "str")
1437 '("GtkTextIter*" "match_start")
1438 '("GtkTextIter*" "match_end")
1439 '("const-GtkTextIter*" "limit")
1443 (define-function empathy_text_iter_backward_search
1444 (c-name "empathy_text_iter_backward_search")
1445 (return-type "gboolean")
1447 '("const-GtkTextIter*" "iter")
1448 '("const-gchar*" "str")
1449 '("GtkTextIter*" "match_start")
1450 '("GtkTextIter*" "match_end")
1451 '("const-GtkTextIter*" "limit")
1455 (define-function empathy_window_get_is_visible
1456 (c-name "empathy_window_get_is_visible")
1457 (return-type "gboolean")
1459 '("GtkWindow*" "window")
1463 (define-function empathy_window_present
1464 (c-name "empathy_window_present")
1465 (return-type "none")
1467 '("GtkWindow*" "window")
1468 '("gboolean" "steal_focus")
1472 (define-function empathy_window_iconify
1473 (c-name "empathy_window_iconify")
1474 (return-type "none")
1476 '("GtkWindow*" "window")
1477 '("GtkStatusIcon*" "status_icon")
1481 (define-function empathy_get_toplevel_window
1482 (c-name "empathy_get_toplevel_window")
1483 (return-type "GtkWindow*")
1485 '("GtkWidget*" "widget")
1489 (define-function empathy_url_show
1490 (c-name "empathy_url_show")
1491 (return-type "none")
1493 '("const-char*" "url")
1497 (define-function empathy_toggle_button_set_state_quietly
1498 (c-name "empathy_toggle_button_set_state_quietly")
1499 (return-type "none")
1501 '("GtkWidget*" "widget")
1502 '("GCallback" "callback")
1503 '("gpointer" "user_data")
1504 '("gboolean" "active")
1508 (define-function empathy_link_button_new
1509 (c-name "empathy_link_button_new")
1510 (is-constructor-of "EmpathyLinkButton")
1511 (return-type "GtkWidget*")
1513 '("const-gchar*" "url")
1514 '("const-gchar*" "title")
1518 (define-function empathy_text_buffer_tag_set
1519 (c-name "empathy_text_buffer_tag_set")
1520 (return-type "GtkTextTag*")
1522 '("GtkTextBuffer*" "buffer")
1523 '("const-gchar*" "tag_name")
1524 '("const-gchar*" "first_property_name")
1531 ;; From empathy-cell-renderer-activatable.h
1533 (define-function empathy_cell_renderer_activatable_get_type
1534 (c-name "empathy_cell_renderer_activatable_get_type")
1535 (return-type "GType")
1538 (define-function empathy_cell_renderer_activatable_new
1539 (c-name "empathy_cell_renderer_activatable_new")
1540 (is-constructor-of "EmpathyCellRendererActivatable")
1541 (return-type "GtkCellRenderer*")
1546 ;; From empathy-contact-widget.h
1548 (define-method widget_new
1549 (of-object "EmpathyContact")
1550 (c-name "empathy_contact_widget_new")
1551 (return-type "GtkWidget*")
1553 '("EmpathyContactWidgetFlags" "flags")
1557 (define-function empathy_contact_widget_get_contact
1558 (c-name "empathy_contact_widget_get_contact")
1559 (return-type "EmpathyContact*")
1561 '("GtkWidget*" "widget")
1565 (define-function empathy_contact_widget_set_contact
1566 (c-name "empathy_contact_widget_set_contact")
1567 (return-type "none")
1569 '("GtkWidget*" "widget")
1570 '("EmpathyContact*" "contact")
1574 (define-function empathy_contact_widget_set_account_filter
1575 (c-name "empathy_contact_widget_set_account_filter")
1576 (return-type "none")
1578 '("GtkWidget*" "widget")
1579 '("EmpathyAccountChooserFilterFunc" "filter")
1580 '("gpointer" "user_data")
1586 ;; From empathy-profile-chooser.h
1588 (define-function empathy_profile_chooser_new
1589 (c-name "empathy_profile_chooser_new")
1590 (is-constructor-of "EmpathyProfileChooser")
1591 (return-type "GtkWidget*")
1594 (define-function empathy_profile_chooser_get_selected
1595 (c-name "empathy_profile_chooser_get_selected")
1596 (return-type "McProfile*")
1598 '("GtkWidget*" "widget")
1602 (define-function empathy_profile_chooser_n_profiles
1603 (c-name "empathy_profile_chooser_n_profiles")
1604 (return-type "gint")
1606 '("GtkWidget*" "widget")
1612 ;; From empathy-cell-renderer-expander.h
1614 (define-function empathy_cell_renderer_expander_get_type
1615 (c-name "empathy_cell_renderer_expander_get_type")
1616 (return-type "GType")
1619 (define-function empathy_cell_renderer_expander_new
1620 (c-name "empathy_cell_renderer_expander_new")
1621 (is-constructor-of "EmpathyCellRendererExpander")
1622 (return-type "GtkCellRenderer*")
1627 ;; From empathy-geometry.h
1629 (define-function empathy_geometry_save
1630 (c-name "empathy_geometry_save")
1631 (return-type "none")
1633 '("const-gchar*" "name")
1641 (define-function empathy_geometry_load
1642 (c-name "empathy_geometry_load")
1643 (return-type "none")
1645 '("const-gchar*" "name")
1655 ;; From empathy-smiley-manager.h
1657 (define-function empathy_smiley_manager_get_type
1658 (c-name "empathy_smiley_manager_get_type")
1659 (return-type "GType")
1662 (define-function empathy_smiley_manager_new
1663 (c-name "empathy_smiley_manager_new")
1664 (is-constructor-of "EmpathySmileyManager")
1665 (return-type "EmpathySmileyManager*")
1669 (of-object "EmpathySmileyManager")
1670 (c-name "empathy_smiley_manager_load")
1671 (return-type "none")
1675 (of-object "EmpathySmileyManager")
1676 (c-name "empathy_smiley_manager_add")
1677 (return-type "none")
1679 '("const-gchar*" "icon_name")
1680 '("const-gchar*" "first_str")
1685 (define-method add_from_pixbuf
1686 (of-object "EmpathySmileyManager")
1687 (c-name "empathy_smiley_manager_add_from_pixbuf")
1688 (return-type "none")
1690 '("GdkPixbuf*" "smiley")
1691 '("const-gchar*" "first_str")
1696 (define-method get_all
1697 (of-object "EmpathySmileyManager")
1698 (c-name "empathy_smiley_manager_get_all")
1699 (return-type "GSList*")
1702 (define-method parse
1703 (of-object "EmpathySmileyManager")
1704 (c-name "empathy_smiley_manager_parse")
1705 (return-type "GSList*")
1707 '("const-gchar*" "text")
1712 (of-object "EmpathySmiley")
1713 (c-name "empathy_smiley_free")
1714 (return-type "none")
1719 ;; From empathy-cell-renderer-text.h
1721 (define-function empathy_cell_renderer_text_get_type
1722 (c-name "empathy_cell_renderer_text_get_type")
1723 (return-type "GType")
1726 (define-function empathy_cell_renderer_text_new
1727 (c-name "empathy_cell_renderer_text_new")
1728 (is-constructor-of "EmpathyCellRendererText")
1729 (return-type "GtkCellRenderer*")
1734 ;; From empathy-spell.h
1736 (define-function empathy_spell_supported
1737 (c-name "empathy_spell_supported")
1738 (return-type "gboolean")
1741 (define-function empathy_spell_get_language_name
1742 (c-name "empathy_spell_get_language_name")
1743 (return-type "const-gchar*")
1745 '("const-gchar*" "code")
1749 (define-function empathy_spell_get_language_codes
1750 (c-name "empathy_spell_get_language_codes")
1751 (return-type "GList*")
1754 (define-function empathy_spell_free_language_codes
1755 (c-name "empathy_spell_free_language_codes")
1756 (return-type "none")
1762 (define-function empathy_spell_check
1763 (c-name "empathy_spell_check")
1764 (return-type "gboolean")
1766 '("const-gchar*" "word")
1770 (define-function empathy_spell_get_suggestions
1771 (c-name "empathy_spell_get_suggestions")
1772 (return-type "GList*")
1774 '("const-gchar*" "word")
1778 (define-function empathy_spell_free_suggestions
1779 (c-name "empathy_spell_free_suggestions")
1780 (return-type "none")
1782 '("GList*" "suggestions")