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-object 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 PresenceChooser
88 (parent "GtkToggleButton")
89 (c-name "EmpathyPresenceChooser")
90 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
93 (define-object SmileyManager
96 (c-name "EmpathySmileyManager")
97 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
100 (define-object ThemeBoxes
101 (in-module "Empathy")
102 (parent "EmpathyChatTextView")
103 (c-name "EmpathyThemeBoxes")
104 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
107 (define-object ThemeIrc
108 (in-module "Empathy")
109 (parent "EmpathyChatTextView")
110 (c-name "EmpathyThemeIrc")
111 (gtype-id "EMPATHY_TYPE_THEME_IRC")
114 (define-object ThemeManager
115 (in-module "Empathy")
117 (c-name "EmpathyThemeManager")
118 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
121 ;; Enumerations and flags ...
123 (define-enum ContactListStoreSort
124 (in-module "Empathy")
125 (c-name "EmpathyContactListStoreSort")
126 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
128 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
129 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
133 (define-enum ContactListStoreCol
134 (in-module "Empathy")
135 (c-name "EmpathyContactListStoreCol")
136 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
138 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
139 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
140 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
141 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
142 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
143 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
144 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
145 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
146 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
147 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
148 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
149 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
150 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
154 (define-flags ContactListFeatureFlags
155 (in-module "Empathy")
156 (c-name "EmpathyContactListFeatureFlags")
157 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
159 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
160 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
161 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
162 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
163 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
164 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
165 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
166 '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
167 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
171 (define-flags ContactFeatureFlags
172 (in-module "Empathy")
173 (c-name "EmpathyContactFeatureFlags")
174 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
176 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
177 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
178 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
179 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
180 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
181 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
182 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
186 (define-flags ContactWidgetFlags
187 (in-module "Empathy")
188 (c-name "EmpathyContactWidgetFlags")
189 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
191 '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
192 '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
193 '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
194 '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
195 '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
196 '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
197 '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
202 (in-module "Empathy")
203 (c-name "EmpathySound")
204 (gtype-id "EMPATHY_TYPE_SOUND")
206 '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
207 '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
208 '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
209 '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
210 '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
211 '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
212 '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
213 '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
214 '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
215 '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
216 '("last-empathy-sound" "LAST_EMPATHY_SOUND")
221 ;; From empathy-account-chooser.h
223 (define-function account_chooser_get_type
224 (c-name "empathy_account_chooser_get_type")
225 (return-type "GType")
228 (define-function account_chooser_new
229 (c-name "empathy_account_chooser_new")
230 (is-constructor-of "EmpathyAccountChooser")
231 (return-type "GtkWidget*")
234 (define-method get_account
235 (of-object "EmpathyAccountChooser")
236 (c-name "empathy_account_chooser_get_account")
237 (return-type "McAccount*")
240 (define-method set_account
241 (of-object "EmpathyAccountChooser")
242 (c-name "empathy_account_chooser_set_account")
243 (return-type "gboolean")
245 '("McAccount*" "account")
249 (define-method get_has_all_option
250 (of-object "EmpathyAccountChooser")
251 (c-name "empathy_account_chooser_get_has_all_option")
252 (return-type "gboolean")
255 (define-method set_has_all_option
256 (of-object "EmpathyAccountChooser")
257 (c-name "empathy_account_chooser_set_has_all_option")
260 '("gboolean" "has_all_option")
264 (define-method set_filter
265 (of-object "EmpathyAccountChooser")
266 (c-name "empathy_account_chooser_set_filter")
269 '("EmpathyAccountChooserFilterFunc" "filter")
270 '("gpointer" "user_data")
274 (define-function account_chooser_filter_is_connected
275 (c-name "empathy_account_chooser_filter_is_connected")
276 (return-type "gboolean")
278 '("McAccount*" "account")
279 '("gpointer" "user_data")
285 ;; From empathy-account-widget.h
287 (define-function account_widget_handle_params
288 (c-name "empathy_account_widget_handle_params")
291 '("McAccount*" "account")
292 '("GladeXML*" "glade")
293 '("const-gchar*" "first_widget_name")
298 (define-function account_widget_add_forget_button
299 (c-name "empathy_account_widget_add_forget_button")
302 '("McAccount*" "account")
303 '("GladeXML*" "glade")
304 '("const-gchar*" "button")
305 '("const-gchar*" "entry")
309 (define-function account_widget_generic_new
310 (c-name "empathy_account_widget_generic_new")
311 (is-constructor-of "EmpathyAccountWidgetGeneric")
312 (return-type "GtkWidget*")
314 '("McAccount*" "account")
318 (define-function account_widget_salut_new
319 (c-name "empathy_account_widget_salut_new")
320 (is-constructor-of "EmpathyAccountWidgetSalut")
321 (return-type "GtkWidget*")
323 '("McAccount*" "account")
327 (define-function account_widget_msn_new
328 (c-name "empathy_account_widget_msn_new")
329 (is-constructor-of "EmpathyAccountWidgetMsn")
330 (return-type "GtkWidget*")
332 '("McAccount*" "account")
336 (define-function account_widget_jabber_new
337 (c-name "empathy_account_widget_jabber_new")
338 (is-constructor-of "EmpathyAccountWidgetJabber")
339 (return-type "GtkWidget*")
341 '("McAccount*" "account")
345 (define-function account_widget_icq_new
346 (c-name "empathy_account_widget_icq_new")
347 (is-constructor-of "EmpathyAccountWidgetIcq")
348 (return-type "GtkWidget*")
350 '("McAccount*" "account")
354 (define-function account_widget_aim_new
355 (c-name "empathy_account_widget_aim_new")
356 (is-constructor-of "EmpathyAccountWidgetAim")
357 (return-type "GtkWidget*")
359 '("McAccount*" "account")
363 (define-function account_widget_yahoo_new
364 (c-name "empathy_account_widget_yahoo_new")
365 (is-constructor-of "EmpathyAccountWidgetYahoo")
366 (return-type "GtkWidget*")
368 '("McAccount*" "account")
372 (define-function account_widget_groupwise_new
373 (c-name "empathy_account_widget_groupwise_new")
374 (is-constructor-of "EmpathyAccountWidgetGroupwise")
375 (return-type "GtkWidget*")
377 '("McAccount*" "account")
383 ;; From empathy-account-widget-irc.h
385 (define-function account_widget_irc_new
386 (c-name "empathy_account_widget_irc_new")
387 (is-constructor-of "EmpathyAccountWidgetIrc")
388 (return-type "GtkWidget*")
390 '("McAccount*" "account")
396 ;; From empathy-account-widget-sip.h
398 (define-function account_widget_sip_new
399 (c-name "empathy_account_widget_sip_new")
400 (is-constructor-of "EmpathyAccountWidgetSip")
401 (return-type "GtkWidget*")
403 '("McAccount*" "account")
409 ;; From empathy-avatar-chooser.h
411 (define-function avatar_chooser_get_type
412 (c-name "empathy_avatar_chooser_get_type")
413 (return-type "GType")
416 (define-function avatar_chooser_new
417 (c-name "empathy_avatar_chooser_new")
418 (is-constructor-of "EmpathyAvatarChooser")
419 (return-type "GtkWidget*")
423 (of-object "EmpathyAvatarChooser")
424 (c-name "empathy_avatar_chooser_set")
427 '("EmpathyAvatar*" "avatar")
431 (define-method get_image_data
432 (of-object "EmpathyAvatarChooser")
433 (c-name "empathy_avatar_chooser_get_image_data")
436 '("const-gchar**" "data")
437 '("gsize*" "data_size")
438 '("const-gchar**" "mime_type")
444 ;; From empathy-avatar-image.h
446 (define-function avatar_image_get_type
447 (c-name "empathy_avatar_image_get_type")
448 (return-type "GType")
451 (define-function avatar_image_new
452 (c-name "empathy_avatar_image_new")
453 (is-constructor-of "EmpathyAvatarImage")
454 (return-type "GtkWidget*")
458 (of-object "EmpathyAvatarImage")
459 (c-name "empathy_avatar_image_set")
462 '("EmpathyAvatar*" "avatar")
468 ;; From empathy-cell-renderer-activatable.h
470 (define-function cell_renderer_activatable_get_type
471 (c-name "empathy_cell_renderer_activatable_get_type")
472 (return-type "GType")
475 (define-function cell_renderer_activatable_new
476 (c-name "empathy_cell_renderer_activatable_new")
477 (is-constructor-of "EmpathyCellRendererActivatable")
478 (return-type "GtkCellRenderer*")
483 ;; From empathy-cell-renderer-expander.h
485 (define-function cell_renderer_expander_get_type
486 (c-name "empathy_cell_renderer_expander_get_type")
487 (return-type "GType")
490 (define-function cell_renderer_expander_new
491 (c-name "empathy_cell_renderer_expander_new")
492 (is-constructor-of "EmpathyCellRendererExpander")
493 (return-type "GtkCellRenderer*")
498 ;; From empathy-cell-renderer-text.h
500 (define-function cell_renderer_text_get_type
501 (c-name "empathy_cell_renderer_text_get_type")
502 (return-type "GType")
505 (define-function cell_renderer_text_new
506 (c-name "empathy_cell_renderer_text_new")
507 (is-constructor-of "EmpathyCellRendererText")
508 (return-type "GtkCellRenderer*")
513 ;; From empathy-chat.h
515 (define-function chat_get_type
516 (c-name "empathy_chat_get_type")
517 (return-type "GType")
520 (define-function chat_new
521 (c-name "empathy_chat_new")
522 (is-constructor-of "EmpathyChat")
523 (return-type "EmpathyChat*")
525 '("EmpathyTpChat*" "tp_chat")
529 (define-method get_tp_chat
530 (of-object "EmpathyChat")
531 (c-name "empathy_chat_get_tp_chat")
532 (return-type "EmpathyTpChat*")
535 (define-method set_tp_chat
536 (of-object "EmpathyChat")
537 (c-name "empathy_chat_set_tp_chat")
540 '("EmpathyTpChat*" "tp_chat")
544 (define-method get_account
545 (of-object "EmpathyChat")
546 (c-name "empathy_chat_get_account")
547 (return-type "McAccount*")
550 (define-method get_id
551 (of-object "EmpathyChat")
552 (c-name "empathy_chat_get_id")
553 (return-type "const-gchar*")
556 (define-method get_name
557 (of-object "EmpathyChat")
558 (c-name "empathy_chat_get_name")
559 (return-type "const-gchar*")
562 (define-method get_subject
563 (of-object "EmpathyChat")
564 (c-name "empathy_chat_get_subject")
565 (return-type "const-gchar*")
568 (define-method get_remote_contact
569 (of-object "EmpathyChat")
570 (c-name "empathy_chat_get_remote_contact")
571 (return-type "EmpathyContact*")
574 (define-method get_members_count
575 (of-object "EmpathyChat")
576 (c-name "empathy_chat_get_members_count")
577 (return-type "guint")
580 (define-method get_contact_menu
581 (of-object "EmpathyChat")
582 (c-name "empathy_chat_get_contact_menu")
583 (return-type "GtkWidget*")
587 (of-object "EmpathyChat")
588 (c-name "empathy_chat_clear")
592 (define-method scroll_down
593 (of-object "EmpathyChat")
594 (c-name "empathy_chat_scroll_down")
599 (of-object "EmpathyChat")
600 (c-name "empathy_chat_cut")
605 (of-object "EmpathyChat")
606 (c-name "empathy_chat_copy")
611 (of-object "EmpathyChat")
612 (c-name "empathy_chat_paste")
616 (define-method correct_word
617 (of-object "EmpathyChat")
618 (c-name "empathy_chat_correct_word")
621 '("GtkTextIter*" "start")
622 '("GtkTextIter*" "end")
623 '("const-gchar*" "new_word")
627 (define-method is_room
628 (of-object "EmpathyChat")
629 (c-name "empathy_chat_is_room")
630 (return-type "gboolean")
635 ;; From empathy-chat-text-view.h
637 (define-function chat_text_view_get_type
638 (c-name "empathy_chat_text_view_get_type")
639 (return-type "GType")
642 (define-method get_last_contact
643 (of-object "EmpathyChatTextView")
644 (c-name "empathy_chat_text_view_get_last_contact")
645 (return-type "EmpathyContact*")
648 (define-method set_only_if_date
649 (of-object "EmpathyChatTextView")
650 (c-name "empathy_chat_text_view_set_only_if_date")
653 '("gboolean" "only_if_date")
657 (define-method append_body
658 (of-object "EmpathyChatTextView")
659 (c-name "empathy_chat_text_view_append_body")
662 '("const-gchar*" "body")
663 '("const-gchar*" "tag")
667 (define-method append_spacing
668 (of-object "EmpathyChatTextView")
669 (c-name "empathy_chat_text_view_append_spacing")
673 (define-method tag_set
674 (of-object "EmpathyChatTextView")
675 (c-name "empathy_chat_text_view_tag_set")
676 (return-type "GtkTextTag*")
678 '("const-gchar*" "tag_name")
679 '("const-gchar*" "first_property_name")
686 ;; From empathy-chat-view.h
688 (define-function chat_view_get_type
689 (c-name "empathy_chat_view_get_type")
690 (return-type "GType")
693 (define-method append_message
694 (of-object "EmpathyChatView")
695 (c-name "empathy_chat_view_append_message")
698 '("EmpathyMessage*" "msg")
702 (define-method append_event
703 (of-object "EmpathyChatView")
704 (c-name "empathy_chat_view_append_event")
707 '("const-gchar*" "str")
711 (define-method scroll
712 (of-object "EmpathyChatView")
713 (c-name "empathy_chat_view_scroll")
716 '("gboolean" "allow_scrolling")
720 (define-method scroll_down
721 (of-object "EmpathyChatView")
722 (c-name "empathy_chat_view_scroll_down")
726 (define-method get_has_selection
727 (of-object "EmpathyChatView")
728 (c-name "empathy_chat_view_get_has_selection")
729 (return-type "gboolean")
733 (of-object "EmpathyChatView")
734 (c-name "empathy_chat_view_clear")
738 (define-method find_previous
739 (of-object "EmpathyChatView")
740 (c-name "empathy_chat_view_find_previous")
741 (return-type "gboolean")
743 '("const-gchar*" "search_criteria")
744 '("gboolean" "new_search")
748 (define-method find_next
749 (of-object "EmpathyChatView")
750 (c-name "empathy_chat_view_find_next")
751 (return-type "gboolean")
753 '("const-gchar*" "search_criteria")
754 '("gboolean" "new_search")
758 (define-method find_abilities
759 (of-object "EmpathyChatView")
760 (c-name "empathy_chat_view_find_abilities")
763 '("const-gchar*" "search_criteria")
764 '("gboolean*" "can_do_previous")
765 '("gboolean*" "can_do_next")
769 (define-method highlight
770 (of-object "EmpathyChatView")
771 (c-name "empathy_chat_view_highlight")
774 '("const-gchar*" "text")
778 (define-method copy_clipboard
779 (of-object "EmpathyChatView")
780 (c-name "empathy_chat_view_copy_clipboard")
786 ;; From empathy-conf.h
788 (define-function conf_get_type
789 (c-name "empathy_conf_get_type")
790 (return-type "GType")
793 (define-function conf_get
794 (c-name "empathy_conf_get")
795 (return-type "EmpathyConf*")
798 (define-function conf_shutdown
799 (c-name "empathy_conf_shutdown")
803 (define-method notify_add
804 (of-object "EmpathyConf")
805 (c-name "empathy_conf_notify_add")
806 (return-type "guint")
808 '("const-gchar*" "key")
809 '("EmpathyConfNotifyFunc" "func")
814 (define-method notify_remove
815 (of-object "EmpathyConf")
816 (c-name "empathy_conf_notify_remove")
817 (return-type "gboolean")
823 (define-method set_int
824 (of-object "EmpathyConf")
825 (c-name "empathy_conf_set_int")
826 (return-type "gboolean")
828 '("const-gchar*" "key")
833 (define-method get_int
834 (of-object "EmpathyConf")
835 (c-name "empathy_conf_get_int")
836 (return-type "gboolean")
838 '("const-gchar*" "key")
843 (define-method set_bool
844 (of-object "EmpathyConf")
845 (c-name "empathy_conf_set_bool")
846 (return-type "gboolean")
848 '("const-gchar*" "key")
849 '("gboolean" "value")
853 (define-method get_bool
854 (of-object "EmpathyConf")
855 (c-name "empathy_conf_get_bool")
856 (return-type "gboolean")
858 '("const-gchar*" "key")
859 '("gboolean*" "value")
863 (define-method set_string
864 (of-object "EmpathyConf")
865 (c-name "empathy_conf_set_string")
866 (return-type "gboolean")
868 '("const-gchar*" "key")
869 '("const-gchar*" "value")
873 (define-method get_string
874 (of-object "EmpathyConf")
875 (c-name "empathy_conf_get_string")
876 (return-type "gboolean")
878 '("const-gchar*" "key")
883 (define-method set_string_list
884 (of-object "EmpathyConf")
885 (c-name "empathy_conf_set_string_list")
886 (return-type "gboolean")
888 '("const-gchar*" "key")
893 (define-method get_string_list
894 (of-object "EmpathyConf")
895 (c-name "empathy_conf_get_string_list")
896 (return-type "gboolean")
898 '("const-gchar*" "key")
899 '("GSList**" "value")
905 ;; From empathy-contact-dialogs.h
907 (define-function subscription_dialog_show
908 (c-name "empathy_subscription_dialog_show")
911 '("EmpathyContact*" "contact")
912 '("GtkWindow*" "parent")
916 (define-method information_dialog_show
917 (of-object "EmpathyContact")
918 (c-name "empathy_contact_information_dialog_show")
921 '("GtkWindow*" "parent")
923 '("gboolean" "is_user")
927 (define-function new_contact_dialog_show
928 (c-name "empathy_new_contact_dialog_show")
931 '("GtkWindow*" "parent")
937 ;; From empathy-contact-list-store.h
939 (define-function contact_list_store_get_type
940 (c-name "empathy_contact_list_store_get_type")
941 (return-type "GType")
944 (define-function empathy_contact_list_store_new
945 (is-constructor-of "EmpathyContactListStore")
946 (c-name "empathy_contact_list_store_new")
947 (return-type "EmpathyContactListStore*")
949 '("EmpathyContactList*" "list_iface")
953 (define-method get_list_iface
954 (of-object "EmpathyContactListStore")
955 (c-name "empathy_contact_list_store_get_list_iface")
956 (return-type "EmpathyContactList*")
959 (define-method get_show_offline
960 (of-object "EmpathyContactListStore")
961 (c-name "empathy_contact_list_store_get_show_offline")
962 (return-type "gboolean")
965 (define-method set_show_offline
966 (of-object "EmpathyContactListStore")
967 (c-name "empathy_contact_list_store_set_show_offline")
970 '("gboolean" "show_offline")
974 (define-method get_show_avatars
975 (of-object "EmpathyContactListStore")
976 (c-name "empathy_contact_list_store_get_show_avatars")
977 (return-type "gboolean")
980 (define-method set_show_avatars
981 (of-object "EmpathyContactListStore")
982 (c-name "empathy_contact_list_store_set_show_avatars")
985 '("gboolean" "show_avatars")
989 (define-method get_show_groups
990 (of-object "EmpathyContactListStore")
991 (c-name "empathy_contact_list_store_get_show_groups")
992 (return-type "gboolean")
995 (define-method set_show_groups
996 (of-object "EmpathyContactListStore")
997 (c-name "empathy_contact_list_store_set_show_groups")
1000 '("gboolean" "show_groups")
1004 (define-method get_is_compact
1005 (of-object "EmpathyContactListStore")
1006 (c-name "empathy_contact_list_store_get_is_compact")
1007 (return-type "gboolean")
1010 (define-method set_is_compact
1011 (of-object "EmpathyContactListStore")
1012 (c-name "empathy_contact_list_store_set_is_compact")
1013 (return-type "none")
1015 '("gboolean" "is_compact")
1019 (define-method get_sort_criterium
1020 (of-object "EmpathyContactListStore")
1021 (c-name "empathy_contact_list_store_get_sort_criterium")
1022 (return-type "EmpathyContactListStoreSort")
1025 (define-method set_sort_criterium
1026 (of-object "EmpathyContactListStore")
1027 (c-name "empathy_contact_list_store_set_sort_criterium")
1028 (return-type "none")
1030 '("EmpathyContactListStoreSort" "sort_criterium")
1034 (define-function contact_list_store_row_separator_func
1035 (c-name "empathy_contact_list_store_row_separator_func")
1036 (return-type "gboolean")
1038 '("GtkTreeModel*" "model")
1039 '("GtkTreeIter*" "iter")
1040 '("gpointer" "data")
1044 (define-function contact_list_store_get_parent_group
1045 (c-name "empathy_contact_list_store_get_parent_group")
1046 (return-type "gchar*")
1048 '("GtkTreeModel*" "model")
1049 '("GtkTreePath*" "path")
1050 '("gboolean*" "path_is_group")
1054 (define-function contact_list_store_search_equal_func
1055 (c-name "empathy_contact_list_store_search_equal_func")
1056 (return-type "gboolean")
1058 '("GtkTreeModel*" "model")
1060 '("const-gchar*" "key")
1061 '("GtkTreeIter*" "iter")
1062 '("gpointer" "search_data")
1068 ;; From empathy-contact-list-view.h
1070 (define-function contact_list_view_get_type
1071 (c-name "empathy_contact_list_view_get_type")
1072 (return-type "GType")
1075 (define-function contact_list_view_new
1076 (c-name "empathy_contact_list_view_new")
1077 (is-constructor-of "EmpathyContactListView")
1078 (return-type "EmpathyContactListView*")
1080 '("EmpathyContactListStore*" "store")
1081 '("EmpathyContactListFeatureFlags" "list_features")
1082 '("EmpathyContactFeatureFlags" "contact_features")
1086 (define-method get_selected
1087 (of-object "EmpathyContactListView")
1088 (c-name "empathy_contact_list_view_get_selected")
1089 (return-type "EmpathyContact*")
1092 (define-method get_selected_group
1093 (of-object "EmpathyContactListView")
1094 (c-name "empathy_contact_list_view_get_selected_group")
1095 (return-type "gchar*")
1098 (define-method get_contact_menu
1099 (of-object "EmpathyContactListView")
1100 (c-name "empathy_contact_list_view_get_contact_menu")
1101 (return-type "GtkWidget*")
1104 (define-method get_group_menu
1105 (of-object "EmpathyContactListView")
1106 (c-name "empathy_contact_list_view_get_group_menu")
1107 (return-type "GtkWidget*")
1112 ;; From empathy-contact-menu.h
1114 (define-method menu_new
1115 (of-object "EmpathyContact")
1116 (c-name "empathy_contact_menu_new")
1117 (return-type "GtkWidget*")
1119 '("EmpathyContactFeatureFlags" "features")
1123 (define-method chat_menu_item_new
1124 (of-object "EmpathyContact")
1125 (c-name "empathy_contact_chat_menu_item_new")
1126 (return-type "GtkWidget*")
1129 (define-method call_menu_item_new
1130 (of-object "EmpathyContact")
1131 (c-name "empathy_contact_call_menu_item_new")
1132 (return-type "GtkWidget*")
1135 (define-method log_menu_item_new
1136 (of-object "EmpathyContact")
1137 (c-name "empathy_contact_log_menu_item_new")
1138 (return-type "GtkWidget*")
1141 (define-method info_menu_item_new
1142 (of-object "EmpathyContact")
1143 (c-name "empathy_contact_info_menu_item_new")
1144 (return-type "GtkWidget*")
1147 (define-method edit_menu_item_new
1148 (of-object "EmpathyContact")
1149 (c-name "empathy_contact_edit_menu_item_new")
1150 (return-type "GtkWidget*")
1153 (define-method invite_menu_item_new
1154 (of-object "EmpathyContact")
1155 (c-name "empathy_contact_invite_menu_item_new")
1156 (return-type "GtkWidget*")
1159 (define-method file_transfer_menu_item_new
1160 (of-object "EmpathyContact")
1161 (c-name "empathy_contact_file_transfer_menu_item_new")
1162 (return-type "GtkWidget*")
1167 ;; From empathy-contact-widget.h
1169 (define-method widget_new
1170 (of-object "EmpathyContact")
1171 (c-name "empathy_contact_widget_new")
1172 (return-type "GtkWidget*")
1174 '("EmpathyContactWidgetFlags" "flags")
1178 (define-function contact_widget_get_contact
1179 (c-name "empathy_contact_widget_get_contact")
1180 (return-type "EmpathyContact*")
1182 '("GtkWidget*" "widget")
1186 (define-function contact_widget_set_contact
1187 (c-name "empathy_contact_widget_set_contact")
1188 (return-type "none")
1190 '("GtkWidget*" "widget")
1191 '("EmpathyContact*" "contact")
1195 (define-function contact_widget_set_account_filter
1196 (c-name "empathy_contact_widget_set_account_filter")
1197 (return-type "none")
1199 '("GtkWidget*" "widget")
1200 '("EmpathyAccountChooserFilterFunc" "filter")
1201 '("gpointer" "user_data")
1207 ;; From empathy-geometry.h
1209 (define-function geometry_save
1210 (c-name "empathy_geometry_save")
1211 (return-type "none")
1213 '("const-gchar*" "name")
1221 (define-function geometry_load
1222 (c-name "empathy_geometry_load")
1223 (return-type "none")
1225 '("const-gchar*" "name")
1235 ;; From empathy-images.h
1239 ;; From empathy-irc-network-dialog.h
1241 (define-method dialog_show
1242 (of-object "EmpathyIrcNetwork")
1243 (c-name "empathy_irc_network_dialog_show")
1244 (return-type "GtkWidget*")
1246 '("GtkWidget*" "parent")
1252 ;; From empathy-log-window.h
1254 (define-function log_window_show
1255 (c-name "empathy_log_window_show")
1256 (return-type "GtkWidget*")
1258 '("McAccount*" "account")
1259 '("const-gchar*" "chat_id")
1260 '("gboolean" "chatroom")
1261 '("GtkWindow*" "parent")
1267 ;; From empathy-new-message-dialog.h
1269 (define-function new_message_dialog_show
1270 (c-name "empathy_new_message_dialog_show")
1271 (return-type "GtkWidget*")
1273 '("GtkWindow*" "parent")
1279 ;; From empathy-presence-chooser.h
1281 (define-function presence_chooser_get_type
1282 (c-name "empathy_presence_chooser_get_type")
1283 (return-type "GType")
1286 (define-function presence_chooser_new
1287 (c-name "empathy_presence_chooser_new")
1288 (is-constructor-of "EmpathyPresenceChooser")
1289 (return-type "GtkWidget*")
1292 (define-function presence_chooser_create_menu
1293 (c-name "empathy_presence_chooser_create_menu")
1294 (return-type "GtkWidget*")
1299 ;; From empathy-profile-chooser.h
1301 (define-function profile_chooser_new
1302 (c-name "empathy_profile_chooser_new")
1303 (is-constructor-of "EmpathyProfileChooser")
1304 (return-type "GtkWidget*")
1307 (define-function profile_chooser_get_selected
1308 (c-name "empathy_profile_chooser_get_selected")
1309 (return-type "McProfile*")
1311 '("GtkWidget*" "widget")
1315 (define-function profile_chooser_n_profiles
1316 (c-name "empathy_profile_chooser_n_profiles")
1317 (return-type "gint")
1319 '("GtkWidget*" "widget")
1325 ;; From empathy-smiley-manager.h
1327 (define-function smiley_manager_get_type
1328 (c-name "empathy_smiley_manager_get_type")
1329 (return-type "GType")
1332 (define-function smiley_manager_dup_singleton
1333 (c-name "empathy_smiley_manager_dup_singleton")
1334 (return-type "EmpathySmileyManager*")
1338 (of-object "EmpathySmileyManager")
1339 (c-name "empathy_smiley_manager_load")
1340 (return-type "none")
1344 (of-object "EmpathySmileyManager")
1345 (c-name "empathy_smiley_manager_add")
1346 (return-type "none")
1348 '("const-gchar*" "icon_name")
1349 '("const-gchar*" "first_str")
1354 (define-method add_from_pixbuf
1355 (of-object "EmpathySmileyManager")
1356 (c-name "empathy_smiley_manager_add_from_pixbuf")
1357 (return-type "none")
1359 '("GdkPixbuf*" "smiley")
1360 '("const-gchar*" "first_str")
1365 (define-method get_all
1366 (of-object "EmpathySmileyManager")
1367 (c-name "empathy_smiley_manager_get_all")
1368 (return-type "GSList*")
1371 (define-method parse
1372 (of-object "EmpathySmileyManager")
1373 (c-name "empathy_smiley_manager_parse")
1374 (return-type "GSList*")
1376 '("const-gchar*" "text")
1380 (define-function smiley_menu_new
1381 (c-name "empathy_smiley_menu_new")
1382 (is-constructor-of "EmpathySmileyMenu")
1383 (return-type "GtkWidget*")
1385 '("EmpathySmileyManager*" "manager")
1386 '("EmpathySmileyMenuFunc" "func")
1387 '("gpointer" "user_data")
1392 (of-object "EmpathySmiley")
1393 (c-name "empathy_smiley_free")
1394 (return-type "none")
1399 ;; From empathy-spell.h
1401 (define-function spell_supported
1402 (c-name "empathy_spell_supported")
1403 (return-type "gboolean")
1406 (define-function spell_get_language_name
1407 (c-name "empathy_spell_get_language_name")
1408 (return-type "const-gchar*")
1410 '("const-gchar*" "code")
1414 (define-function spell_get_language_codes
1415 (c-name "empathy_spell_get_language_codes")
1416 (return-type "GList*")
1419 (define-function spell_free_language_codes
1420 (c-name "empathy_spell_free_language_codes")
1421 (return-type "none")
1427 (define-function spell_check
1428 (c-name "empathy_spell_check")
1429 (return-type "gboolean")
1431 '("const-gchar*" "word")
1435 (define-function spell_get_suggestions
1436 (c-name "empathy_spell_get_suggestions")
1437 (return-type "GList*")
1439 '("const-gchar*" "word")
1443 (define-function spell_free_suggestions
1444 (c-name "empathy_spell_free_suggestions")
1445 (return-type "none")
1447 '("GList*" "suggestions")
1453 ;; From empathy-spell-dialog.h
1455 (define-function spell_dialog_show
1456 (c-name "empathy_spell_dialog_show")
1457 (return-type "none")
1459 '("EmpathyChat*" "chat")
1460 '("GtkTextIter*" "start")
1461 '("GtkTextIter*" "end")
1462 '("const-gchar*" "word")
1468 ;; From empathy-theme-boxes.h
1470 (define-function theme_boxes_get_type
1471 (c-name "empathy_theme_boxes_get_type")
1472 (return-type "GType")
1475 (define-function theme_boxes_new
1476 (c-name "empathy_theme_boxes_new")
1477 (is-constructor-of "EmpathyThemeBoxes")
1478 (return-type "EmpathyThemeBoxes*")
1483 ;; From empathy-theme-irc.h
1485 (define-function theme_irc_get_type
1486 (c-name "empathy_theme_irc_get_type")
1487 (return-type "GType")
1490 (define-function theme_irc_new
1491 (c-name "empathy_theme_irc_new")
1492 (is-constructor-of "EmpathyThemeIrc")
1493 (return-type "EmpathyThemeIrc*")
1498 ;; From empathy-theme-manager.h
1500 (define-function theme_manager_get_type
1501 (c-name "empathy_theme_manager_get_type")
1502 (return-type "GType")
1505 (define-function theme_manager_get
1506 (c-name "empathy_theme_manager_get")
1507 (return-type "EmpathyThemeManager*")
1510 (define-function theme_manager_get_themes
1511 (c-name "empathy_theme_manager_get_themes")
1512 (return-type "const-gchar**")
1515 (define-method create_view
1516 (of-object "EmpathyThemeManager")
1517 (c-name "empathy_theme_manager_create_view")
1518 (return-type "EmpathyChatView*")
1523 ;; From empathy-ui-utils.h
1525 (define-function gtk_init
1526 (c-name "empathy_gtk_init")
1527 (return-type "none")
1530 (define-function glade_get_file_simple
1531 (c-name "empathy_glade_get_file_simple")
1532 (return-type "none")
1534 '("const-gchar*" "filename")
1535 '("const-gchar*" "root")
1536 '("const-gchar*" "domain")
1537 '("const-gchar*" "first_required_widget")
1542 (define-function glade_get_file
1543 (c-name "empathy_glade_get_file")
1544 (return-type "GladeXML*")
1546 '("const-gchar*" "filename")
1547 '("const-gchar*" "root")
1548 '("const-gchar*" "domain")
1549 '("const-gchar*" "first_required_widget")
1554 (define-function glade_connect
1555 (c-name "empathy_glade_connect")
1556 (return-type "none")
1558 '("GladeXML*" "gui")
1559 '("gpointer" "user_data")
1560 '("gchar*" "first_widget")
1565 (define-function glade_setup_size_group
1566 (c-name "empathy_glade_setup_size_group")
1567 (return-type "none")
1569 '("GladeXML*" "gui")
1570 '("GtkSizeGroupMode" "mode")
1571 '("gchar*" "first_widget")
1576 (define-function icon_name_from_account
1577 (c-name "empathy_icon_name_from_account")
1578 (return-type "const-gchar*")
1580 '("McAccount*" "account")
1584 (define-function icon_name_for_presence
1585 (c-name "empathy_icon_name_for_presence")
1586 (return-type "const-gchar*")
1588 '("McPresence" "presence")
1592 (define-function icon_name_for_contact
1593 (c-name "empathy_icon_name_for_contact")
1594 (return-type "const-gchar*")
1596 '("EmpathyContact*" "contact")
1600 (define-function pixbuf_from_data
1601 (c-name "empathy_pixbuf_from_data")
1602 (return-type "GdkPixbuf*")
1605 '("gsize" "data_size")
1609 (define-function pixbuf_from_data_and_mime
1610 (c-name "empathy_pixbuf_from_data_and_mime")
1611 (return-type "GdkPixbuf*")
1614 '("gsize" "data_size")
1615 '("gchar**" "mime_type")
1619 (define-function pixbuf_from_avatar_scaled
1620 (c-name "empathy_pixbuf_from_avatar_scaled")
1621 (return-type "GdkPixbuf*")
1623 '("EmpathyAvatar*" "avatar")
1629 (define-function pixbuf_avatar_from_contact_scaled
1630 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1631 (return-type "GdkPixbuf*")
1633 '("EmpathyContact*" "contact")
1639 (define-function pixbuf_scale_down_if_necessary
1640 (c-name "empathy_pixbuf_scale_down_if_necessary")
1641 (return-type "GdkPixbuf*")
1643 '("GdkPixbuf*" "pixbuf")
1644 '("gint" "max_size")
1648 (define-function pixbuf_from_icon_name
1649 (c-name "empathy_pixbuf_from_icon_name")
1650 (return-type "GdkPixbuf*")
1652 '("const-gchar*" "icon_name")
1653 '("GtkIconSize" "icon_size")
1657 (define-function text_iter_forward_search
1658 (c-name "empathy_text_iter_forward_search")
1659 (return-type "gboolean")
1661 '("const-GtkTextIter*" "iter")
1662 '("const-gchar*" "str")
1663 '("GtkTextIter*" "match_start")
1664 '("GtkTextIter*" "match_end")
1665 '("const-GtkTextIter*" "limit")
1669 (define-function text_iter_backward_search
1670 (c-name "empathy_text_iter_backward_search")
1671 (return-type "gboolean")
1673 '("const-GtkTextIter*" "iter")
1674 '("const-gchar*" "str")
1675 '("GtkTextIter*" "match_start")
1676 '("GtkTextIter*" "match_end")
1677 '("const-GtkTextIter*" "limit")
1681 (define-function window_get_is_visible
1682 (c-name "empathy_window_get_is_visible")
1683 (return-type "gboolean")
1685 '("GtkWindow*" "window")
1689 (define-function window_present
1690 (c-name "empathy_window_present")
1691 (return-type "none")
1693 '("GtkWindow*" "window")
1694 '("gboolean" "steal_focus")
1698 (define-function window_iconify
1699 (c-name "empathy_window_iconify")
1700 (return-type "none")
1702 '("GtkWindow*" "window")
1703 '("GtkStatusIcon*" "status_icon")
1707 (define-function get_toplevel_window
1708 (c-name "empathy_get_toplevel_window")
1709 (return-type "GtkWindow*")
1711 '("GtkWidget*" "widget")
1715 (define-function url_show
1716 (c-name "empathy_url_show")
1717 (return-type "none")
1719 '("GtkWidget*" "parent")
1720 '("const-char*" "url")
1724 (define-function toggle_button_set_state_quietly
1725 (c-name "empathy_toggle_button_set_state_quietly")
1726 (return-type "none")
1728 '("GtkWidget*" "widget")
1729 '("GCallback" "callback")
1730 '("gpointer" "user_data")
1731 '("gboolean" "active")
1735 (define-function link_button_new
1736 (c-name "empathy_link_button_new")
1737 (is-constructor-of "EmpathyLinkButton")
1738 (return-type "GtkWidget*")
1740 '("const-gchar*" "url")
1741 '("const-gchar*" "title")
1745 (define-function send_file_with_file_chooser
1746 (c-name "empathy_send_file_with_file_chooser")
1747 (return-type "none")
1749 '("EmpathyContact*" "contact")
1753 (define-function sound_play
1754 (c-name "empathy_sound_play")
1755 (return-type "none")
1757 '("GtkWidget*" "widget")
1758 '("EmpathySound" "sound_id")