2 ; object definitions ...
3 (define-object AccountChooser
6 (c-name "EmpathyAccountChooser")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
10 (define-object CellRendererExpander
12 (parent "GtkCellRenderer")
13 (c-name "EmpathyCellRendererExpander")
14 (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
17 (define-object CellRendererText
19 (parent "GtkCellRendererText")
20 (c-name "EmpathyCellRendererText")
21 (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
27 (c-name "EmpathyChat")
28 (gtype-id "EMPATHY_TYPE_CHAT")
31 (define-object ChatView
33 (parent "GtkTextView")
34 (c-name "EmpathyChatView")
35 (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
38 (define-object ChatWindow
41 (c-name "EmpathyChatWindow")
42 (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
45 (define-object ContactListStore
47 (parent "GtkTreeStore")
48 (c-name "EmpathyContactListStore")
49 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
52 (define-object ContactListView
54 (parent "GtkTreeView")
55 (c-name "EmpathyContactListView")
56 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
59 (define-object GroupChat
61 (parent "EmpathyChat")
62 (c-name "EmpathyGroupChat")
63 (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
66 (define-object PresenceChooser
68 (parent "GtkToggleButton")
69 (c-name "EmpathyPresenceChooser")
70 (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
73 (define-object PrivateChat
75 (parent "EmpathyChat")
76 (c-name "EmpathyPrivateChat")
77 (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
80 (define-object SmileyManager
83 (c-name "EmpathySmileyManager")
84 (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
87 (define-object StatusIcon
90 (c-name "EmpathyStatusIcon")
91 (gtype-id "EMPATHY_TYPE_STATUS_ICON")
94 (define-object ThemeManager
97 (c-name "EmpathyThemeManager")
98 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
101 (define-object Spinner
104 (c-name "EphySpinner")
105 (gtype-id "EPHY_TYPE_SPINNER")
108 ;; Enumerations and flags ...
110 (define-enum ContactListStoreSort
111 (in-module "Empathy")
112 (c-name "EmpathyContactListStoreSort")
113 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
115 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
116 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
120 (define-enum ContactListStoreCol
121 (in-module "Empathy")
122 (c-name "EmpathyContactListStoreCol")
123 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
125 '("icon-status" "COL_ICON_STATUS")
126 '("pixbuf-avatar" "COL_PIXBUF_AVATAR")
127 '("pixbuf-avatar-visible" "COL_PIXBUF_AVATAR_VISIBLE")
129 '("status" "COL_STATUS")
130 '("status-visible" "COL_STATUS_VISIBLE")
131 '("contact" "COL_CONTACT")
132 '("is-group" "COL_IS_GROUP")
133 '("is-active" "COL_IS_ACTIVE")
134 '("is-online" "COL_IS_ONLINE")
135 '("is-separator" "COL_IS_SEPARATOR")
136 '("count" "COL_COUNT")
140 (define-enum ContactWidgetType
141 (in-module "Empathy")
142 (c-name "EmpathyContactWidgetType")
143 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_TYPE")
145 '("show" "CONTACT_WIDGET_TYPE_SHOW")
146 '("edit" "CONTACT_WIDGET_TYPE_EDIT")
147 '("add" "CONTACT_WIDGET_TYPE_ADD")
148 '("subscription" "CONTACT_WIDGET_TYPE_SUBSCRIPTION")
153 ;; From empathy-about-dialog.h
155 (define-function empathy_about_dialog_new
156 (c-name "empathy_about_dialog_new")
159 '("GtkWindow*" "parent")
165 ;; From empathy-account-chooser.h
167 (define-function empathy_account_chooser_get_type
168 (c-name "empathy_account_chooser_get_type")
169 (return-type "GType")
172 (define-function empathy_account_chooser_new
173 (c-name "empathy_account_chooser_new")
174 (is-constructor-of "EmpathyAccountChooser")
175 (return-type "GtkWidget*")
178 (define-method get_account
179 (of-object "EmpathyAccountChooser")
180 (c-name "empathy_account_chooser_get_account")
181 (return-type "McAccount*")
184 (define-method set_account
185 (of-object "EmpathyAccountChooser")
186 (c-name "empathy_account_chooser_set_account")
187 (return-type "gboolean")
189 '("McAccount*" "account")
193 (define-method get_has_all_option
194 (of-object "EmpathyAccountChooser")
195 (c-name "empathy_account_chooser_get_has_all_option")
196 (return-type "gboolean")
199 (define-method set_has_all_option
200 (of-object "EmpathyAccountChooser")
201 (c-name "empathy_account_chooser_set_has_all_option")
204 '("gboolean" "has_all_option")
208 (define-method set_filter
209 (of-object "EmpathyAccountChooser")
210 (c-name "empathy_account_chooser_set_filter")
213 '("EmpathyAccountChooserFilterFunc" "filter")
214 '("gpointer" "user_data")
218 (define-function empathy_account_chooser_filter_is_connected
219 (c-name "empathy_account_chooser_filter_is_connected")
220 (return-type "gboolean")
222 '("McAccount*" "account")
223 '("gpointer" "user_data")
229 ;; From empathy-accounts-dialog.h
231 (define-function empathy_accounts_dialog_show
232 (c-name "empathy_accounts_dialog_show")
233 (return-type "GtkWidget*")
235 '("GtkWindow*" "parent")
241 ;; From empathy-account-widget-generic.h
243 (define-function empathy_account_widget_generic_new
244 (c-name "empathy_account_widget_generic_new")
245 (is-constructor-of "EmpathyAccountWidgetGeneric")
246 (return-type "GtkWidget*")
248 '("McAccount*" "account")
254 ;; From empathy-account-widget-jabber.h
256 (define-function empathy_account_widget_jabber_new
257 (c-name "empathy_account_widget_jabber_new")
258 (is-constructor-of "EmpathyAccountWidgetJabber")
259 (return-type "GtkWidget*")
261 '("McAccount*" "account")
267 ;; From empathy-account-widget-msn.h
269 (define-function empathy_account_widget_msn_new
270 (c-name "empathy_account_widget_msn_new")
271 (is-constructor-of "EmpathyAccountWidgetMsn")
272 (return-type "GtkWidget*")
274 '("McAccount*" "account")
280 ;; From empathy-account-widget-salut.h
282 (define-function empathy_account_widget_salut_new
283 (c-name "empathy_account_widget_salut_new")
284 (is-constructor-of "EmpathyAccountWidgetSalut")
285 (return-type "GtkWidget*")
287 '("McAccount*" "account")
293 ;; From empathy-cell-renderer-expander.h
295 (define-function empathy_cell_renderer_expander_get_type
296 (c-name "empathy_cell_renderer_expander_get_type")
297 (return-type "GType")
300 (define-function empathy_cell_renderer_expander_new
301 (c-name "empathy_cell_renderer_expander_new")
302 (is-constructor-of "EmpathyCellRendererExpander")
303 (return-type "GtkCellRenderer*")
308 ;; From empathy-cell-renderer-text.h
310 (define-function empathy_cell_renderer_text_get_type
311 (c-name "empathy_cell_renderer_text_get_type")
312 (return-type "GType")
315 (define-function empathy_cell_renderer_text_new
316 (c-name "empathy_cell_renderer_text_new")
317 (is-constructor-of "EmpathyCellRendererText")
318 (return-type "GtkCellRenderer*")
323 ;; From empathy-chat.h
325 (define-function empathy_chat_get_type
326 (c-name "empathy_chat_get_type")
327 (return-type "GType")
330 (define-method get_view
331 (of-object "EmpathyChat")
332 (c-name "empathy_chat_get_view")
333 (return-type "EmpathyChatView*")
336 (define-method get_window
337 (of-object "EmpathyChat")
338 (c-name "empathy_chat_get_window")
339 (return-type "EmpathyChatWindow*")
342 (define-method set_window
343 (of-object "EmpathyChat")
344 (c-name "empathy_chat_set_window")
347 '("EmpathyChatWindow*" "window")
351 (define-method present
352 (of-object "EmpathyChat")
353 (c-name "empathy_chat_present")
358 (of-object "EmpathyChat")
359 (c-name "empathy_chat_clear")
363 (define-method scroll_down
364 (of-object "EmpathyChat")
365 (c-name "empathy_chat_scroll_down")
370 (of-object "EmpathyChat")
371 (c-name "empathy_chat_cut")
376 (of-object "EmpathyChat")
377 (c-name "empathy_chat_copy")
382 (of-object "EmpathyChat")
383 (c-name "empathy_chat_paste")
387 (define-method get_name
388 (of-object "EmpathyChat")
389 (c-name "empathy_chat_get_name")
390 (return-type "const-gchar*")
393 (define-method get_tooltip
394 (of-object "EmpathyChat")
395 (c-name "empathy_chat_get_tooltip")
396 (return-type "gchar*")
399 (define-method get_status_icon_name
400 (of-object "EmpathyChat")
401 (c-name "empathy_chat_get_status_icon_name")
402 (return-type "const-gchar*")
405 (define-method get_widget
406 (of-object "EmpathyChat")
407 (c-name "empathy_chat_get_widget")
408 (return-type "GtkWidget*")
411 (define-method is_group_chat
412 (of-object "EmpathyChat")
413 (c-name "empathy_chat_is_group_chat")
414 (return-type "gboolean")
417 (define-method is_connected
418 (of-object "EmpathyChat")
419 (c-name "empathy_chat_is_connected")
420 (return-type "gboolean")
423 (define-method save_geometry
424 (of-object "EmpathyChat")
425 (c-name "empathy_chat_save_geometry")
435 (define-method load_geometry
436 (of-object "EmpathyChat")
437 (c-name "empathy_chat_load_geometry")
447 (define-method set_tp_chat
448 (of-object "EmpathyChat")
449 (c-name "empathy_chat_set_tp_chat")
452 '("EmpathyTpChat*" "tp_chat")
456 (define-method get_id
457 (of-object "EmpathyChat")
458 (c-name "empathy_chat_get_id")
459 (return-type "const-gchar*")
462 (define-function empathy_chat_get_is_command
463 (c-name "empathy_chat_get_is_command")
464 (return-type "gboolean")
466 '("const-gchar*" "str")
470 (define-method correct_word
471 (of-object "EmpathyChat")
472 (c-name "empathy_chat_correct_word")
475 '("GtkTextIter" "start")
476 '("GtkTextIter" "end")
477 '("const-gchar*" "new_word")
481 (define-method should_play_sound
482 (of-object "EmpathyChat")
483 (c-name "empathy_chat_should_play_sound")
484 (return-type "gboolean")
487 (define-function empathy_chat_should_highlight_nick
488 (c-name "empathy_chat_should_highlight_nick")
489 (return-type "gboolean")
491 '("EmpathyMessage*" "message")
497 ;; From empathy-chatrooms-window.h
499 (define-function empathy_chatrooms_window_show
500 (c-name "empathy_chatrooms_window_show")
503 '("GtkWindow*" "parent")
509 ;; From empathy-chat-view.h
511 (define-function empathy_chat_view_get_type
512 (c-name "empathy_chat_view_get_type")
513 (return-type "GType")
516 (define-function empathy_chat_view_new
517 (c-name "empathy_chat_view_new")
518 (is-constructor-of "EmpathyChatView")
519 (return-type "EmpathyChatView*")
522 (define-method append_message
523 (of-object "EmpathyChatView")
524 (c-name "empathy_chat_view_append_message")
527 '("EmpathyMessage*" "msg")
531 (define-method append_event
532 (of-object "EmpathyChatView")
533 (c-name "empathy_chat_view_append_event")
536 '("const-gchar*" "str")
540 (define-method append_button
541 (of-object "EmpathyChatView")
542 (c-name "empathy_chat_view_append_button")
545 '("const-gchar*" "message")
546 '("GtkWidget*" "button1")
547 '("GtkWidget*" "button2")
551 (define-method set_margin
552 (of-object "EmpathyChatView")
553 (c-name "empathy_chat_view_set_margin")
560 (define-method scroll
561 (of-object "EmpathyChatView")
562 (c-name "empathy_chat_view_scroll")
565 '("gboolean" "allow_scrolling")
569 (define-method scroll_down
570 (of-object "EmpathyChatView")
571 (c-name "empathy_chat_view_scroll_down")
575 (define-method get_selection_bounds
576 (of-object "EmpathyChatView")
577 (c-name "empathy_chat_view_get_selection_bounds")
578 (return-type "gboolean")
580 '("GtkTextIter*" "start")
581 '("GtkTextIter*" "end")
586 (of-object "EmpathyChatView")
587 (c-name "empathy_chat_view_clear")
591 (define-method find_previous
592 (of-object "EmpathyChatView")
593 (c-name "empathy_chat_view_find_previous")
594 (return-type "gboolean")
596 '("const-gchar*" "search_criteria")
597 '("gboolean" "new_search")
601 (define-method find_next
602 (of-object "EmpathyChatView")
603 (c-name "empathy_chat_view_find_next")
604 (return-type "gboolean")
606 '("const-gchar*" "search_criteria")
607 '("gboolean" "new_search")
611 (define-method find_abilities
612 (of-object "EmpathyChatView")
613 (c-name "empathy_chat_view_find_abilities")
616 '("const-gchar*" "search_criteria")
617 '("gboolean*" "can_do_previous")
618 '("gboolean*" "can_do_next")
622 (define-method highlight
623 (of-object "EmpathyChatView")
624 (c-name "empathy_chat_view_highlight")
627 '("const-gchar*" "text")
631 (define-method copy_clipboard
632 (of-object "EmpathyChatView")
633 (c-name "empathy_chat_view_copy_clipboard")
637 (define-method set_margin
638 (of-object "EmpathyChatView")
639 (c-name "empathy_chat_view_set_margin")
646 (define-function empathy_chat_view_get_smiley_menu
647 (c-name "empathy_chat_view_get_smiley_menu")
648 (return-type "GtkWidget*")
650 '("GCallback" "callback")
651 '("gpointer" "user_data")
652 '("GtkTooltips*" "tooltips")
656 (define-method set_is_group_chat
657 (of-object "EmpathyChatView")
658 (c-name "empathy_chat_view_set_is_group_chat")
661 '("gboolean" "is_group_chat")
667 ;; From empathy-chat-window.h
669 (define-function empathy_chat_window_get_type
670 (c-name "empathy_chat_window_get_type")
671 (return-type "GType")
674 (define-function empathy_chat_window_get_default
675 (c-name "empathy_chat_window_get_default")
676 (return-type "EmpathyChatWindow*")
679 (define-function empathy_chat_window_new
680 (c-name "empathy_chat_window_new")
681 (is-constructor-of "EmpathyChatWindow")
682 (return-type "EmpathyChatWindow*")
685 (define-method get_dialog
686 (of-object "EmpathyChatWindow")
687 (c-name "empathy_chat_window_get_dialog")
688 (return-type "GtkWidget*")
691 (define-method add_chat
692 (of-object "EmpathyChatWindow")
693 (c-name "empathy_chat_window_add_chat")
696 '("EmpathyChat*" "chat")
700 (define-method remove_chat
701 (of-object "EmpathyChatWindow")
702 (c-name "empathy_chat_window_remove_chat")
705 '("EmpathyChat*" "chat")
709 (define-method move_chat
710 (of-object "EmpathyChatWindow")
711 (c-name "empathy_chat_window_move_chat")
714 '("EmpathyChatWindow*" "new_window")
715 '("EmpathyChat*" "chat")
719 (define-method switch_to_chat
720 (of-object "EmpathyChatWindow")
721 (c-name "empathy_chat_window_switch_to_chat")
724 '("EmpathyChat*" "chat")
728 (define-method has_focus
729 (of-object "EmpathyChatWindow")
730 (c-name "empathy_chat_window_has_focus")
731 (return-type "gboolean")
734 (define-function empathy_chat_window_find_chat
735 (c-name "empathy_chat_window_find_chat")
736 (return-type "EmpathyChat*")
738 '("McAccount*" "account")
739 '("const-gchar*" "id")
745 ;; From empathy-contact-dialogs.h
747 (define-function empathy_subscription_dialog_show
748 (c-name "empathy_subscription_dialog_show")
751 '("EmpathyContact*" "contact")
752 '("GtkWindow*" "parent")
756 (define-method information_dialog_show
757 (of-object "EmpathyContact")
758 (c-name "empathy_contact_information_dialog_show")
761 '("GtkWindow*" "parent")
766 (define-function empathy_new_contact_dialog_show
767 (c-name "empathy_new_contact_dialog_show")
770 '("GtkWindow*" "parent")
776 ;; From empathy-contact-groups.h
778 (define-function empathy_contact_groups_get_all
779 (c-name "empathy_contact_groups_get_all")
783 (define-function empathy_contact_group_get_expanded
784 (c-name "empathy_contact_group_get_expanded")
785 (return-type "gboolean")
787 '("const-gchar*" "group")
791 (define-function empathy_contact_group_set_expanded
792 (c-name "empathy_contact_group_set_expanded")
795 '("const-gchar*" "group")
796 '("gboolean" "expanded")
802 ;; From empathy-contact-list-store.h
804 (define-function empathy_contact_list_store_get_type
805 (c-name "empathy_contact_list_store_get_type")
806 (return-type "GType")
809 (define-method store_new
810 (of-object "EmpathyContactList")
811 (c-name "empathy_contact_list_store_new")
812 (return-type "EmpathyContactListStore*")
815 (define-method get_list_iface
816 (of-object "EmpathyContactListStore")
817 (c-name "empathy_contact_list_store_get_list_iface")
818 (return-type "EmpathyContactList*")
821 (define-method get_show_offline
822 (of-object "EmpathyContactListStore")
823 (c-name "empathy_contact_list_store_get_show_offline")
824 (return-type "gboolean")
827 (define-method set_show_offline
828 (of-object "EmpathyContactListStore")
829 (c-name "empathy_contact_list_store_set_show_offline")
832 '("gboolean" "show_offline")
836 (define-method get_show_avatars
837 (of-object "EmpathyContactListStore")
838 (c-name "empathy_contact_list_store_get_show_avatars")
839 (return-type "gboolean")
842 (define-method set_show_avatars
843 (of-object "EmpathyContactListStore")
844 (c-name "empathy_contact_list_store_set_show_avatars")
847 '("gboolean" "show_avatars")
851 (define-method get_is_compact
852 (of-object "EmpathyContactListStore")
853 (c-name "empathy_contact_list_store_get_is_compact")
854 (return-type "gboolean")
857 (define-method set_is_compact
858 (of-object "EmpathyContactListStore")
859 (c-name "empathy_contact_list_store_set_is_compact")
862 '("gboolean" "is_compact")
866 (define-method get_sort_criterium
867 (of-object "EmpathyContactListStore")
868 (c-name "empathy_contact_list_store_get_sort_criterium")
869 (return-type "EmpathyContactListStoreSort")
872 (define-method set_sort_criterium
873 (of-object "EmpathyContactListStore")
874 (c-name "empathy_contact_list_store_set_sort_criterium")
877 '("EmpathyContactListStoreSort" "sort_criterium")
881 (define-function empathy_contact_list_store_row_separator_func
882 (c-name "empathy_contact_list_store_row_separator_func")
883 (return-type "gboolean")
885 '("GtkTreeModel*" "model")
886 '("GtkTreeIter*" "iter")
891 (define-function empathy_contact_list_store_get_parent_group
892 (c-name "empathy_contact_list_store_get_parent_group")
893 (return-type "gchar*")
895 '("GtkTreeModel*" "model")
896 '("GtkTreePath*" "path")
897 '("gboolean*" "path_is_group")
901 (define-function empathy_contact_list_store_search_equal_func
902 (c-name "empathy_contact_list_store_search_equal_func")
903 (return-type "gboolean")
905 '("GtkTreeModel*" "model")
907 '("const-gchar*" "key")
908 '("GtkTreeIter*" "iter")
909 '("gpointer" "search_data")
915 ;; From empathy-contact-list-view.h
917 (define-function empathy_contact_list_view_get_type
918 (c-name "empathy_contact_list_view_get_type")
919 (return-type "GType")
922 (define-function empathy_contact_list_view_new
923 (c-name "empathy_contact_list_view_new")
924 (is-constructor-of "EmpathyContactListView")
925 (return-type "EmpathyContactListView*")
927 '("EmpathyContactListStore*" "store")
931 (define-method get_selected
932 (of-object "EmpathyContactListView")
933 (c-name "empathy_contact_list_view_get_selected")
934 (return-type "EmpathyContact*")
937 (define-method get_selected_group
938 (of-object "EmpathyContactListView")
939 (c-name "empathy_contact_list_view_get_selected_group")
940 (return-type "gchar*")
943 (define-method get_contact_menu
944 (of-object "EmpathyContactListView")
945 (c-name "empathy_contact_list_view_get_contact_menu")
946 (return-type "GtkWidget*")
948 '("EmpathyContact*" "contact")
952 (define-method get_group_menu
953 (of-object "EmpathyContactListView")
954 (c-name "empathy_contact_list_view_get_group_menu")
955 (return-type "GtkWidget*")
960 ;; From empathy-contact-widget.h
962 (define-method widget_new
963 (of-object "EmpathyContact")
964 (c-name "empathy_contact_widget_new")
965 (return-type "GtkWidget*")
967 '("EmpathyContactWidgetType" "type")
971 (define-function empathy_contact_widget_get_contact
972 (c-name "empathy_contact_widget_get_contact")
973 (return-type "EmpathyContact*")
975 '("GtkWidget*" "widget")
981 ;; From empathy-geometry.h
983 (define-function empathy_geometry_save
984 (c-name "empathy_geometry_save")
987 '("const-gchar*" "name")
995 (define-function empathy_geometry_load
996 (c-name "empathy_geometry_load")
999 '("const-gchar*" "name")
1009 ;; From empathy-group-chat.h
1011 (define-function empathy_group_chat_get_type
1012 (c-name "empathy_group_chat_get_type")
1013 (return-type "GType")
1016 (define-function empathy_group_chat_new
1017 (c-name "empathy_group_chat_new")
1018 (is-constructor-of "EmpathyGroupChat")
1019 (return-type "EmpathyGroupChat*")
1021 '("McAccount*" "account")
1022 '("TpChan*" "tp_chan")
1026 (define-method get_show_contacts
1027 (of-object "EmpathyGroupChat")
1028 (c-name "empathy_group_chat_get_show_contacts")
1029 (return-type "gboolean")
1032 (define-method set_show_contacts
1033 (of-object "EmpathyGroupChat")
1034 (c-name "empathy_group_chat_set_show_contacts")
1035 (return-type "none")
1037 '("gboolean" "show")
1041 (define-method set_topic
1042 (of-object "EmpathyGroupChat")
1043 (c-name "empathy_group_chat_set_topic")
1044 (return-type "none")
1049 ;; From empathy-images.h
1053 ;; From empathy-log-window.h
1055 (define-function empathy_log_window_show
1056 (c-name "empathy_log_window_show")
1057 (return-type "none")
1059 '("McAccount*" "account")
1060 '("const-gchar*" "chat_id")
1061 '("gboolean" "chatroom")
1062 '("GtkWindow*" "parent")
1068 ;; From empathy-main-window.h
1070 (define-function empathy_main_window_show
1071 (c-name "empathy_main_window_show")
1072 (return-type "GtkWidget*")
1077 ;; From empathy-new-chatroom-dialog.h
1079 (define-function empathy_new_chatroom_dialog_show
1080 (c-name "empathy_new_chatroom_dialog_show")
1081 (return-type "none")
1083 '("GtkWindow*" "parent")
1089 ;; From empathy-preferences.h
1091 (define-function empathy_preferences_show
1092 (c-name "empathy_preferences_show")
1093 (return-type "GtkWidget*")
1095 '("GtkWindow*" "parent")
1101 ;; From empathy-presence-chooser.h
1103 (define-function empathy_presence_chooser_get_type
1104 (c-name "empathy_presence_chooser_get_type")
1105 (return-type "GType")
1108 (define-function empathy_presence_chooser_new
1109 (c-name "empathy_presence_chooser_new")
1110 (is-constructor-of "EmpathyPresenceChooser")
1111 (return-type "GtkWidget*")
1114 (define-function empathy_presence_chooser_create_menu
1115 (c-name "empathy_presence_chooser_create_menu")
1116 (return-type "GtkWidget*")
1121 ;; From empathy-private-chat.h
1123 (define-function empathy_private_chat_get_type
1124 (c-name "empathy_private_chat_get_type")
1125 (return-type "GType")
1128 (define-function empathy_private_chat_new
1129 (c-name "empathy_private_chat_new")
1130 (is-constructor-of "EmpathyPrivateChat")
1131 (return-type "EmpathyPrivateChat*")
1133 '("McAccount*" "account")
1134 '("TpChan*" "tp_chan")
1138 (define-method get_contact
1139 (of-object "EmpathyPrivateChat")
1140 (c-name "empathy_private_chat_get_contact")
1141 (return-type "EmpathyContact*")
1146 ;; From empathy-profile-chooser.h
1148 (define-function empathy_profile_chooser_new
1149 (c-name "empathy_profile_chooser_new")
1150 (is-constructor-of "EmpathyProfileChooser")
1151 (return-type "GtkWidget*")
1154 (define-function empathy_profile_chooser_get_selected
1155 (c-name "empathy_profile_chooser_get_selected")
1156 (return-type "McProfile*")
1158 '("GtkWidget*" "widget")
1164 ;; From empathy-smiley-manager.h
1166 (define-function empathy_smiley_manager_get_type
1167 (c-name "empathy_smiley_manager_get_type")
1168 (return-type "GType")
1171 (define-function empathy_smiley_manager_new
1172 (c-name "empathy_smiley_manager_new")
1173 (is-constructor-of "EmpathySmileyManager")
1174 (return-type "EmpathySmileyManager*")
1178 (of-object "EmpathySmileyManager")
1179 (c-name "empathy_smiley_manager_load")
1180 (return-type "none")
1184 (of-object "EmpathySmileyManager")
1185 (c-name "empathy_smiley_manager_add")
1186 (return-type "none")
1188 '("const-gchar*" "icon_name")
1189 '("const-gchar*" "first_str")
1194 (define-method add_from_pixbuf
1195 (of-object "EmpathySmileyManager")
1196 (c-name "empathy_smiley_manager_add_from_pixbuf")
1197 (return-type "none")
1199 '("GdkPixbuf*" "smiley")
1200 '("const-gchar*" "first_str")
1205 (define-method get_all
1206 (of-object "EmpathySmileyManager")
1207 (c-name "empathy_smiley_manager_get_all")
1208 (return-type "GSList*")
1211 (define-method parse
1212 (of-object "EmpathySmileyManager")
1213 (c-name "empathy_smiley_manager_parse")
1214 (return-type "GSList*")
1216 '("const-gchar*" "text")
1221 (of-object "EmpathySmiley")
1222 (c-name "empathy_smiley_free")
1223 (return-type "none")
1228 ;; From empathy-spell-dialog.h
1230 (define-function empathy_spell_dialog_show
1231 (c-name "empathy_spell_dialog_show")
1232 (return-type "none")
1234 '("EmpathyChat*" "chat")
1235 '("GtkTextIter" "start")
1236 '("GtkTextIter" "end")
1237 '("const-gchar*" "word")
1243 ;; From empathy-spell.h
1245 (define-function empathy_spell_supported
1246 (c-name "empathy_spell_supported")
1247 (return-type "gboolean")
1250 (define-function empathy_spell_get_language_name
1251 (c-name "empathy_spell_get_language_name")
1252 (return-type "const-gchar*")
1254 '("const-gchar*" "code")
1258 (define-function empathy_spell_get_language_codes
1259 (c-name "empathy_spell_get_language_codes")
1260 (return-type "GList*")
1263 (define-function empathy_spell_free_language_codes
1264 (c-name "empathy_spell_free_language_codes")
1265 (return-type "none")
1271 (define-function empathy_spell_check
1272 (c-name "empathy_spell_check")
1273 (return-type "gboolean")
1275 '("const-gchar*" "word")
1279 (define-function empathy_spell_get_suggestions
1280 (c-name "empathy_spell_get_suggestions")
1281 (return-type "GList*")
1283 '("const-gchar*" "word")
1287 (define-function empathy_spell_free_suggestions
1288 (c-name "empathy_spell_free_suggestions")
1289 (return-type "none")
1291 '("GList*" "suggestions")
1297 ;; From empathy-status-icon.h
1299 (define-function empathy_status_icon_get_type
1300 (c-name "empathy_status_icon_get_type")
1301 (return-type "GType")
1304 (define-function empathy_status_icon_new
1305 (c-name "empathy_status_icon_new")
1306 (is-constructor-of "EmpathyStatusIcon")
1307 (return-type "EmpathyStatusIcon*")
1309 '("GtkWindow*" "window")
1315 ;; From empathy-status-presets.h
1317 (define-function empathy_status_presets_get_all
1318 (c-name "empathy_status_presets_get_all")
1319 (return-type "none")
1322 (define-function empathy_status_presets_get
1323 (c-name "empathy_status_presets_get")
1324 (return-type "GList*")
1326 '("McPresence" "state")
1327 '("gint" "max_number")
1331 (define-function empathy_status_presets_set_last
1332 (c-name "empathy_status_presets_set_last")
1333 (return-type "none")
1335 '("McPresence" "state")
1336 '("const-gchar*" "status")
1340 (define-function empathy_status_presets_remove
1341 (c-name "empathy_status_presets_remove")
1342 (return-type "none")
1344 '("McPresence" "state")
1345 '("const-gchar*" "status")
1349 (define-function empathy_status_presets_reset
1350 (c-name "empathy_status_presets_reset")
1351 (return-type "none")
1354 (define-function empathy_status_presets_get_default_state
1355 (c-name "empathy_status_presets_get_default_state")
1356 (return-type "McPresence")
1359 (define-function empathy_status_presets_get_default_status
1360 (c-name "empathy_status_presets_get_default_status")
1361 (return-type "const-gchar*")
1364 (define-function empathy_status_presets_set_default
1365 (c-name "empathy_status_presets_set_default")
1366 (return-type "none")
1368 '("McPresence" "state")
1369 '("const-gchar*" "status")
1373 (define-function empathy_status_presets_clear_default
1374 (c-name "empathy_status_presets_clear_default")
1375 (return-type "none")
1380 ;; From empathy-theme-manager.h
1382 (define-function empathy_theme_manager_get_type
1383 (c-name "empathy_theme_manager_get_type")
1384 (return-type "GType")
1387 (define-function empathy_theme_manager_get
1388 (c-name "empathy_theme_manager_get")
1389 (return-type "EmpathyThemeManager*")
1392 (define-function empathy_theme_manager_get_themes
1393 (c-name "empathy_theme_manager_get_themes")
1394 (return-type "const-gchar**")
1397 (define-method apply
1398 (of-object "EmpathyThemeManager")
1399 (c-name "empathy_theme_manager_apply")
1400 (return-type "none")
1402 '("EmpathyChatView*" "view")
1403 '("const-gchar*" "theme")
1407 (define-method apply_saved
1408 (of-object "EmpathyThemeManager")
1409 (c-name "empathy_theme_manager_apply_saved")
1410 (return-type "none")
1412 '("EmpathyChatView*" "view")
1416 (define-method update_show_avatars
1417 (of-object "EmpathyThemeManager")
1418 (c-name "empathy_theme_manager_update_show_avatars")
1419 (return-type "none")
1421 '("EmpathyChatView*" "view")
1422 '("gboolean" "show")
1428 ;; From empathy-ui-utils.h
1430 (define-function empathy_glade_get_file_simple
1431 (c-name "empathy_glade_get_file_simple")
1432 (return-type "none")
1434 '("const-gchar*" "filename")
1435 '("const-gchar*" "root")
1436 '("const-gchar*" "domain")
1437 '("const-gchar*" "first_required_widget")
1442 (define-function empathy_glade_get_file
1443 (c-name "empathy_glade_get_file")
1444 (return-type "GladeXML*")
1446 '("const-gchar*" "filename")
1447 '("const-gchar*" "root")
1448 '("const-gchar*" "domain")
1449 '("const-gchar*" "first_required_widget")
1454 (define-function empathy_glade_connect
1455 (c-name "empathy_glade_connect")
1456 (return-type "none")
1458 '("GladeXML*" "gui")
1459 '("gpointer" "user_data")
1460 '("gchar*" "first_widget")
1465 (define-function empathy_glade_setup_size_group
1466 (c-name "empathy_glade_setup_size_group")
1467 (return-type "none")
1469 '("GladeXML*" "gui")
1470 '("GtkSizeGroupMode" "mode")
1471 '("gchar*" "first_widget")
1476 (define-function empathy_pixbuf_from_icon_name
1477 (c-name "empathy_pixbuf_from_icon_name")
1478 (return-type "GdkPixbuf*")
1480 '("const-gchar*" "icon_name")
1481 '("GtkIconSize" "icon_size")
1485 (define-function empathy_icon_name_from_account
1486 (c-name "empathy_icon_name_from_account")
1487 (return-type "const-gchar*")
1489 '("McAccount*" "account")
1493 (define-function empathy_icon_name_for_presence_state
1494 (c-name "empathy_icon_name_for_presence_state")
1495 (return-type "const-gchar*")
1497 '("McPresence" "state")
1501 (define-function empathy_icon_name_for_presence
1502 (c-name "empathy_icon_name_for_presence")
1503 (return-type "const-gchar*")
1505 '("EmpathyPresence*" "presence")
1509 (define-function empathy_icon_name_for_contact
1510 (c-name "empathy_icon_name_for_contact")
1511 (return-type "const-gchar*")
1513 '("EmpathyContact*" "contact")
1517 (define-function empathy_pixbuf_from_avatar_scaled
1518 (c-name "empathy_pixbuf_from_avatar_scaled")
1519 (return-type "GdkPixbuf*")
1521 '("EmpathyAvatar*" "avatar")
1527 (define-function empathy_pixbuf_avatar_from_contact_scaled
1528 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1529 (return-type "GdkPixbuf*")
1531 '("EmpathyContact*" "contact")
1537 (define-function empathy_text_iter_forward_search
1538 (c-name "empathy_text_iter_forward_search")
1539 (return-type "gboolean")
1541 '("const-GtkTextIter*" "iter")
1542 '("const-gchar*" "str")
1543 '("GtkTextIter*" "match_start")
1544 '("GtkTextIter*" "match_end")
1545 '("const-GtkTextIter*" "limit")
1549 (define-function empathy_text_iter_backward_search
1550 (c-name "empathy_text_iter_backward_search")
1551 (return-type "gboolean")
1553 '("const-GtkTextIter*" "iter")
1554 '("const-gchar*" "str")
1555 '("GtkTextIter*" "match_start")
1556 '("GtkTextIter*" "match_end")
1557 '("const-GtkTextIter*" "limit")
1561 (define-function empathy_window_get_is_visible
1562 (c-name "empathy_window_get_is_visible")
1563 (return-type "gboolean")
1565 '("GtkWindow*" "window")
1569 (define-function empathy_window_present
1570 (c-name "empathy_window_present")
1571 (return-type "none")
1573 '("GtkWindow*" "window")
1574 '("gboolean" "steal_focus")
1578 (define-function empathy_window_iconify
1579 (c-name "empathy_window_iconify")
1580 (return-type "none")
1582 '("GtkWindow*" "window")
1583 '("GtkStatusIcon*" "status_icon")
1587 (define-function empathy_get_toplevel_window
1588 (c-name "empathy_get_toplevel_window")
1589 (return-type "GtkWindow*")
1591 '("GtkWidget*" "widget")
1595 (define-function empathy_url_show
1596 (c-name "empathy_url_show")
1597 (return-type "none")
1599 '("const-char*" "url")
1603 (define-function empathy_toggle_button_set_state_quietly
1604 (c-name "empathy_toggle_button_set_state_quietly")
1605 (return-type "none")
1607 '("GtkWidget*" "widget")
1608 '("GCallback" "callback")
1609 '("gpointer" "user_data")
1610 '("gboolean" "active")
1614 (define-function empathy_link_button_new
1615 (c-name "empathy_link_button_new")
1616 (is-constructor-of "EmpathyLinkButton")
1617 (return-type "GtkWidget*")
1619 '("const-gchar*" "url")
1620 '("const-gchar*" "title")
1626 ;; From ephy-spinner.h
1628 (define-function ephy_spinner_get_type
1629 (c-name "ephy_spinner_get_type")
1630 (return-type "GType")
1633 (define-function ephy_spinner_new
1634 (c-name "ephy_spinner_new")
1635 (is-constructor-of "EphySpinner")
1636 (return-type "GtkWidget*")
1639 (define-method start
1640 (of-object "EphySpinner")
1641 (c-name "ephy_spinner_start")
1642 (return-type "none")
1646 (of-object "EphySpinner")
1647 (c-name "ephy_spinner_stop")
1648 (return-type "none")
1651 (define-method set_size
1652 (of-object "EphySpinner")
1653 (c-name "ephy_spinner_set_size")
1654 (return-type "none")
1656 '("GtkIconSize" "size")