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 GstAudioSink
96 (c-name "EmpathyGstAudioSink")
97 (gtype-id "EMPATHY_TYPE_GST_AUDIO_SINK")
100 (define-object GstAudioSrc
101 (in-module "Empathy")
103 (c-name "EmpathyGstAudioSrc")
104 (gtype-id "EMPATHY_TYPE_GST_AUDIO_SRC")
107 (define-object GstVideoSrc
108 (in-module "Empathy")
110 (c-name "EmpathyGstVideoSrc")
111 (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC")
114 (define-object PresenceChooser
115 (in-module "Empathy")
116 (parent "GtkToggleButton")
117 (c-name "EmpathyPresenceChooser")
118 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
121 (define-object SmileyManager
122 (in-module "Empathy")
124 (c-name "EmpathySmileyManager")
125 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
128 (define-object ThemeBoxes
129 (in-module "Empathy")
130 (parent "EmpathyChatTextView")
131 (c-name "EmpathyThemeBoxes")
132 (gtype-id "EMPATHY_TYPE_THEME_BOXES")
135 (define-object ThemeIrc
136 (in-module "Empathy")
137 (parent "EmpathyChatTextView")
138 (c-name "EmpathyThemeIrc")
139 (gtype-id "EMPATHY_TYPE_THEME_IRC")
142 (define-object ThemeManager
143 (in-module "Empathy")
145 (c-name "EmpathyThemeManager")
146 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
149 (define-object VideoWidget
150 (in-module "Empathy")
151 (parent "GtkDrawingArea")
152 (c-name "EmpathyVideoWidget")
153 (gtype-id "EMPATHY_TYPE_VIDEO_WIDGET")
156 ;; Enumerations and flags ...
158 (define-enum ContactListStoreSort
159 (in-module "Empathy")
160 (c-name "EmpathyContactListStoreSort")
161 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
163 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
164 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
168 (define-enum ContactListStoreCol
169 (in-module "Empathy")
170 (c-name "EmpathyContactListStoreCol")
171 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
173 '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
174 '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
175 '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
176 '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
177 '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
178 '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
179 '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
180 '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
181 '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
182 '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
183 '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
184 '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
185 '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
189 (define-flags ContactListFeatureFlags
190 (in-module "Empathy")
191 (c-name "EmpathyContactListFeatureFlags")
192 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
194 '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
195 '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
196 '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
197 '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
198 '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
199 '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
200 '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
201 '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
202 '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
206 (define-flags ContactFeatureFlags
207 (in-module "Empathy")
208 (c-name "EmpathyContactFeatureFlags")
209 (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
211 '("none" "EMPATHY_CONTACT_FEATURE_NONE")
212 '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
213 '("call" "EMPATHY_CONTACT_FEATURE_CALL")
214 '("log" "EMPATHY_CONTACT_FEATURE_LOG")
215 '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
216 '("info" "EMPATHY_CONTACT_FEATURE_INFO")
217 '("all" "EMPATHY_CONTACT_FEATURE_ALL")
221 (define-flags ContactWidgetFlags
222 (in-module "Empathy")
223 (c-name "EmpathyContactWidgetFlags")
224 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
226 '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
227 '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
228 '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
229 '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
230 '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
231 '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
232 '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
237 (in-module "Empathy")
238 (c-name "EmpathySound")
239 (gtype-id "EMPATHY_TYPE_SOUND")
241 '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
242 '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
243 '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
244 '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
245 '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
246 '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
247 '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
248 '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
249 '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
250 '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
251 '("last-empathy-sound" "LAST_EMPATHY_SOUND")
256 ;; From empathy-account-chooser.h
258 (define-function account_chooser_get_type
259 (c-name "empathy_account_chooser_get_type")
260 (return-type "GType")
263 (define-function account_chooser_new
264 (c-name "empathy_account_chooser_new")
265 (is-constructor-of "EmpathyAccountChooser")
266 (return-type "GtkWidget*")
269 (define-method get_account
270 (of-object "EmpathyAccountChooser")
271 (c-name "empathy_account_chooser_get_account")
272 (return-type "McAccount*")
275 (define-method set_account
276 (of-object "EmpathyAccountChooser")
277 (c-name "empathy_account_chooser_set_account")
278 (return-type "gboolean")
280 '("McAccount*" "account")
284 (define-method get_has_all_option
285 (of-object "EmpathyAccountChooser")
286 (c-name "empathy_account_chooser_get_has_all_option")
287 (return-type "gboolean")
290 (define-method set_has_all_option
291 (of-object "EmpathyAccountChooser")
292 (c-name "empathy_account_chooser_set_has_all_option")
295 '("gboolean" "has_all_option")
299 (define-method set_filter
300 (of-object "EmpathyAccountChooser")
301 (c-name "empathy_account_chooser_set_filter")
304 '("EmpathyAccountChooserFilterFunc" "filter")
305 '("gpointer" "user_data")
309 (define-function account_chooser_filter_is_connected
310 (c-name "empathy_account_chooser_filter_is_connected")
311 (return-type "gboolean")
313 '("McAccount*" "account")
314 '("gpointer" "user_data")
320 ;; From empathy-account-widget.h
322 (define-function account_widget_handle_params
323 (c-name "empathy_account_widget_handle_params")
326 '("McAccount*" "account")
327 '("GladeXML*" "glade")
328 '("const-gchar*" "first_widget_name")
333 (define-function account_widget_add_forget_button
334 (c-name "empathy_account_widget_add_forget_button")
337 '("McAccount*" "account")
338 '("GladeXML*" "glade")
339 '("const-gchar*" "button")
340 '("const-gchar*" "entry")
344 (define-function account_widget_generic_new
345 (c-name "empathy_account_widget_generic_new")
346 (is-constructor-of "EmpathyAccountWidgetGeneric")
347 (return-type "GtkWidget*")
349 '("McAccount*" "account")
353 (define-function account_widget_salut_new
354 (c-name "empathy_account_widget_salut_new")
355 (is-constructor-of "EmpathyAccountWidgetSalut")
356 (return-type "GtkWidget*")
358 '("McAccount*" "account")
362 (define-function account_widget_msn_new
363 (c-name "empathy_account_widget_msn_new")
364 (is-constructor-of "EmpathyAccountWidgetMsn")
365 (return-type "GtkWidget*")
367 '("McAccount*" "account")
371 (define-function account_widget_jabber_new
372 (c-name "empathy_account_widget_jabber_new")
373 (is-constructor-of "EmpathyAccountWidgetJabber")
374 (return-type "GtkWidget*")
376 '("McAccount*" "account")
380 (define-function account_widget_icq_new
381 (c-name "empathy_account_widget_icq_new")
382 (is-constructor-of "EmpathyAccountWidgetIcq")
383 (return-type "GtkWidget*")
385 '("McAccount*" "account")
389 (define-function account_widget_aim_new
390 (c-name "empathy_account_widget_aim_new")
391 (is-constructor-of "EmpathyAccountWidgetAim")
392 (return-type "GtkWidget*")
394 '("McAccount*" "account")
398 (define-function account_widget_yahoo_new
399 (c-name "empathy_account_widget_yahoo_new")
400 (is-constructor-of "EmpathyAccountWidgetYahoo")
401 (return-type "GtkWidget*")
403 '("McAccount*" "account")
407 (define-function account_widget_groupwise_new
408 (c-name "empathy_account_widget_groupwise_new")
409 (is-constructor-of "EmpathyAccountWidgetGroupwise")
410 (return-type "GtkWidget*")
412 '("McAccount*" "account")
418 ;; From empathy-account-widget-irc.h
420 (define-function account_widget_irc_new
421 (c-name "empathy_account_widget_irc_new")
422 (is-constructor-of "EmpathyAccountWidgetIrc")
423 (return-type "GtkWidget*")
425 '("McAccount*" "account")
431 ;; From empathy-account-widget-sip.h
433 (define-function account_widget_sip_new
434 (c-name "empathy_account_widget_sip_new")
435 (is-constructor-of "EmpathyAccountWidgetSip")
436 (return-type "GtkWidget*")
438 '("McAccount*" "account")
444 ;; From empathy-avatar-chooser.h
446 (define-function avatar_chooser_get_type
447 (c-name "empathy_avatar_chooser_get_type")
448 (return-type "GType")
451 (define-function avatar_chooser_new
452 (c-name "empathy_avatar_chooser_new")
453 (is-constructor-of "EmpathyAvatarChooser")
454 (return-type "GtkWidget*")
458 (of-object "EmpathyAvatarChooser")
459 (c-name "empathy_avatar_chooser_set")
462 '("EmpathyAvatar*" "avatar")
466 (define-method get_image_data
467 (of-object "EmpathyAvatarChooser")
468 (c-name "empathy_avatar_chooser_get_image_data")
471 '("const-gchar**" "data")
472 '("gsize*" "data_size")
473 '("const-gchar**" "mime_type")
479 ;; From empathy-avatar-image.h
481 (define-function avatar_image_get_type
482 (c-name "empathy_avatar_image_get_type")
483 (return-type "GType")
486 (define-function avatar_image_new
487 (c-name "empathy_avatar_image_new")
488 (is-constructor-of "EmpathyAvatarImage")
489 (return-type "GtkWidget*")
493 (of-object "EmpathyAvatarImage")
494 (c-name "empathy_avatar_image_set")
497 '("EmpathyAvatar*" "avatar")
503 ;; From empathy-cell-renderer-activatable.h
505 (define-function cell_renderer_activatable_get_type
506 (c-name "empathy_cell_renderer_activatable_get_type")
507 (return-type "GType")
510 (define-function cell_renderer_activatable_new
511 (c-name "empathy_cell_renderer_activatable_new")
512 (is-constructor-of "EmpathyCellRendererActivatable")
513 (return-type "GtkCellRenderer*")
518 ;; From empathy-cell-renderer-expander.h
520 (define-function cell_renderer_expander_get_type
521 (c-name "empathy_cell_renderer_expander_get_type")
522 (return-type "GType")
525 (define-function cell_renderer_expander_new
526 (c-name "empathy_cell_renderer_expander_new")
527 (is-constructor-of "EmpathyCellRendererExpander")
528 (return-type "GtkCellRenderer*")
533 ;; From empathy-cell-renderer-text.h
535 (define-function cell_renderer_text_get_type
536 (c-name "empathy_cell_renderer_text_get_type")
537 (return-type "GType")
540 (define-function cell_renderer_text_new
541 (c-name "empathy_cell_renderer_text_new")
542 (is-constructor-of "EmpathyCellRendererText")
543 (return-type "GtkCellRenderer*")
548 ;; From empathy-chat.h
550 (define-function chat_get_type
551 (c-name "empathy_chat_get_type")
552 (return-type "GType")
555 (define-function chat_new
556 (c-name "empathy_chat_new")
557 (is-constructor-of "EmpathyChat")
558 (return-type "EmpathyChat*")
560 '("EmpathyTpChat*" "tp_chat")
564 (define-method get_tp_chat
565 (of-object "EmpathyChat")
566 (c-name "empathy_chat_get_tp_chat")
567 (return-type "EmpathyTpChat*")
570 (define-method set_tp_chat
571 (of-object "EmpathyChat")
572 (c-name "empathy_chat_set_tp_chat")
575 '("EmpathyTpChat*" "tp_chat")
579 (define-method get_account
580 (of-object "EmpathyChat")
581 (c-name "empathy_chat_get_account")
582 (return-type "McAccount*")
585 (define-method get_id
586 (of-object "EmpathyChat")
587 (c-name "empathy_chat_get_id")
588 (return-type "const-gchar*")
591 (define-method get_name
592 (of-object "EmpathyChat")
593 (c-name "empathy_chat_get_name")
594 (return-type "const-gchar*")
597 (define-method get_subject
598 (of-object "EmpathyChat")
599 (c-name "empathy_chat_get_subject")
600 (return-type "const-gchar*")
603 (define-method get_remote_contact
604 (of-object "EmpathyChat")
605 (c-name "empathy_chat_get_remote_contact")
606 (return-type "EmpathyContact*")
609 (define-method get_members_count
610 (of-object "EmpathyChat")
611 (c-name "empathy_chat_get_members_count")
612 (return-type "guint")
615 (define-method get_contact_menu
616 (of-object "EmpathyChat")
617 (c-name "empathy_chat_get_contact_menu")
618 (return-type "GtkWidget*")
622 (of-object "EmpathyChat")
623 (c-name "empathy_chat_clear")
627 (define-method scroll_down
628 (of-object "EmpathyChat")
629 (c-name "empathy_chat_scroll_down")
634 (of-object "EmpathyChat")
635 (c-name "empathy_chat_cut")
640 (of-object "EmpathyChat")
641 (c-name "empathy_chat_copy")
646 (of-object "EmpathyChat")
647 (c-name "empathy_chat_paste")
651 (define-method correct_word
652 (of-object "EmpathyChat")
653 (c-name "empathy_chat_correct_word")
656 '("GtkTextIter*" "start")
657 '("GtkTextIter*" "end")
658 '("const-gchar*" "new_word")
662 (define-method is_room
663 (of-object "EmpathyChat")
664 (c-name "empathy_chat_is_room")
665 (return-type "gboolean")
670 ;; From empathy-chat-text-view.h
672 (define-function chat_text_view_get_type
673 (c-name "empathy_chat_text_view_get_type")
674 (return-type "GType")
677 (define-method get_last_contact
678 (of-object "EmpathyChatTextView")
679 (c-name "empathy_chat_text_view_get_last_contact")
680 (return-type "EmpathyContact*")
683 (define-method set_only_if_date
684 (of-object "EmpathyChatTextView")
685 (c-name "empathy_chat_text_view_set_only_if_date")
688 '("gboolean" "only_if_date")
692 (define-method append_body
693 (of-object "EmpathyChatTextView")
694 (c-name "empathy_chat_text_view_append_body")
697 '("const-gchar*" "body")
698 '("const-gchar*" "tag")
702 (define-method append_spacing
703 (of-object "EmpathyChatTextView")
704 (c-name "empathy_chat_text_view_append_spacing")
708 (define-method tag_set
709 (of-object "EmpathyChatTextView")
710 (c-name "empathy_chat_text_view_tag_set")
711 (return-type "GtkTextTag*")
713 '("const-gchar*" "tag_name")
714 '("const-gchar*" "first_property_name")
721 ;; From empathy-chat-view.h
723 (define-function chat_view_get_type
724 (c-name "empathy_chat_view_get_type")
725 (return-type "GType")
728 (define-method append_message
729 (of-object "EmpathyChatView")
730 (c-name "empathy_chat_view_append_message")
733 '("EmpathyMessage*" "msg")
737 (define-method append_event
738 (of-object "EmpathyChatView")
739 (c-name "empathy_chat_view_append_event")
742 '("const-gchar*" "str")
746 (define-method scroll
747 (of-object "EmpathyChatView")
748 (c-name "empathy_chat_view_scroll")
751 '("gboolean" "allow_scrolling")
755 (define-method scroll_down
756 (of-object "EmpathyChatView")
757 (c-name "empathy_chat_view_scroll_down")
761 (define-method get_has_selection
762 (of-object "EmpathyChatView")
763 (c-name "empathy_chat_view_get_has_selection")
764 (return-type "gboolean")
768 (of-object "EmpathyChatView")
769 (c-name "empathy_chat_view_clear")
773 (define-method find_previous
774 (of-object "EmpathyChatView")
775 (c-name "empathy_chat_view_find_previous")
776 (return-type "gboolean")
778 '("const-gchar*" "search_criteria")
779 '("gboolean" "new_search")
783 (define-method find_next
784 (of-object "EmpathyChatView")
785 (c-name "empathy_chat_view_find_next")
786 (return-type "gboolean")
788 '("const-gchar*" "search_criteria")
789 '("gboolean" "new_search")
793 (define-method find_abilities
794 (of-object "EmpathyChatView")
795 (c-name "empathy_chat_view_find_abilities")
798 '("const-gchar*" "search_criteria")
799 '("gboolean*" "can_do_previous")
800 '("gboolean*" "can_do_next")
804 (define-method highlight
805 (of-object "EmpathyChatView")
806 (c-name "empathy_chat_view_highlight")
809 '("const-gchar*" "text")
813 (define-method copy_clipboard
814 (of-object "EmpathyChatView")
815 (c-name "empathy_chat_view_copy_clipboard")
821 ;; From empathy-conf.h
823 (define-function conf_get_type
824 (c-name "empathy_conf_get_type")
825 (return-type "GType")
828 (define-function conf_get
829 (c-name "empathy_conf_get")
830 (return-type "EmpathyConf*")
833 (define-function conf_shutdown
834 (c-name "empathy_conf_shutdown")
838 (define-method notify_add
839 (of-object "EmpathyConf")
840 (c-name "empathy_conf_notify_add")
841 (return-type "guint")
843 '("const-gchar*" "key")
844 '("EmpathyConfNotifyFunc" "func")
849 (define-method notify_remove
850 (of-object "EmpathyConf")
851 (c-name "empathy_conf_notify_remove")
852 (return-type "gboolean")
858 (define-method set_int
859 (of-object "EmpathyConf")
860 (c-name "empathy_conf_set_int")
861 (return-type "gboolean")
863 '("const-gchar*" "key")
868 (define-method get_int
869 (of-object "EmpathyConf")
870 (c-name "empathy_conf_get_int")
871 (return-type "gboolean")
873 '("const-gchar*" "key")
878 (define-method set_bool
879 (of-object "EmpathyConf")
880 (c-name "empathy_conf_set_bool")
881 (return-type "gboolean")
883 '("const-gchar*" "key")
884 '("gboolean" "value")
888 (define-method get_bool
889 (of-object "EmpathyConf")
890 (c-name "empathy_conf_get_bool")
891 (return-type "gboolean")
893 '("const-gchar*" "key")
894 '("gboolean*" "value")
898 (define-method set_string
899 (of-object "EmpathyConf")
900 (c-name "empathy_conf_set_string")
901 (return-type "gboolean")
903 '("const-gchar*" "key")
904 '("const-gchar*" "value")
908 (define-method get_string
909 (of-object "EmpathyConf")
910 (c-name "empathy_conf_get_string")
911 (return-type "gboolean")
913 '("const-gchar*" "key")
918 (define-method set_string_list
919 (of-object "EmpathyConf")
920 (c-name "empathy_conf_set_string_list")
921 (return-type "gboolean")
923 '("const-gchar*" "key")
928 (define-method get_string_list
929 (of-object "EmpathyConf")
930 (c-name "empathy_conf_get_string_list")
931 (return-type "gboolean")
933 '("const-gchar*" "key")
934 '("GSList**" "value")
940 ;; From empathy-contact-dialogs.h
942 (define-function subscription_dialog_show
943 (c-name "empathy_subscription_dialog_show")
946 '("EmpathyContact*" "contact")
947 '("GtkWindow*" "parent")
951 (define-method information_dialog_show
952 (of-object "EmpathyContact")
953 (c-name "empathy_contact_information_dialog_show")
956 '("GtkWindow*" "parent")
958 '("gboolean" "is_user")
962 (define-function new_contact_dialog_show
963 (c-name "empathy_new_contact_dialog_show")
966 '("GtkWindow*" "parent")
972 ;; From empathy-contact-list-store.h
974 (define-function contact_list_store_get_type
975 (c-name "empathy_contact_list_store_get_type")
976 (return-type "GType")
979 (define-function empathy_contact_list_store_new
980 (is-constructor-of "EmpathyContactListStore")
981 (c-name "empathy_contact_list_store_new")
982 (return-type "EmpathyContactListStore*")
984 '("EmpathyContactList*" "list_iface")
988 (define-method get_list_iface
989 (of-object "EmpathyContactListStore")
990 (c-name "empathy_contact_list_store_get_list_iface")
991 (return-type "EmpathyContactList*")
994 (define-method get_show_offline
995 (of-object "EmpathyContactListStore")
996 (c-name "empathy_contact_list_store_get_show_offline")
997 (return-type "gboolean")
1000 (define-method set_show_offline
1001 (of-object "EmpathyContactListStore")
1002 (c-name "empathy_contact_list_store_set_show_offline")
1003 (return-type "none")
1005 '("gboolean" "show_offline")
1009 (define-method get_show_avatars
1010 (of-object "EmpathyContactListStore")
1011 (c-name "empathy_contact_list_store_get_show_avatars")
1012 (return-type "gboolean")
1015 (define-method set_show_avatars
1016 (of-object "EmpathyContactListStore")
1017 (c-name "empathy_contact_list_store_set_show_avatars")
1018 (return-type "none")
1020 '("gboolean" "show_avatars")
1024 (define-method get_show_groups
1025 (of-object "EmpathyContactListStore")
1026 (c-name "empathy_contact_list_store_get_show_groups")
1027 (return-type "gboolean")
1030 (define-method set_show_groups
1031 (of-object "EmpathyContactListStore")
1032 (c-name "empathy_contact_list_store_set_show_groups")
1033 (return-type "none")
1035 '("gboolean" "show_groups")
1039 (define-method get_is_compact
1040 (of-object "EmpathyContactListStore")
1041 (c-name "empathy_contact_list_store_get_is_compact")
1042 (return-type "gboolean")
1045 (define-method set_is_compact
1046 (of-object "EmpathyContactListStore")
1047 (c-name "empathy_contact_list_store_set_is_compact")
1048 (return-type "none")
1050 '("gboolean" "is_compact")
1054 (define-method get_sort_criterium
1055 (of-object "EmpathyContactListStore")
1056 (c-name "empathy_contact_list_store_get_sort_criterium")
1057 (return-type "EmpathyContactListStoreSort")
1060 (define-method set_sort_criterium
1061 (of-object "EmpathyContactListStore")
1062 (c-name "empathy_contact_list_store_set_sort_criterium")
1063 (return-type "none")
1065 '("EmpathyContactListStoreSort" "sort_criterium")
1069 (define-function contact_list_store_row_separator_func
1070 (c-name "empathy_contact_list_store_row_separator_func")
1071 (return-type "gboolean")
1073 '("GtkTreeModel*" "model")
1074 '("GtkTreeIter*" "iter")
1075 '("gpointer" "data")
1079 (define-function contact_list_store_get_parent_group
1080 (c-name "empathy_contact_list_store_get_parent_group")
1081 (return-type "gchar*")
1083 '("GtkTreeModel*" "model")
1084 '("GtkTreePath*" "path")
1085 '("gboolean*" "path_is_group")
1089 (define-function contact_list_store_search_equal_func
1090 (c-name "empathy_contact_list_store_search_equal_func")
1091 (return-type "gboolean")
1093 '("GtkTreeModel*" "model")
1095 '("const-gchar*" "key")
1096 '("GtkTreeIter*" "iter")
1097 '("gpointer" "search_data")
1103 ;; From empathy-contact-list-view.h
1105 (define-function contact_list_view_get_type
1106 (c-name "empathy_contact_list_view_get_type")
1107 (return-type "GType")
1110 (define-function contact_list_view_new
1111 (c-name "empathy_contact_list_view_new")
1112 (is-constructor-of "EmpathyContactListView")
1113 (return-type "EmpathyContactListView*")
1115 '("EmpathyContactListStore*" "store")
1116 '("EmpathyContactListFeatureFlags" "list_features")
1117 '("EmpathyContactFeatureFlags" "contact_features")
1121 (define-method get_selected
1122 (of-object "EmpathyContactListView")
1123 (c-name "empathy_contact_list_view_get_selected")
1124 (return-type "EmpathyContact*")
1127 (define-method get_selected_group
1128 (of-object "EmpathyContactListView")
1129 (c-name "empathy_contact_list_view_get_selected_group")
1130 (return-type "gchar*")
1133 (define-method get_contact_menu
1134 (of-object "EmpathyContactListView")
1135 (c-name "empathy_contact_list_view_get_contact_menu")
1136 (return-type "GtkWidget*")
1139 (define-method get_group_menu
1140 (of-object "EmpathyContactListView")
1141 (c-name "empathy_contact_list_view_get_group_menu")
1142 (return-type "GtkWidget*")
1147 ;; From empathy-contact-menu.h
1149 (define-method menu_new
1150 (of-object "EmpathyContact")
1151 (c-name "empathy_contact_menu_new")
1152 (return-type "GtkWidget*")
1154 '("EmpathyContactFeatureFlags" "features")
1158 (define-method chat_menu_item_new
1159 (of-object "EmpathyContact")
1160 (c-name "empathy_contact_chat_menu_item_new")
1161 (return-type "GtkWidget*")
1164 (define-method call_menu_item_new
1165 (of-object "EmpathyContact")
1166 (c-name "empathy_contact_call_menu_item_new")
1167 (return-type "GtkWidget*")
1170 (define-method log_menu_item_new
1171 (of-object "EmpathyContact")
1172 (c-name "empathy_contact_log_menu_item_new")
1173 (return-type "GtkWidget*")
1176 (define-method info_menu_item_new
1177 (of-object "EmpathyContact")
1178 (c-name "empathy_contact_info_menu_item_new")
1179 (return-type "GtkWidget*")
1182 (define-method edit_menu_item_new
1183 (of-object "EmpathyContact")
1184 (c-name "empathy_contact_edit_menu_item_new")
1185 (return-type "GtkWidget*")
1188 (define-method invite_menu_item_new
1189 (of-object "EmpathyContact")
1190 (c-name "empathy_contact_invite_menu_item_new")
1191 (return-type "GtkWidget*")
1194 (define-method file_transfer_menu_item_new
1195 (of-object "EmpathyContact")
1196 (c-name "empathy_contact_file_transfer_menu_item_new")
1197 (return-type "GtkWidget*")
1202 ;; From empathy-contact-selector.h
1204 (define-function contact_selector_get_type
1205 (c-name "empathy_contact_selector_get_type")
1206 (return-type "GType")
1209 (define-function contact_selector_new
1210 (c-name "empathy_contact_selector_new")
1211 (is-constructor-of "EmpathyContactSelector")
1212 (return-type "GtkWidget*")
1214 '("EmpathyContactList*" "contact_list")
1218 (define-method dup_selected
1219 (of-object "EmpathyContactSelector")
1220 (c-name "empathy_contact_selector_dup_selected")
1221 (return-type "EmpathyContact*")
1226 ;; From empathy-contact-widget.h
1228 (define-method widget_new
1229 (of-object "EmpathyContact")
1230 (c-name "empathy_contact_widget_new")
1231 (return-type "GtkWidget*")
1233 '("EmpathyContactWidgetFlags" "flags")
1237 (define-function contact_widget_get_contact
1238 (c-name "empathy_contact_widget_get_contact")
1239 (return-type "EmpathyContact*")
1241 '("GtkWidget*" "widget")
1245 (define-function contact_widget_set_contact
1246 (c-name "empathy_contact_widget_set_contact")
1247 (return-type "none")
1249 '("GtkWidget*" "widget")
1250 '("EmpathyContact*" "contact")
1254 (define-function contact_widget_set_account_filter
1255 (c-name "empathy_contact_widget_set_account_filter")
1256 (return-type "none")
1258 '("GtkWidget*" "widget")
1259 '("EmpathyAccountChooserFilterFunc" "filter")
1260 '("gpointer" "user_data")
1266 ;; From empathy-geometry.h
1268 (define-function geometry_save
1269 (c-name "empathy_geometry_save")
1270 (return-type "none")
1272 '("const-gchar*" "name")
1280 (define-function geometry_load
1281 (c-name "empathy_geometry_load")
1282 (return-type "none")
1284 '("const-gchar*" "name")
1294 ;; From empathy-audio-sink.h
1296 (define-function audio_sink_get_type
1297 (c-name "empathy_audio_sink_get_type")
1298 (return-type "GType")
1301 (define-function audio_sink_new
1302 (c-name "empathy_audio_sink_new")
1303 (is-constructor-of "EmpathyAudioSink")
1304 (return-type "GstElement*")
1307 (define-function audio_sink_set_volume
1308 (c-name "empathy_audio_sink_set_volume")
1309 (return-type "none")
1311 '("EmpathyGstAudioSink*" "sink")
1312 '("gdouble" "volume")
1316 (define-function audio_sink_get_volume
1317 (c-name "empathy_audio_sink_get_volume")
1318 (return-type "gdouble")
1320 '("EmpathyGstAudioSink*" "sink")
1326 ;; From empathy-audio-src.h
1328 (define-function audio_src_get_type
1329 (c-name "empathy_audio_src_get_type")
1330 (return-type "GType")
1333 (define-function audio_src_new
1334 (c-name "empathy_audio_src_new")
1335 (is-constructor-of "EmpathyAudioSrc")
1336 (return-type "GstElement*")
1341 ;; From empathy-video-src.h
1343 (define-function video_src_get_type
1344 (c-name "empathy_video_src_get_type")
1345 (return-type "GType")
1348 (define-function video_src_new
1349 (c-name "empathy_video_src_new")
1350 (is-constructor-of "EmpathyVideoSrc")
1351 (return-type "GstElement*")
1356 ;; From empathy-video-widget.h
1358 (define-function video_widget_get_type
1359 (c-name "empathy_video_widget_get_type")
1360 (return-type "GType")
1363 (define-function video_widget_new
1364 (c-name "empathy_video_widget_new")
1365 (is-constructor-of "EmpathyVideoWidget")
1366 (return-type "GtkWidget*")
1372 (define-function video_widget_new_with_size
1373 (c-name "empathy_video_widget_new_with_size")
1374 (return-type "GtkWidget*")
1382 (define-method get_element
1383 (of-object "EmpathyVideoWidget")
1384 (c-name "empathy_video_widget_get_element")
1385 (return-type "GstElement*")
1388 (define-method get_sink
1389 (of-object "EmpathyVideoWidget")
1390 (c-name "empathy_video_widget_get_sink")
1391 (return-type "GstPad*")
1396 ;; From empathy-images.h
1400 ;; From empathy-irc-network-dialog.h
1402 (define-method dialog_show
1403 (of-object "EmpathyIrcNetwork")
1404 (c-name "empathy_irc_network_dialog_show")
1405 (return-type "GtkWidget*")
1407 '("GtkWidget*" "parent")
1413 ;; From empathy-log-window.h
1415 (define-function log_window_show
1416 (c-name "empathy_log_window_show")
1417 (return-type "GtkWidget*")
1419 '("McAccount*" "account")
1420 '("const-gchar*" "chat_id")
1421 '("gboolean" "chatroom")
1422 '("GtkWindow*" "parent")
1428 ;; From empathy-new-message-dialog.h
1430 (define-function new_message_dialog_show
1431 (c-name "empathy_new_message_dialog_show")
1432 (return-type "GtkWidget*")
1434 '("GtkWindow*" "parent")
1440 ;; From empathy-presence-chooser.h
1442 (define-function presence_chooser_get_type
1443 (c-name "empathy_presence_chooser_get_type")
1444 (return-type "GType")
1447 (define-function presence_chooser_new
1448 (c-name "empathy_presence_chooser_new")
1449 (is-constructor-of "EmpathyPresenceChooser")
1450 (return-type "GtkWidget*")
1453 (define-function presence_chooser_create_menu
1454 (c-name "empathy_presence_chooser_create_menu")
1455 (return-type "GtkWidget*")
1460 ;; From empathy-profile-chooser.h
1462 (define-function profile_chooser_new
1463 (c-name "empathy_profile_chooser_new")
1464 (is-constructor-of "EmpathyProfileChooser")
1465 (return-type "GtkWidget*")
1468 (define-function profile_chooser_get_selected
1469 (c-name "empathy_profile_chooser_get_selected")
1470 (return-type "McProfile*")
1472 '("GtkWidget*" "widget")
1476 (define-function profile_chooser_n_profiles
1477 (c-name "empathy_profile_chooser_n_profiles")
1478 (return-type "gint")
1480 '("GtkWidget*" "widget")
1486 ;; From empathy-smiley-manager.h
1488 (define-function smiley_manager_get_type
1489 (c-name "empathy_smiley_manager_get_type")
1490 (return-type "GType")
1493 (define-function smiley_manager_dup_singleton
1494 (c-name "empathy_smiley_manager_dup_singleton")
1495 (return-type "EmpathySmileyManager*")
1499 (of-object "EmpathySmileyManager")
1500 (c-name "empathy_smiley_manager_load")
1501 (return-type "none")
1505 (of-object "EmpathySmileyManager")
1506 (c-name "empathy_smiley_manager_add")
1507 (return-type "none")
1509 '("const-gchar*" "icon_name")
1510 '("const-gchar*" "first_str")
1515 (define-method add_from_pixbuf
1516 (of-object "EmpathySmileyManager")
1517 (c-name "empathy_smiley_manager_add_from_pixbuf")
1518 (return-type "none")
1520 '("GdkPixbuf*" "smiley")
1521 '("const-gchar*" "first_str")
1526 (define-method get_all
1527 (of-object "EmpathySmileyManager")
1528 (c-name "empathy_smiley_manager_get_all")
1529 (return-type "GSList*")
1532 (define-method parse
1533 (of-object "EmpathySmileyManager")
1534 (c-name "empathy_smiley_manager_parse")
1535 (return-type "GSList*")
1537 '("const-gchar*" "text")
1541 (define-function smiley_menu_new
1542 (c-name "empathy_smiley_menu_new")
1543 (is-constructor-of "EmpathySmileyMenu")
1544 (return-type "GtkWidget*")
1546 '("EmpathySmileyManager*" "manager")
1547 '("EmpathySmileyMenuFunc" "func")
1548 '("gpointer" "user_data")
1553 (of-object "EmpathySmiley")
1554 (c-name "empathy_smiley_free")
1555 (return-type "none")
1560 ;; From empathy-spell.h
1562 (define-function spell_supported
1563 (c-name "empathy_spell_supported")
1564 (return-type "gboolean")
1567 (define-function spell_get_language_name
1568 (c-name "empathy_spell_get_language_name")
1569 (return-type "const-gchar*")
1571 '("const-gchar*" "code")
1575 (define-function spell_get_language_codes
1576 (c-name "empathy_spell_get_language_codes")
1577 (return-type "GList*")
1580 (define-function spell_free_language_codes
1581 (c-name "empathy_spell_free_language_codes")
1582 (return-type "none")
1588 (define-function spell_check
1589 (c-name "empathy_spell_check")
1590 (return-type "gboolean")
1592 '("const-gchar*" "word")
1596 (define-function spell_get_suggestions
1597 (c-name "empathy_spell_get_suggestions")
1598 (return-type "GList*")
1600 '("const-gchar*" "word")
1604 (define-function spell_free_suggestions
1605 (c-name "empathy_spell_free_suggestions")
1606 (return-type "none")
1608 '("GList*" "suggestions")
1614 ;; From empathy-spell-dialog.h
1616 (define-function spell_dialog_show
1617 (c-name "empathy_spell_dialog_show")
1618 (return-type "none")
1620 '("EmpathyChat*" "chat")
1621 '("GtkTextIter*" "start")
1622 '("GtkTextIter*" "end")
1623 '("const-gchar*" "word")
1629 ;; From empathy-theme-boxes.h
1631 (define-function theme_boxes_get_type
1632 (c-name "empathy_theme_boxes_get_type")
1633 (return-type "GType")
1636 (define-function theme_boxes_new
1637 (c-name "empathy_theme_boxes_new")
1638 (is-constructor-of "EmpathyThemeBoxes")
1639 (return-type "EmpathyThemeBoxes*")
1644 ;; From empathy-theme-irc.h
1646 (define-function theme_irc_get_type
1647 (c-name "empathy_theme_irc_get_type")
1648 (return-type "GType")
1651 (define-function theme_irc_new
1652 (c-name "empathy_theme_irc_new")
1653 (is-constructor-of "EmpathyThemeIrc")
1654 (return-type "EmpathyThemeIrc*")
1659 ;; From empathy-theme-manager.h
1661 (define-function theme_manager_get_type
1662 (c-name "empathy_theme_manager_get_type")
1663 (return-type "GType")
1666 (define-function theme_manager_get
1667 (c-name "empathy_theme_manager_get")
1668 (return-type "EmpathyThemeManager*")
1671 (define-function theme_manager_get_themes
1672 (c-name "empathy_theme_manager_get_themes")
1673 (return-type "const-gchar**")
1676 (define-method create_view
1677 (of-object "EmpathyThemeManager")
1678 (c-name "empathy_theme_manager_create_view")
1679 (return-type "EmpathyChatView*")
1684 ;; From empathy-ui-utils.h
1686 (define-function gtk_init
1687 (c-name "empathy_gtk_init")
1688 (return-type "none")
1691 (define-function glade_get_file_simple
1692 (c-name "empathy_glade_get_file_simple")
1693 (return-type "none")
1695 '("const-gchar*" "filename")
1696 '("const-gchar*" "root")
1697 '("const-gchar*" "domain")
1698 '("const-gchar*" "first_required_widget")
1703 (define-function glade_get_file
1704 (c-name "empathy_glade_get_file")
1705 (return-type "GladeXML*")
1707 '("const-gchar*" "filename")
1708 '("const-gchar*" "root")
1709 '("const-gchar*" "domain")
1710 '("const-gchar*" "first_required_widget")
1715 (define-function glade_connect
1716 (c-name "empathy_glade_connect")
1717 (return-type "none")
1719 '("GladeXML*" "gui")
1720 '("gpointer" "user_data")
1721 '("gchar*" "first_widget")
1726 (define-function glade_setup_size_group
1727 (c-name "empathy_glade_setup_size_group")
1728 (return-type "none")
1730 '("GladeXML*" "gui")
1731 '("GtkSizeGroupMode" "mode")
1732 '("gchar*" "first_widget")
1737 (define-function icon_name_from_account
1738 (c-name "empathy_icon_name_from_account")
1739 (return-type "const-gchar*")
1741 '("McAccount*" "account")
1745 (define-function icon_name_for_presence
1746 (c-name "empathy_icon_name_for_presence")
1747 (return-type "const-gchar*")
1749 '("McPresence" "presence")
1753 (define-function icon_name_for_contact
1754 (c-name "empathy_icon_name_for_contact")
1755 (return-type "const-gchar*")
1757 '("EmpathyContact*" "contact")
1761 (define-function pixbuf_from_data
1762 (c-name "empathy_pixbuf_from_data")
1763 (return-type "GdkPixbuf*")
1766 '("gsize" "data_size")
1770 (define-function pixbuf_from_data_and_mime
1771 (c-name "empathy_pixbuf_from_data_and_mime")
1772 (return-type "GdkPixbuf*")
1775 '("gsize" "data_size")
1776 '("gchar**" "mime_type")
1780 (define-function pixbuf_from_avatar_scaled
1781 (c-name "empathy_pixbuf_from_avatar_scaled")
1782 (return-type "GdkPixbuf*")
1784 '("EmpathyAvatar*" "avatar")
1790 (define-function pixbuf_avatar_from_contact_scaled
1791 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1792 (return-type "GdkPixbuf*")
1794 '("EmpathyContact*" "contact")
1800 (define-function pixbuf_scale_down_if_necessary
1801 (c-name "empathy_pixbuf_scale_down_if_necessary")
1802 (return-type "GdkPixbuf*")
1804 '("GdkPixbuf*" "pixbuf")
1805 '("gint" "max_size")
1809 (define-function pixbuf_from_icon_name
1810 (c-name "empathy_pixbuf_from_icon_name")
1811 (return-type "GdkPixbuf*")
1813 '("const-gchar*" "icon_name")
1814 '("GtkIconSize" "icon_size")
1818 (define-function pixbuf_from_icon_name_sized
1819 (c-name "empathy_pixbuf_from_icon_name_sized")
1820 (return-type "GdkPixbuf*")
1822 '("const-gchar*" "icon_name")
1827 (define-function text_iter_forward_search
1828 (c-name "empathy_text_iter_forward_search")
1829 (return-type "gboolean")
1831 '("const-GtkTextIter*" "iter")
1832 '("const-gchar*" "str")
1833 '("GtkTextIter*" "match_start")
1834 '("GtkTextIter*" "match_end")
1835 '("const-GtkTextIter*" "limit")
1839 (define-function text_iter_backward_search
1840 (c-name "empathy_text_iter_backward_search")
1841 (return-type "gboolean")
1843 '("const-GtkTextIter*" "iter")
1844 '("const-gchar*" "str")
1845 '("GtkTextIter*" "match_start")
1846 '("GtkTextIter*" "match_end")
1847 '("const-GtkTextIter*" "limit")
1851 (define-function window_get_is_visible
1852 (c-name "empathy_window_get_is_visible")
1853 (return-type "gboolean")
1855 '("GtkWindow*" "window")
1859 (define-function window_present
1860 (c-name "empathy_window_present")
1861 (return-type "none")
1863 '("GtkWindow*" "window")
1864 '("gboolean" "steal_focus")
1868 (define-function window_iconify
1869 (c-name "empathy_window_iconify")
1870 (return-type "none")
1872 '("GtkWindow*" "window")
1873 '("GtkStatusIcon*" "status_icon")
1877 (define-function get_toplevel_window
1878 (c-name "empathy_get_toplevel_window")
1879 (return-type "GtkWindow*")
1881 '("GtkWidget*" "widget")
1885 (define-function url_show
1886 (c-name "empathy_url_show")
1887 (return-type "none")
1889 '("GtkWidget*" "parent")
1890 '("const-char*" "url")
1894 (define-function toggle_button_set_state_quietly
1895 (c-name "empathy_toggle_button_set_state_quietly")
1896 (return-type "none")
1898 '("GtkWidget*" "widget")
1899 '("GCallback" "callback")
1900 '("gpointer" "user_data")
1901 '("gboolean" "active")
1905 (define-function link_button_new
1906 (c-name "empathy_link_button_new")
1907 (is-constructor-of "EmpathyLinkButton")
1908 (return-type "GtkWidget*")
1910 '("const-gchar*" "url")
1911 '("const-gchar*" "title")
1915 (define-function send_file_with_file_chooser
1916 (c-name "empathy_send_file_with_file_chooser")
1917 (return-type "none")
1919 '("EmpathyContact*" "contact")
1923 (define-function sound_play
1924 (c-name "empathy_sound_play")
1925 (return-type "none")
1927 '("GtkWidget*" "widget")
1928 '("EmpathySound" "sound_id")
1932 (define-function sound_play_full
1933 (c-name "empathy_sound_play_full")
1934 (return-type "gboolean")
1936 '("GtkWidget*" "widget")
1937 '("EmpathySound" "sound_id")
1938 '("ca_finish_callback_t" "callback")
1939 '("gpointer" "user_data")
1944 (of-object "EmpathySound")
1945 (c-name "empathy_sound_stop")
1946 (return-type "none")