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 ChatTextView
54 (parent "GtkTextView")
55 (c-name "EmpathyChatTextView")
56 (gtype-id "EMPATHY_TYPE_CHAT_TEXT_VIEW")
59 (define-interface ChatView
61 (c-name "EmpathyChatView")
62 (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
68 (c-name "EmpathyConf")
69 (gtype-id "EMPATHY_TYPE_CONF")
72 (define-object ContactListStore
74 (parent "GtkTreeStore")
75 (c-name "EmpathyContactListStore")
76 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
79 (define-object ContactListView
81 (parent "GtkTreeView")
82 (c-name "EmpathyContactListView")
83 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
86 (define-object ContactSelector
88 (parent "GtkComboBox")
89 (c-name "EmpathyContactSelector")
90 (gtype-id "EMPATHY_TYPE_CONTACT_SELECTOR")
93 (define-object PresenceChooser
95 (parent "GtkToggleButton")
96 (c-name "EmpathyPresenceChooser")
97 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
100 (define-object SmileyManager
101 (in-module "Empathy")
103 (c-name "EmpathySmileyManager")
104 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
107 (define-object ThemeBoxes
108 (in-module "Empathy")
109 (parent "EmpathyChatTextView")
110 (c-name "EmpathyThemeBoxes")
111 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
114 (define-object ThemeIrc
115 (in-module "Empathy")
116 (parent "EmpathyChatTextView")
117 (c-name "EmpathyThemeIrc")
118 (gtype-id "EMPATHY_TYPE_THEME_IRC")
121 (define-object ThemeManager
122 (in-module "Empathy")
124 (c-name "EmpathyThemeManager")
125 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
128 ;; Enumerations and flags ...
130 (define-enum ContactListStoreSort
131 (in-module "Empathy")
132 (c-name "EmpathyContactListStoreSort")
133 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
135 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
136 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
140 (define-enum ContactListStoreCol
141 (in-module "Empathy")
142 (c-name "EmpathyContactListStoreCol")
143 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
145 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
146 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
147 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
148 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
149 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
150 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
151 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
152 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
153 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
154 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
155 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
156 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
157 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
161 (define-flags ContactListFeatureFlags
162 (in-module "Empathy")
163 (c-name "EmpathyContactListFeatureFlags")
164 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
166 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
167 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
168 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
169 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
170 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
171 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
172 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
173 '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
174 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
178 (define-flags ContactFeatureFlags
179 (in-module "Empathy")
180 (c-name "EmpathyContactFeatureFlags")
181 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
183 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
184 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
185 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
186 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
187 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
188 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
189 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
193 (define-flags ContactWidgetFlags
194 (in-module "Empathy")
195 (c-name "EmpathyContactWidgetFlags")
196 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
198 '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
199 '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
200 '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
201 '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
202 '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
203 '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
204 '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
209 (in-module "Empathy")
210 (c-name "EmpathySound")
211 (gtype-id "EMPATHY_TYPE_SOUND")
213 '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
214 '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
215 '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
216 '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
217 '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
218 '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
219 '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
220 '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
221 '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
222 '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
223 '("last-empathy-sound" "LAST_EMPATHY_SOUND")
228 ;; From empathy-account-chooser.h
230 (define-function account_chooser_get_type
231 (c-name "empathy_account_chooser_get_type")
232 (return-type "GType")
235 (define-function account_chooser_new
236 (c-name "empathy_account_chooser_new")
237 (is-constructor-of "EmpathyAccountChooser")
238 (return-type "GtkWidget*")
241 (define-method get_account
242 (of-object "EmpathyAccountChooser")
243 (c-name "empathy_account_chooser_get_account")
244 (return-type "McAccount*")
247 (define-method set_account
248 (of-object "EmpathyAccountChooser")
249 (c-name "empathy_account_chooser_set_account")
250 (return-type "gboolean")
252 '("McAccount*" "account")
256 (define-method get_has_all_option
257 (of-object "EmpathyAccountChooser")
258 (c-name "empathy_account_chooser_get_has_all_option")
259 (return-type "gboolean")
262 (define-method set_has_all_option
263 (of-object "EmpathyAccountChooser")
264 (c-name "empathy_account_chooser_set_has_all_option")
267 '("gboolean" "has_all_option")
271 (define-method set_filter
272 (of-object "EmpathyAccountChooser")
273 (c-name "empathy_account_chooser_set_filter")
276 '("EmpathyAccountChooserFilterFunc" "filter")
277 '("gpointer" "user_data")
281 (define-function account_chooser_filter_is_connected
282 (c-name "empathy_account_chooser_filter_is_connected")
283 (return-type "gboolean")
285 '("McAccount*" "account")
286 '("gpointer" "user_data")
292 ;; From empathy-account-widget.h
294 (define-function account_widget_handle_params
295 (c-name "empathy_account_widget_handle_params")
298 '("McAccount*" "account")
299 '("GladeXML*" "glade")
300 '("const-gchar*" "first_widget_name")
305 (define-function account_widget_add_forget_button
306 (c-name "empathy_account_widget_add_forget_button")
309 '("McAccount*" "account")
310 '("GladeXML*" "glade")
311 '("const-gchar*" "button")
312 '("const-gchar*" "entry")
316 (define-function account_widget_generic_new
317 (c-name "empathy_account_widget_generic_new")
318 (is-constructor-of "EmpathyAccountWidgetGeneric")
319 (return-type "GtkWidget*")
321 '("McAccount*" "account")
325 (define-function account_widget_salut_new
326 (c-name "empathy_account_widget_salut_new")
327 (is-constructor-of "EmpathyAccountWidgetSalut")
328 (return-type "GtkWidget*")
330 '("McAccount*" "account")
334 (define-function account_widget_msn_new
335 (c-name "empathy_account_widget_msn_new")
336 (is-constructor-of "EmpathyAccountWidgetMsn")
337 (return-type "GtkWidget*")
339 '("McAccount*" "account")
343 (define-function account_widget_jabber_new
344 (c-name "empathy_account_widget_jabber_new")
345 (is-constructor-of "EmpathyAccountWidgetJabber")
346 (return-type "GtkWidget*")
348 '("McAccount*" "account")
352 (define-function account_widget_icq_new
353 (c-name "empathy_account_widget_icq_new")
354 (is-constructor-of "EmpathyAccountWidgetIcq")
355 (return-type "GtkWidget*")
357 '("McAccount*" "account")
361 (define-function account_widget_aim_new
362 (c-name "empathy_account_widget_aim_new")
363 (is-constructor-of "EmpathyAccountWidgetAim")
364 (return-type "GtkWidget*")
366 '("McAccount*" "account")
370 (define-function account_widget_yahoo_new
371 (c-name "empathy_account_widget_yahoo_new")
372 (is-constructor-of "EmpathyAccountWidgetYahoo")
373 (return-type "GtkWidget*")
375 '("McAccount*" "account")
379 (define-function account_widget_groupwise_new
380 (c-name "empathy_account_widget_groupwise_new")
381 (is-constructor-of "EmpathyAccountWidgetGroupwise")
382 (return-type "GtkWidget*")
384 '("McAccount*" "account")
390 ;; From empathy-account-widget-irc.h
392 (define-function account_widget_irc_new
393 (c-name "empathy_account_widget_irc_new")
394 (is-constructor-of "EmpathyAccountWidgetIrc")
395 (return-type "GtkWidget*")
397 '("McAccount*" "account")
403 ;; From empathy-account-widget-sip.h
405 (define-function account_widget_sip_new
406 (c-name "empathy_account_widget_sip_new")
407 (is-constructor-of "EmpathyAccountWidgetSip")
408 (return-type "GtkWidget*")
410 '("McAccount*" "account")
416 ;; From empathy-avatar-chooser.h
418 (define-function avatar_chooser_get_type
419 (c-name "empathy_avatar_chooser_get_type")
420 (return-type "GType")
423 (define-function avatar_chooser_new
424 (c-name "empathy_avatar_chooser_new")
425 (is-constructor-of "EmpathyAvatarChooser")
426 (return-type "GtkWidget*")
430 (of-object "EmpathyAvatarChooser")
431 (c-name "empathy_avatar_chooser_set")
434 '("EmpathyAvatar*" "avatar")
438 (define-method get_image_data
439 (of-object "EmpathyAvatarChooser")
440 (c-name "empathy_avatar_chooser_get_image_data")
443 '("const-gchar**" "data")
444 '("gsize*" "data_size")
445 '("const-gchar**" "mime_type")
451 ;; From empathy-avatar-image.h
453 (define-function avatar_image_get_type
454 (c-name "empathy_avatar_image_get_type")
455 (return-type "GType")
458 (define-function avatar_image_new
459 (c-name "empathy_avatar_image_new")
460 (is-constructor-of "EmpathyAvatarImage")
461 (return-type "GtkWidget*")
465 (of-object "EmpathyAvatarImage")
466 (c-name "empathy_avatar_image_set")
469 '("EmpathyAvatar*" "avatar")
475 ;; From empathy-cell-renderer-activatable.h
477 (define-function cell_renderer_activatable_get_type
478 (c-name "empathy_cell_renderer_activatable_get_type")
479 (return-type "GType")
482 (define-function cell_renderer_activatable_new
483 (c-name "empathy_cell_renderer_activatable_new")
484 (is-constructor-of "EmpathyCellRendererActivatable")
485 (return-type "GtkCellRenderer*")
490 ;; From empathy-cell-renderer-expander.h
492 (define-function cell_renderer_expander_get_type
493 (c-name "empathy_cell_renderer_expander_get_type")
494 (return-type "GType")
497 (define-function cell_renderer_expander_new
498 (c-name "empathy_cell_renderer_expander_new")
499 (is-constructor-of "EmpathyCellRendererExpander")
500 (return-type "GtkCellRenderer*")
505 ;; From empathy-cell-renderer-text.h
507 (define-function cell_renderer_text_get_type
508 (c-name "empathy_cell_renderer_text_get_type")
509 (return-type "GType")
512 (define-function cell_renderer_text_new
513 (c-name "empathy_cell_renderer_text_new")
514 (is-constructor-of "EmpathyCellRendererText")
515 (return-type "GtkCellRenderer*")
520 ;; From empathy-chat.h
522 (define-function chat_get_type
523 (c-name "empathy_chat_get_type")
524 (return-type "GType")
527 (define-function chat_new
528 (c-name "empathy_chat_new")
529 (is-constructor-of "EmpathyChat")
530 (return-type "EmpathyChat*")
532 '("EmpathyTpChat*" "tp_chat")
536 (define-method get_tp_chat
537 (of-object "EmpathyChat")
538 (c-name "empathy_chat_get_tp_chat")
539 (return-type "EmpathyTpChat*")
542 (define-method set_tp_chat
543 (of-object "EmpathyChat")
544 (c-name "empathy_chat_set_tp_chat")
547 '("EmpathyTpChat*" "tp_chat")
551 (define-method get_account
552 (of-object "EmpathyChat")
553 (c-name "empathy_chat_get_account")
554 (return-type "McAccount*")
557 (define-method get_id
558 (of-object "EmpathyChat")
559 (c-name "empathy_chat_get_id")
560 (return-type "const-gchar*")
563 (define-method get_name
564 (of-object "EmpathyChat")
565 (c-name "empathy_chat_get_name")
566 (return-type "const-gchar*")
569 (define-method get_subject
570 (of-object "EmpathyChat")
571 (c-name "empathy_chat_get_subject")
572 (return-type "const-gchar*")
575 (define-method get_remote_contact
576 (of-object "EmpathyChat")
577 (c-name "empathy_chat_get_remote_contact")
578 (return-type "EmpathyContact*")
581 (define-method get_members_count
582 (of-object "EmpathyChat")
583 (c-name "empathy_chat_get_members_count")
584 (return-type "guint")
587 (define-method get_contact_menu
588 (of-object "EmpathyChat")
589 (c-name "empathy_chat_get_contact_menu")
590 (return-type "GtkWidget*")
594 (of-object "EmpathyChat")
595 (c-name "empathy_chat_clear")
599 (define-method scroll_down
600 (of-object "EmpathyChat")
601 (c-name "empathy_chat_scroll_down")
606 (of-object "EmpathyChat")
607 (c-name "empathy_chat_cut")
612 (of-object "EmpathyChat")
613 (c-name "empathy_chat_copy")
618 (of-object "EmpathyChat")
619 (c-name "empathy_chat_paste")
623 (define-method correct_word
624 (of-object "EmpathyChat")
625 (c-name "empathy_chat_correct_word")
628 '("GtkTextIter*" "start")
629 '("GtkTextIter*" "end")
630 '("const-gchar*" "new_word")
634 (define-method is_room
635 (of-object "EmpathyChat")
636 (c-name "empathy_chat_is_room")
637 (return-type "gboolean")
642 ;; From empathy-chat-text-view.h
644 (define-function chat_text_view_get_type
645 (c-name "empathy_chat_text_view_get_type")
646 (return-type "GType")
649 (define-method get_last_contact
650 (of-object "EmpathyChatTextView")
651 (c-name "empathy_chat_text_view_get_last_contact")
652 (return-type "EmpathyContact*")
655 (define-method set_only_if_date
656 (of-object "EmpathyChatTextView")
657 (c-name "empathy_chat_text_view_set_only_if_date")
660 '("gboolean" "only_if_date")
664 (define-method append_body
665 (of-object "EmpathyChatTextView")
666 (c-name "empathy_chat_text_view_append_body")
669 '("const-gchar*" "body")
670 '("const-gchar*" "tag")
674 (define-method append_spacing
675 (of-object "EmpathyChatTextView")
676 (c-name "empathy_chat_text_view_append_spacing")
680 (define-method tag_set
681 (of-object "EmpathyChatTextView")
682 (c-name "empathy_chat_text_view_tag_set")
683 (return-type "GtkTextTag*")
685 '("const-gchar*" "tag_name")
686 '("const-gchar*" "first_property_name")
693 ;; From empathy-chat-view.h
695 (define-function chat_view_get_type
696 (c-name "empathy_chat_view_get_type")
697 (return-type "GType")
700 (define-method append_message
701 (of-object "EmpathyChatView")
702 (c-name "empathy_chat_view_append_message")
705 '("EmpathyMessage*" "msg")
709 (define-method append_event
710 (of-object "EmpathyChatView")
711 (c-name "empathy_chat_view_append_event")
714 '("const-gchar*" "str")
718 (define-method scroll
719 (of-object "EmpathyChatView")
720 (c-name "empathy_chat_view_scroll")
723 '("gboolean" "allow_scrolling")
727 (define-method scroll_down
728 (of-object "EmpathyChatView")
729 (c-name "empathy_chat_view_scroll_down")
733 (define-method get_has_selection
734 (of-object "EmpathyChatView")
735 (c-name "empathy_chat_view_get_has_selection")
736 (return-type "gboolean")
740 (of-object "EmpathyChatView")
741 (c-name "empathy_chat_view_clear")
745 (define-method find_previous
746 (of-object "EmpathyChatView")
747 (c-name "empathy_chat_view_find_previous")
748 (return-type "gboolean")
750 '("const-gchar*" "search_criteria")
751 '("gboolean" "new_search")
755 (define-method find_next
756 (of-object "EmpathyChatView")
757 (c-name "empathy_chat_view_find_next")
758 (return-type "gboolean")
760 '("const-gchar*" "search_criteria")
761 '("gboolean" "new_search")
765 (define-method find_abilities
766 (of-object "EmpathyChatView")
767 (c-name "empathy_chat_view_find_abilities")
770 '("const-gchar*" "search_criteria")
771 '("gboolean*" "can_do_previous")
772 '("gboolean*" "can_do_next")
776 (define-method highlight
777 (of-object "EmpathyChatView")
778 (c-name "empathy_chat_view_highlight")
781 '("const-gchar*" "text")
785 (define-method copy_clipboard
786 (of-object "EmpathyChatView")
787 (c-name "empathy_chat_view_copy_clipboard")
793 ;; From empathy-conf.h
795 (define-function conf_get_type
796 (c-name "empathy_conf_get_type")
797 (return-type "GType")
800 (define-function conf_get
801 (c-name "empathy_conf_get")
802 (return-type "EmpathyConf*")
805 (define-function conf_shutdown
806 (c-name "empathy_conf_shutdown")
810 (define-method notify_add
811 (of-object "EmpathyConf")
812 (c-name "empathy_conf_notify_add")
813 (return-type "guint")
815 '("const-gchar*" "key")
816 '("EmpathyConfNotifyFunc" "func")
821 (define-method notify_remove
822 (of-object "EmpathyConf")
823 (c-name "empathy_conf_notify_remove")
824 (return-type "gboolean")
830 (define-method set_int
831 (of-object "EmpathyConf")
832 (c-name "empathy_conf_set_int")
833 (return-type "gboolean")
835 '("const-gchar*" "key")
840 (define-method get_int
841 (of-object "EmpathyConf")
842 (c-name "empathy_conf_get_int")
843 (return-type "gboolean")
845 '("const-gchar*" "key")
850 (define-method set_bool
851 (of-object "EmpathyConf")
852 (c-name "empathy_conf_set_bool")
853 (return-type "gboolean")
855 '("const-gchar*" "key")
856 '("gboolean" "value")
860 (define-method get_bool
861 (of-object "EmpathyConf")
862 (c-name "empathy_conf_get_bool")
863 (return-type "gboolean")
865 '("const-gchar*" "key")
866 '("gboolean*" "value")
870 (define-method set_string
871 (of-object "EmpathyConf")
872 (c-name "empathy_conf_set_string")
873 (return-type "gboolean")
875 '("const-gchar*" "key")
876 '("const-gchar*" "value")
880 (define-method get_string
881 (of-object "EmpathyConf")
882 (c-name "empathy_conf_get_string")
883 (return-type "gboolean")
885 '("const-gchar*" "key")
890 (define-method set_string_list
891 (of-object "EmpathyConf")
892 (c-name "empathy_conf_set_string_list")
893 (return-type "gboolean")
895 '("const-gchar*" "key")
900 (define-method get_string_list
901 (of-object "EmpathyConf")
902 (c-name "empathy_conf_get_string_list")
903 (return-type "gboolean")
905 '("const-gchar*" "key")
906 '("GSList**" "value")
912 ;; From empathy-contact-dialogs.h
914 (define-function subscription_dialog_show
915 (c-name "empathy_subscription_dialog_show")
918 '("EmpathyContact*" "contact")
919 '("GtkWindow*" "parent")
923 (define-method information_dialog_show
924 (of-object "EmpathyContact")
925 (c-name "empathy_contact_information_dialog_show")
928 '("GtkWindow*" "parent")
930 '("gboolean" "is_user")
934 (define-function new_contact_dialog_show
935 (c-name "empathy_new_contact_dialog_show")
938 '("GtkWindow*" "parent")
944 ;; From empathy-contact-list-store.h
946 (define-function contact_list_store_get_type
947 (c-name "empathy_contact_list_store_get_type")
948 (return-type "GType")
951 (define-function empathy_contact_list_store_new
952 (is-constructor-of "EmpathyContactListStore")
953 (c-name "empathy_contact_list_store_new")
954 (return-type "EmpathyContactListStore*")
956 '("EmpathyContactList*" "list_iface")
960 (define-method get_list_iface
961 (of-object "EmpathyContactListStore")
962 (c-name "empathy_contact_list_store_get_list_iface")
963 (return-type "EmpathyContactList*")
966 (define-method get_show_offline
967 (of-object "EmpathyContactListStore")
968 (c-name "empathy_contact_list_store_get_show_offline")
969 (return-type "gboolean")
972 (define-method set_show_offline
973 (of-object "EmpathyContactListStore")
974 (c-name "empathy_contact_list_store_set_show_offline")
977 '("gboolean" "show_offline")
981 (define-method get_show_avatars
982 (of-object "EmpathyContactListStore")
983 (c-name "empathy_contact_list_store_get_show_avatars")
984 (return-type "gboolean")
987 (define-method set_show_avatars
988 (of-object "EmpathyContactListStore")
989 (c-name "empathy_contact_list_store_set_show_avatars")
992 '("gboolean" "show_avatars")
996 (define-method get_show_groups
997 (of-object "EmpathyContactListStore")
998 (c-name "empathy_contact_list_store_get_show_groups")
999 (return-type "gboolean")
1002 (define-method set_show_groups
1003 (of-object "EmpathyContactListStore")
1004 (c-name "empathy_contact_list_store_set_show_groups")
1005 (return-type "none")
1007 '("gboolean" "show_groups")
1011 (define-method get_is_compact
1012 (of-object "EmpathyContactListStore")
1013 (c-name "empathy_contact_list_store_get_is_compact")
1014 (return-type "gboolean")
1017 (define-method set_is_compact
1018 (of-object "EmpathyContactListStore")
1019 (c-name "empathy_contact_list_store_set_is_compact")
1020 (return-type "none")
1022 '("gboolean" "is_compact")
1026 (define-method get_sort_criterium
1027 (of-object "EmpathyContactListStore")
1028 (c-name "empathy_contact_list_store_get_sort_criterium")
1029 (return-type "EmpathyContactListStoreSort")
1032 (define-method set_sort_criterium
1033 (of-object "EmpathyContactListStore")
1034 (c-name "empathy_contact_list_store_set_sort_criterium")
1035 (return-type "none")
1037 '("EmpathyContactListStoreSort" "sort_criterium")
1041 (define-function contact_list_store_row_separator_func
1042 (c-name "empathy_contact_list_store_row_separator_func")
1043 (return-type "gboolean")
1045 '("GtkTreeModel*" "model")
1046 '("GtkTreeIter*" "iter")
1047 '("gpointer" "data")
1051 (define-function contact_list_store_get_parent_group
1052 (c-name "empathy_contact_list_store_get_parent_group")
1053 (return-type "gchar*")
1055 '("GtkTreeModel*" "model")
1056 '("GtkTreePath*" "path")
1057 '("gboolean*" "path_is_group")
1061 (define-function contact_list_store_search_equal_func
1062 (c-name "empathy_contact_list_store_search_equal_func")
1063 (return-type "gboolean")
1065 '("GtkTreeModel*" "model")
1067 '("const-gchar*" "key")
1068 '("GtkTreeIter*" "iter")
1069 '("gpointer" "search_data")
1075 ;; From empathy-contact-list-view.h
1077 (define-function contact_list_view_get_type
1078 (c-name "empathy_contact_list_view_get_type")
1079 (return-type "GType")
1082 (define-function contact_list_view_new
1083 (c-name "empathy_contact_list_view_new")
1084 (is-constructor-of "EmpathyContactListView")
1085 (return-type "EmpathyContactListView*")
1087 '("EmpathyContactListStore*" "store")
1088 '("EmpathyContactListFeatureFlags" "list_features")
1089 '("EmpathyContactFeatureFlags" "contact_features")
1093 (define-method get_selected
1094 (of-object "EmpathyContactListView")
1095 (c-name "empathy_contact_list_view_get_selected")
1096 (return-type "EmpathyContact*")
1099 (define-method get_selected_group
1100 (of-object "EmpathyContactListView")
1101 (c-name "empathy_contact_list_view_get_selected_group")
1102 (return-type "gchar*")
1105 (define-method get_contact_menu
1106 (of-object "EmpathyContactListView")
1107 (c-name "empathy_contact_list_view_get_contact_menu")
1108 (return-type "GtkWidget*")
1111 (define-method get_group_menu
1112 (of-object "EmpathyContactListView")
1113 (c-name "empathy_contact_list_view_get_group_menu")
1114 (return-type "GtkWidget*")
1119 ;; From empathy-contact-menu.h
1121 (define-method menu_new
1122 (of-object "EmpathyContact")
1123 (c-name "empathy_contact_menu_new")
1124 (return-type "GtkWidget*")
1126 '("EmpathyContactFeatureFlags" "features")
1130 (define-method chat_menu_item_new
1131 (of-object "EmpathyContact")
1132 (c-name "empathy_contact_chat_menu_item_new")
1133 (return-type "GtkWidget*")
1136 (define-method call_menu_item_new
1137 (of-object "EmpathyContact")
1138 (c-name "empathy_contact_call_menu_item_new")
1139 (return-type "GtkWidget*")
1142 (define-method log_menu_item_new
1143 (of-object "EmpathyContact")
1144 (c-name "empathy_contact_log_menu_item_new")
1145 (return-type "GtkWidget*")
1148 (define-method info_menu_item_new
1149 (of-object "EmpathyContact")
1150 (c-name "empathy_contact_info_menu_item_new")
1151 (return-type "GtkWidget*")
1154 (define-method edit_menu_item_new
1155 (of-object "EmpathyContact")
1156 (c-name "empathy_contact_edit_menu_item_new")
1157 (return-type "GtkWidget*")
1160 (define-method invite_menu_item_new
1161 (of-object "EmpathyContact")
1162 (c-name "empathy_contact_invite_menu_item_new")
1163 (return-type "GtkWidget*")
1166 (define-method file_transfer_menu_item_new
1167 (of-object "EmpathyContact")
1168 (c-name "empathy_contact_file_transfer_menu_item_new")
1169 (return-type "GtkWidget*")
1174 ;; From empathy-contact-selector.h
1176 (define-function contact_selector_get_type
1177 (c-name "empathy_contact_selector_get_type")
1178 (return-type "GType")
1181 (define-function contact_selector_new
1182 (c-name "empathy_contact_selector_new")
1183 (is-constructor-of "EmpathyContactSelector")
1184 (return-type "GtkWidget*")
1186 '("EmpathyContactList*" "contact_list")
1190 (define-method dup_selected
1191 (of-object "EmpathyContactSelector")
1192 (c-name "empathy_contact_selector_dup_selected")
1193 (return-type "EmpathyContact*")
1198 ;; From empathy-contact-widget.h
1200 (define-method widget_new
1201 (of-object "EmpathyContact")
1202 (c-name "empathy_contact_widget_new")
1203 (return-type "GtkWidget*")
1205 '("EmpathyContactWidgetFlags" "flags")
1209 (define-function contact_widget_get_contact
1210 (c-name "empathy_contact_widget_get_contact")
1211 (return-type "EmpathyContact*")
1213 '("GtkWidget*" "widget")
1217 (define-function contact_widget_set_contact
1218 (c-name "empathy_contact_widget_set_contact")
1219 (return-type "none")
1221 '("GtkWidget*" "widget")
1222 '("EmpathyContact*" "contact")
1226 (define-function contact_widget_set_account_filter
1227 (c-name "empathy_contact_widget_set_account_filter")
1228 (return-type "none")
1230 '("GtkWidget*" "widget")
1231 '("EmpathyAccountChooserFilterFunc" "filter")
1232 '("gpointer" "user_data")
1238 ;; From empathy-geometry.h
1240 (define-function geometry_save
1241 (c-name "empathy_geometry_save")
1242 (return-type "none")
1244 '("const-gchar*" "name")
1252 (define-function geometry_load
1253 (c-name "empathy_geometry_load")
1254 (return-type "none")
1256 '("const-gchar*" "name")
1266 ;; From empathy-images.h
1270 ;; From empathy-irc-network-dialog.h
1272 (define-method dialog_show
1273 (of-object "EmpathyIrcNetwork")
1274 (c-name "empathy_irc_network_dialog_show")
1275 (return-type "GtkWidget*")
1277 '("GtkWidget*" "parent")
1283 ;; From empathy-log-window.h
1285 (define-function log_window_show
1286 (c-name "empathy_log_window_show")
1287 (return-type "GtkWidget*")
1289 '("McAccount*" "account")
1290 '("const-gchar*" "chat_id")
1291 '("gboolean" "chatroom")
1292 '("GtkWindow*" "parent")
1298 ;; From empathy-new-message-dialog.h
1300 (define-function new_message_dialog_show
1301 (c-name "empathy_new_message_dialog_show")
1302 (return-type "GtkWidget*")
1304 '("GtkWindow*" "parent")
1310 ;; From empathy-presence-chooser.h
1312 (define-function presence_chooser_get_type
1313 (c-name "empathy_presence_chooser_get_type")
1314 (return-type "GType")
1317 (define-function presence_chooser_new
1318 (c-name "empathy_presence_chooser_new")
1319 (is-constructor-of "EmpathyPresenceChooser")
1320 (return-type "GtkWidget*")
1323 (define-function presence_chooser_create_menu
1324 (c-name "empathy_presence_chooser_create_menu")
1325 (return-type "GtkWidget*")
1330 ;; From empathy-profile-chooser.h
1332 (define-function profile_chooser_new
1333 (c-name "empathy_profile_chooser_new")
1334 (is-constructor-of "EmpathyProfileChooser")
1335 (return-type "GtkWidget*")
1338 (define-function profile_chooser_get_selected
1339 (c-name "empathy_profile_chooser_get_selected")
1340 (return-type "McProfile*")
1342 '("GtkWidget*" "widget")
1346 (define-function profile_chooser_n_profiles
1347 (c-name "empathy_profile_chooser_n_profiles")
1348 (return-type "gint")
1350 '("GtkWidget*" "widget")
1356 ;; From empathy-smiley-manager.h
1358 (define-function smiley_manager_get_type
1359 (c-name "empathy_smiley_manager_get_type")
1360 (return-type "GType")
1363 (define-function smiley_manager_dup_singleton
1364 (c-name "empathy_smiley_manager_dup_singleton")
1365 (return-type "EmpathySmileyManager*")
1369 (of-object "EmpathySmileyManager")
1370 (c-name "empathy_smiley_manager_load")
1371 (return-type "none")
1375 (of-object "EmpathySmileyManager")
1376 (c-name "empathy_smiley_manager_add")
1377 (return-type "none")
1379 '("const-gchar*" "icon_name")
1380 '("const-gchar*" "first_str")
1385 (define-method add_from_pixbuf
1386 (of-object "EmpathySmileyManager")
1387 (c-name "empathy_smiley_manager_add_from_pixbuf")
1388 (return-type "none")
1390 '("GdkPixbuf*" "smiley")
1391 '("const-gchar*" "first_str")
1396 (define-method get_all
1397 (of-object "EmpathySmileyManager")
1398 (c-name "empathy_smiley_manager_get_all")
1399 (return-type "GSList*")
1402 (define-method parse
1403 (of-object "EmpathySmileyManager")
1404 (c-name "empathy_smiley_manager_parse")
1405 (return-type "GSList*")
1407 '("const-gchar*" "text")
1411 (define-function smiley_menu_new
1412 (c-name "empathy_smiley_menu_new")
1413 (is-constructor-of "EmpathySmileyMenu")
1414 (return-type "GtkWidget*")
1416 '("EmpathySmileyManager*" "manager")
1417 '("EmpathySmileyMenuFunc" "func")
1418 '("gpointer" "user_data")
1423 (of-object "EmpathySmiley")
1424 (c-name "empathy_smiley_free")
1425 (return-type "none")
1430 ;; From empathy-spell.h
1432 (define-function spell_supported
1433 (c-name "empathy_spell_supported")
1434 (return-type "gboolean")
1437 (define-function spell_get_language_name
1438 (c-name "empathy_spell_get_language_name")
1439 (return-type "const-gchar*")
1441 '("const-gchar*" "code")
1445 (define-function spell_get_language_codes
1446 (c-name "empathy_spell_get_language_codes")
1447 (return-type "GList*")
1450 (define-function spell_free_language_codes
1451 (c-name "empathy_spell_free_language_codes")
1452 (return-type "none")
1458 (define-function spell_check
1459 (c-name "empathy_spell_check")
1460 (return-type "gboolean")
1462 '("const-gchar*" "word")
1466 (define-function spell_get_suggestions
1467 (c-name "empathy_spell_get_suggestions")
1468 (return-type "GList*")
1470 '("const-gchar*" "word")
1474 (define-function spell_free_suggestions
1475 (c-name "empathy_spell_free_suggestions")
1476 (return-type "none")
1478 '("GList*" "suggestions")
1484 ;; From empathy-spell-dialog.h
1486 (define-function spell_dialog_show
1487 (c-name "empathy_spell_dialog_show")
1488 (return-type "none")
1490 '("EmpathyChat*" "chat")
1491 '("GtkTextIter*" "start")
1492 '("GtkTextIter*" "end")
1493 '("const-gchar*" "word")
1499 ;; From empathy-theme-boxes.h
1501 (define-function theme_boxes_get_type
1502 (c-name "empathy_theme_boxes_get_type")
1503 (return-type "GType")
1506 (define-function theme_boxes_new
1507 (c-name "empathy_theme_boxes_new")
1508 (is-constructor-of "EmpathyThemeBoxes")
1509 (return-type "EmpathyThemeBoxes*")
1514 ;; From empathy-theme-irc.h
1516 (define-function theme_irc_get_type
1517 (c-name "empathy_theme_irc_get_type")
1518 (return-type "GType")
1521 (define-function theme_irc_new
1522 (c-name "empathy_theme_irc_new")
1523 (is-constructor-of "EmpathyThemeIrc")
1524 (return-type "EmpathyThemeIrc*")
1529 ;; From empathy-theme-manager.h
1531 (define-function theme_manager_get_type
1532 (c-name "empathy_theme_manager_get_type")
1533 (return-type "GType")
1536 (define-function theme_manager_get
1537 (c-name "empathy_theme_manager_get")
1538 (return-type "EmpathyThemeManager*")
1541 (define-function theme_manager_get_themes
1542 (c-name "empathy_theme_manager_get_themes")
1543 (return-type "const-gchar**")
1546 (define-method create_view
1547 (of-object "EmpathyThemeManager")
1548 (c-name "empathy_theme_manager_create_view")
1549 (return-type "EmpathyChatView*")
1554 ;; From empathy-ui-utils.h
1556 (define-function gtk_init
1557 (c-name "empathy_gtk_init")
1558 (return-type "none")
1561 (define-function glade_get_file_simple
1562 (c-name "empathy_glade_get_file_simple")
1563 (return-type "none")
1565 '("const-gchar*" "filename")
1566 '("const-gchar*" "root")
1567 '("const-gchar*" "domain")
1568 '("const-gchar*" "first_required_widget")
1573 (define-function glade_get_file
1574 (c-name "empathy_glade_get_file")
1575 (return-type "GladeXML*")
1577 '("const-gchar*" "filename")
1578 '("const-gchar*" "root")
1579 '("const-gchar*" "domain")
1580 '("const-gchar*" "first_required_widget")
1585 (define-function glade_connect
1586 (c-name "empathy_glade_connect")
1587 (return-type "none")
1589 '("GladeXML*" "gui")
1590 '("gpointer" "user_data")
1591 '("gchar*" "first_widget")
1596 (define-function glade_setup_size_group
1597 (c-name "empathy_glade_setup_size_group")
1598 (return-type "none")
1600 '("GladeXML*" "gui")
1601 '("GtkSizeGroupMode" "mode")
1602 '("gchar*" "first_widget")
1607 (define-function icon_name_from_account
1608 (c-name "empathy_icon_name_from_account")
1609 (return-type "const-gchar*")
1611 '("McAccount*" "account")
1615 (define-function icon_name_for_presence
1616 (c-name "empathy_icon_name_for_presence")
1617 (return-type "const-gchar*")
1619 '("McPresence" "presence")
1623 (define-function icon_name_for_contact
1624 (c-name "empathy_icon_name_for_contact")
1625 (return-type "const-gchar*")
1627 '("EmpathyContact*" "contact")
1631 (define-function pixbuf_from_data
1632 (c-name "empathy_pixbuf_from_data")
1633 (return-type "GdkPixbuf*")
1636 '("gsize" "data_size")
1640 (define-function pixbuf_from_data_and_mime
1641 (c-name "empathy_pixbuf_from_data_and_mime")
1642 (return-type "GdkPixbuf*")
1645 '("gsize" "data_size")
1646 '("gchar**" "mime_type")
1650 (define-function pixbuf_from_avatar_scaled
1651 (c-name "empathy_pixbuf_from_avatar_scaled")
1652 (return-type "GdkPixbuf*")
1654 '("EmpathyAvatar*" "avatar")
1660 (define-function pixbuf_avatar_from_contact_scaled
1661 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1662 (return-type "GdkPixbuf*")
1664 '("EmpathyContact*" "contact")
1670 (define-function pixbuf_scale_down_if_necessary
1671 (c-name "empathy_pixbuf_scale_down_if_necessary")
1672 (return-type "GdkPixbuf*")
1674 '("GdkPixbuf*" "pixbuf")
1675 '("gint" "max_size")
1679 (define-function pixbuf_from_icon_name
1680 (c-name "empathy_pixbuf_from_icon_name")
1681 (return-type "GdkPixbuf*")
1683 '("const-gchar*" "icon_name")
1684 '("GtkIconSize" "icon_size")
1688 (define-function pixbuf_from_icon_name_sized
1689 (c-name "empathy_pixbuf_from_icon_name_sized")
1690 (return-type "GdkPixbuf*")
1692 '("const-gchar*" "icon_name")
1697 (define-function text_iter_forward_search
1698 (c-name "empathy_text_iter_forward_search")
1699 (return-type "gboolean")
1701 '("const-GtkTextIter*" "iter")
1702 '("const-gchar*" "str")
1703 '("GtkTextIter*" "match_start")
1704 '("GtkTextIter*" "match_end")
1705 '("const-GtkTextIter*" "limit")
1709 (define-function text_iter_backward_search
1710 (c-name "empathy_text_iter_backward_search")
1711 (return-type "gboolean")
1713 '("const-GtkTextIter*" "iter")
1714 '("const-gchar*" "str")
1715 '("GtkTextIter*" "match_start")
1716 '("GtkTextIter*" "match_end")
1717 '("const-GtkTextIter*" "limit")
1721 (define-function window_get_is_visible
1722 (c-name "empathy_window_get_is_visible")
1723 (return-type "gboolean")
1725 '("GtkWindow*" "window")
1729 (define-function window_present
1730 (c-name "empathy_window_present")
1731 (return-type "none")
1733 '("GtkWindow*" "window")
1734 '("gboolean" "steal_focus")
1738 (define-function window_iconify
1739 (c-name "empathy_window_iconify")
1740 (return-type "none")
1742 '("GtkWindow*" "window")
1743 '("GtkStatusIcon*" "status_icon")
1747 (define-function get_toplevel_window
1748 (c-name "empathy_get_toplevel_window")
1749 (return-type "GtkWindow*")
1751 '("GtkWidget*" "widget")
1755 (define-function url_show
1756 (c-name "empathy_url_show")
1757 (return-type "none")
1759 '("GtkWidget*" "parent")
1760 '("const-char*" "url")
1764 (define-function toggle_button_set_state_quietly
1765 (c-name "empathy_toggle_button_set_state_quietly")
1766 (return-type "none")
1768 '("GtkWidget*" "widget")
1769 '("GCallback" "callback")
1770 '("gpointer" "user_data")
1771 '("gboolean" "active")
1775 (define-function link_button_new
1776 (c-name "empathy_link_button_new")
1777 (is-constructor-of "EmpathyLinkButton")
1778 (return-type "GtkWidget*")
1780 '("const-gchar*" "url")
1781 '("const-gchar*" "title")
1785 (define-function send_file_with_file_chooser
1786 (c-name "empathy_send_file_with_file_chooser")
1787 (return-type "none")
1789 '("EmpathyContact*" "contact")
1793 (define-function sound_play
1794 (c-name "empathy_sound_play")
1795 (return-type "none")
1797 '("GtkWidget*" "widget")
1798 '("EmpathySound" "sound_id")