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*")
1309 ;; From empathy-audio-src.h
1311 (define-function audio_src_get_type
1312 (c-name "empathy_audio_src_get_type")
1313 (return-type "GType")
1316 (define-function audio_src_new
1317 (c-name "empathy_audio_src_new")
1318 (is-constructor-of "EmpathyAudioSrc")
1319 (return-type "GstElement*")
1324 ;; From empathy-video-src.h
1326 (define-function video_src_get_type
1327 (c-name "empathy_video_src_get_type")
1328 (return-type "GType")
1331 (define-function video_src_new
1332 (c-name "empathy_video_src_new")
1333 (is-constructor-of "EmpathyVideoSrc")
1334 (return-type "GstElement*")
1339 ;; From empathy-video-widget.h
1341 (define-function video_widget_get_type
1342 (c-name "empathy_video_widget_get_type")
1343 (return-type "GType")
1346 (define-function video_widget_new
1347 (c-name "empathy_video_widget_new")
1348 (is-constructor-of "EmpathyVideoWidget")
1349 (return-type "GtkWidget*")
1355 (define-function video_widget_new_with_size
1356 (c-name "empathy_video_widget_new_with_size")
1357 (return-type "GtkWidget*")
1365 (define-method get_element
1366 (of-object "EmpathyVideoWidget")
1367 (c-name "empathy_video_widget_get_element")
1368 (return-type "GstElement*")
1371 (define-method get_sink
1372 (of-object "EmpathyVideoWidget")
1373 (c-name "empathy_video_widget_get_sink")
1374 (return-type "GstPad*")
1379 ;; From empathy-images.h
1383 ;; From empathy-irc-network-dialog.h
1385 (define-method dialog_show
1386 (of-object "EmpathyIrcNetwork")
1387 (c-name "empathy_irc_network_dialog_show")
1388 (return-type "GtkWidget*")
1390 '("GtkWidget*" "parent")
1396 ;; From empathy-log-window.h
1398 (define-function log_window_show
1399 (c-name "empathy_log_window_show")
1400 (return-type "GtkWidget*")
1402 '("McAccount*" "account")
1403 '("const-gchar*" "chat_id")
1404 '("gboolean" "chatroom")
1405 '("GtkWindow*" "parent")
1411 ;; From empathy-new-message-dialog.h
1413 (define-function new_message_dialog_show
1414 (c-name "empathy_new_message_dialog_show")
1415 (return-type "GtkWidget*")
1417 '("GtkWindow*" "parent")
1423 ;; From empathy-presence-chooser.h
1425 (define-function presence_chooser_get_type
1426 (c-name "empathy_presence_chooser_get_type")
1427 (return-type "GType")
1430 (define-function presence_chooser_new
1431 (c-name "empathy_presence_chooser_new")
1432 (is-constructor-of "EmpathyPresenceChooser")
1433 (return-type "GtkWidget*")
1436 (define-function presence_chooser_create_menu
1437 (c-name "empathy_presence_chooser_create_menu")
1438 (return-type "GtkWidget*")
1443 ;; From empathy-profile-chooser.h
1445 (define-function profile_chooser_new
1446 (c-name "empathy_profile_chooser_new")
1447 (is-constructor-of "EmpathyProfileChooser")
1448 (return-type "GtkWidget*")
1451 (define-function profile_chooser_get_selected
1452 (c-name "empathy_profile_chooser_get_selected")
1453 (return-type "McProfile*")
1455 '("GtkWidget*" "widget")
1459 (define-function profile_chooser_n_profiles
1460 (c-name "empathy_profile_chooser_n_profiles")
1461 (return-type "gint")
1463 '("GtkWidget*" "widget")
1469 ;; From empathy-smiley-manager.h
1471 (define-function smiley_manager_get_type
1472 (c-name "empathy_smiley_manager_get_type")
1473 (return-type "GType")
1476 (define-function smiley_manager_dup_singleton
1477 (c-name "empathy_smiley_manager_dup_singleton")
1478 (return-type "EmpathySmileyManager*")
1482 (of-object "EmpathySmileyManager")
1483 (c-name "empathy_smiley_manager_load")
1484 (return-type "none")
1488 (of-object "EmpathySmileyManager")
1489 (c-name "empathy_smiley_manager_add")
1490 (return-type "none")
1492 '("const-gchar*" "icon_name")
1493 '("const-gchar*" "first_str")
1498 (define-method add_from_pixbuf
1499 (of-object "EmpathySmileyManager")
1500 (c-name "empathy_smiley_manager_add_from_pixbuf")
1501 (return-type "none")
1503 '("GdkPixbuf*" "smiley")
1504 '("const-gchar*" "first_str")
1509 (define-method get_all
1510 (of-object "EmpathySmileyManager")
1511 (c-name "empathy_smiley_manager_get_all")
1512 (return-type "GSList*")
1515 (define-method parse
1516 (of-object "EmpathySmileyManager")
1517 (c-name "empathy_smiley_manager_parse")
1518 (return-type "GSList*")
1520 '("const-gchar*" "text")
1524 (define-function smiley_menu_new
1525 (c-name "empathy_smiley_menu_new")
1526 (is-constructor-of "EmpathySmileyMenu")
1527 (return-type "GtkWidget*")
1529 '("EmpathySmileyManager*" "manager")
1530 '("EmpathySmileyMenuFunc" "func")
1531 '("gpointer" "user_data")
1536 (of-object "EmpathySmiley")
1537 (c-name "empathy_smiley_free")
1538 (return-type "none")
1543 ;; From empathy-spell.h
1545 (define-function spell_supported
1546 (c-name "empathy_spell_supported")
1547 (return-type "gboolean")
1550 (define-function spell_get_language_name
1551 (c-name "empathy_spell_get_language_name")
1552 (return-type "const-gchar*")
1554 '("const-gchar*" "code")
1558 (define-function spell_get_language_codes
1559 (c-name "empathy_spell_get_language_codes")
1560 (return-type "GList*")
1563 (define-function spell_free_language_codes
1564 (c-name "empathy_spell_free_language_codes")
1565 (return-type "none")
1571 (define-function spell_check
1572 (c-name "empathy_spell_check")
1573 (return-type "gboolean")
1575 '("const-gchar*" "word")
1579 (define-function spell_get_suggestions
1580 (c-name "empathy_spell_get_suggestions")
1581 (return-type "GList*")
1583 '("const-gchar*" "word")
1587 (define-function spell_free_suggestions
1588 (c-name "empathy_spell_free_suggestions")
1589 (return-type "none")
1591 '("GList*" "suggestions")
1597 ;; From empathy-spell-dialog.h
1599 (define-function spell_dialog_show
1600 (c-name "empathy_spell_dialog_show")
1601 (return-type "none")
1603 '("EmpathyChat*" "chat")
1604 '("GtkTextIter*" "start")
1605 '("GtkTextIter*" "end")
1606 '("const-gchar*" "word")
1612 ;; From empathy-theme-boxes.h
1614 (define-function theme_boxes_get_type
1615 (c-name "empathy_theme_boxes_get_type")
1616 (return-type "GType")
1619 (define-function theme_boxes_new
1620 (c-name "empathy_theme_boxes_new")
1621 (is-constructor-of "EmpathyThemeBoxes")
1622 (return-type "EmpathyThemeBoxes*")
1627 ;; From empathy-theme-irc.h
1629 (define-function theme_irc_get_type
1630 (c-name "empathy_theme_irc_get_type")
1631 (return-type "GType")
1634 (define-function theme_irc_new
1635 (c-name "empathy_theme_irc_new")
1636 (is-constructor-of "EmpathyThemeIrc")
1637 (return-type "EmpathyThemeIrc*")
1642 ;; From empathy-theme-manager.h
1644 (define-function theme_manager_get_type
1645 (c-name "empathy_theme_manager_get_type")
1646 (return-type "GType")
1649 (define-function theme_manager_get
1650 (c-name "empathy_theme_manager_get")
1651 (return-type "EmpathyThemeManager*")
1654 (define-function theme_manager_get_themes
1655 (c-name "empathy_theme_manager_get_themes")
1656 (return-type "const-gchar**")
1659 (define-method create_view
1660 (of-object "EmpathyThemeManager")
1661 (c-name "empathy_theme_manager_create_view")
1662 (return-type "EmpathyChatView*")
1667 ;; From empathy-ui-utils.h
1669 (define-function gtk_init
1670 (c-name "empathy_gtk_init")
1671 (return-type "none")
1674 (define-function glade_get_file_simple
1675 (c-name "empathy_glade_get_file_simple")
1676 (return-type "none")
1678 '("const-gchar*" "filename")
1679 '("const-gchar*" "root")
1680 '("const-gchar*" "domain")
1681 '("const-gchar*" "first_required_widget")
1686 (define-function glade_get_file
1687 (c-name "empathy_glade_get_file")
1688 (return-type "GladeXML*")
1690 '("const-gchar*" "filename")
1691 '("const-gchar*" "root")
1692 '("const-gchar*" "domain")
1693 '("const-gchar*" "first_required_widget")
1698 (define-function glade_connect
1699 (c-name "empathy_glade_connect")
1700 (return-type "none")
1702 '("GladeXML*" "gui")
1703 '("gpointer" "user_data")
1704 '("gchar*" "first_widget")
1709 (define-function glade_setup_size_group
1710 (c-name "empathy_glade_setup_size_group")
1711 (return-type "none")
1713 '("GladeXML*" "gui")
1714 '("GtkSizeGroupMode" "mode")
1715 '("gchar*" "first_widget")
1720 (define-function icon_name_from_account
1721 (c-name "empathy_icon_name_from_account")
1722 (return-type "const-gchar*")
1724 '("McAccount*" "account")
1728 (define-function icon_name_for_presence
1729 (c-name "empathy_icon_name_for_presence")
1730 (return-type "const-gchar*")
1732 '("McPresence" "presence")
1736 (define-function icon_name_for_contact
1737 (c-name "empathy_icon_name_for_contact")
1738 (return-type "const-gchar*")
1740 '("EmpathyContact*" "contact")
1744 (define-function pixbuf_from_data
1745 (c-name "empathy_pixbuf_from_data")
1746 (return-type "GdkPixbuf*")
1749 '("gsize" "data_size")
1753 (define-function pixbuf_from_data_and_mime
1754 (c-name "empathy_pixbuf_from_data_and_mime")
1755 (return-type "GdkPixbuf*")
1758 '("gsize" "data_size")
1759 '("gchar**" "mime_type")
1763 (define-function pixbuf_from_avatar_scaled
1764 (c-name "empathy_pixbuf_from_avatar_scaled")
1765 (return-type "GdkPixbuf*")
1767 '("EmpathyAvatar*" "avatar")
1773 (define-function pixbuf_avatar_from_contact_scaled
1774 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1775 (return-type "GdkPixbuf*")
1777 '("EmpathyContact*" "contact")
1783 (define-function pixbuf_scale_down_if_necessary
1784 (c-name "empathy_pixbuf_scale_down_if_necessary")
1785 (return-type "GdkPixbuf*")
1787 '("GdkPixbuf*" "pixbuf")
1788 '("gint" "max_size")
1792 (define-function pixbuf_from_icon_name
1793 (c-name "empathy_pixbuf_from_icon_name")
1794 (return-type "GdkPixbuf*")
1796 '("const-gchar*" "icon_name")
1797 '("GtkIconSize" "icon_size")
1801 (define-function pixbuf_from_icon_name_sized
1802 (c-name "empathy_pixbuf_from_icon_name_sized")
1803 (return-type "GdkPixbuf*")
1805 '("const-gchar*" "icon_name")
1810 (define-function text_iter_forward_search
1811 (c-name "empathy_text_iter_forward_search")
1812 (return-type "gboolean")
1814 '("const-GtkTextIter*" "iter")
1815 '("const-gchar*" "str")
1816 '("GtkTextIter*" "match_start")
1817 '("GtkTextIter*" "match_end")
1818 '("const-GtkTextIter*" "limit")
1822 (define-function text_iter_backward_search
1823 (c-name "empathy_text_iter_backward_search")
1824 (return-type "gboolean")
1826 '("const-GtkTextIter*" "iter")
1827 '("const-gchar*" "str")
1828 '("GtkTextIter*" "match_start")
1829 '("GtkTextIter*" "match_end")
1830 '("const-GtkTextIter*" "limit")
1834 (define-function window_get_is_visible
1835 (c-name "empathy_window_get_is_visible")
1836 (return-type "gboolean")
1838 '("GtkWindow*" "window")
1842 (define-function window_present
1843 (c-name "empathy_window_present")
1844 (return-type "none")
1846 '("GtkWindow*" "window")
1847 '("gboolean" "steal_focus")
1851 (define-function window_iconify
1852 (c-name "empathy_window_iconify")
1853 (return-type "none")
1855 '("GtkWindow*" "window")
1856 '("GtkStatusIcon*" "status_icon")
1860 (define-function get_toplevel_window
1861 (c-name "empathy_get_toplevel_window")
1862 (return-type "GtkWindow*")
1864 '("GtkWidget*" "widget")
1868 (define-function url_show
1869 (c-name "empathy_url_show")
1870 (return-type "none")
1872 '("GtkWidget*" "parent")
1873 '("const-char*" "url")
1877 (define-function toggle_button_set_state_quietly
1878 (c-name "empathy_toggle_button_set_state_quietly")
1879 (return-type "none")
1881 '("GtkWidget*" "widget")
1882 '("GCallback" "callback")
1883 '("gpointer" "user_data")
1884 '("gboolean" "active")
1888 (define-function link_button_new
1889 (c-name "empathy_link_button_new")
1890 (is-constructor-of "EmpathyLinkButton")
1891 (return-type "GtkWidget*")
1893 '("const-gchar*" "url")
1894 '("const-gchar*" "title")
1898 (define-function send_file_with_file_chooser
1899 (c-name "empathy_send_file_with_file_chooser")
1900 (return-type "none")
1902 '("EmpathyContact*" "contact")
1906 (define-function sound_play
1907 (c-name "empathy_sound_play")
1908 (return-type "none")
1910 '("GtkWidget*" "widget")
1911 '("EmpathySound" "sound_id")
1915 (define-function sound_play_full
1916 (c-name "empathy_sound_play_full")
1917 (return-type "gboolean")
1919 '("GtkWidget*" "widget")
1920 '("EmpathySound" "sound_id")
1921 '("ca_finish_callback_t" "callback")
1922 '("gpointer" "user_data")
1927 (of-object "EmpathySound")
1928 (c-name "empathy_sound_stop")
1929 (return-type "none")