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 StatusIcon
83 (c-name "EmpathyStatusIcon")
84 (gtype-id "EMPATHY_TYPE_STATUS_ICON")
87 (define-object ThemeManager
90 (c-name "EmpathyThemeManager")
91 (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
94 (define-object Spinner
97 (c-name "EphySpinner")
98 (gtype-id "EPHY_TYPE_SPINNER")
101 ;; Enumerations and flags ...
104 (in-module "Empathy")
105 (c-name "EmpathySmiley")
106 (gtype-id "EMPATHY_TYPE_SMILEY")
108 '("normal" "EMPATHY_SMILEY_NORMAL")
109 '("wink" "EMPATHY_SMILEY_WINK")
110 '("bigeye" "EMPATHY_SMILEY_BIGEYE")
111 '("nose" "EMPATHY_SMILEY_NOSE")
112 '("cry" "EMPATHY_SMILEY_CRY")
113 '("sad" "EMPATHY_SMILEY_SAD")
114 '("sceptical" "EMPATHY_SMILEY_SCEPTICAL")
115 '("bigsmile" "EMPATHY_SMILEY_BIGSMILE")
116 '("indifferent" "EMPATHY_SMILEY_INDIFFERENT")
117 '("tounge" "EMPATHY_SMILEY_TOUNGE")
118 '("shocked" "EMPATHY_SMILEY_SHOCKED")
119 '("cool" "EMPATHY_SMILEY_COOL")
120 '("sorry" "EMPATHY_SMILEY_SORRY")
121 '("kiss" "EMPATHY_SMILEY_KISS")
122 '("shutup" "EMPATHY_SMILEY_SHUTUP")
123 '("yawn" "EMPATHY_SMILEY_YAWN")
124 '("confused" "EMPATHY_SMILEY_CONFUSED")
125 '("angel" "EMPATHY_SMILEY_ANGEL")
126 '("oooh" "EMPATHY_SMILEY_OOOH")
127 '("lookaway" "EMPATHY_SMILEY_LOOKAWAY")
128 '("blush" "EMPATHY_SMILEY_BLUSH")
129 '("coolbigsmile" "EMPATHY_SMILEY_COOLBIGSMILE")
130 '("angry" "EMPATHY_SMILEY_ANGRY")
131 '("boss" "EMPATHY_SMILEY_BOSS")
132 '("monkey" "EMPATHY_SMILEY_MONKEY")
133 '("silly" "EMPATHY_SMILEY_SILLY")
134 '("sick" "EMPATHY_SMILEY_SICK")
135 '("count" "EMPATHY_SMILEY_COUNT")
139 (define-enum ContactListStoreSort
140 (in-module "Empathy")
141 (c-name "EmpathyContactListStoreSort")
142 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
144 '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
145 '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
149 (define-enum ContactListStoreCol
150 (in-module "Empathy")
151 (c-name "EmpathyContactListStoreCol")
152 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
154 '("icon-status" "COL_ICON_STATUS")
155 '("pixbuf-avatar" "COL_PIXBUF_AVATAR")
156 '("pixbuf-avatar-visible" "COL_PIXBUF_AVATAR_VISIBLE")
158 '("status" "COL_STATUS")
159 '("status-visible" "COL_STATUS_VISIBLE")
160 '("contact" "COL_CONTACT")
161 '("is-group" "COL_IS_GROUP")
162 '("is-active" "COL_IS_ACTIVE")
163 '("is-online" "COL_IS_ONLINE")
164 '("is-separator" "COL_IS_SEPARATOR")
165 '("count" "COL_COUNT")
169 (define-enum ContactWidgetType
170 (in-module "Empathy")
171 (c-name "EmpathyContactWidgetType")
172 (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_TYPE")
174 '("show" "CONTACT_WIDGET_TYPE_SHOW")
175 '("edit" "CONTACT_WIDGET_TYPE_EDIT")
176 '("add" "CONTACT_WIDGET_TYPE_ADD")
177 '("subscription" "CONTACT_WIDGET_TYPE_SUBSCRIPTION")
182 ;; From empathy-about-dialog.h
184 (define-function empathy_about_dialog_new
185 (c-name "empathy_about_dialog_new")
188 '("GtkWindow*" "parent")
194 ;; From empathy-account-chooser.h
196 (define-function empathy_account_chooser_get_type
197 (c-name "empathy_account_chooser_get_type")
198 (return-type "GType")
201 (define-function empathy_account_chooser_new
202 (c-name "empathy_account_chooser_new")
203 (is-constructor-of "EmpathyAccountChooser")
204 (return-type "GtkWidget*")
207 (define-method get_account
208 (of-object "EmpathyAccountChooser")
209 (c-name "empathy_account_chooser_get_account")
210 (return-type "McAccount*")
213 (define-method set_account
214 (of-object "EmpathyAccountChooser")
215 (c-name "empathy_account_chooser_set_account")
216 (return-type "gboolean")
218 '("McAccount*" "account")
222 (define-method get_has_all_option
223 (of-object "EmpathyAccountChooser")
224 (c-name "empathy_account_chooser_get_has_all_option")
225 (return-type "gboolean")
228 (define-method set_has_all_option
229 (of-object "EmpathyAccountChooser")
230 (c-name "empathy_account_chooser_set_has_all_option")
233 '("gboolean" "has_all_option")
237 (define-method set_filter
238 (of-object "EmpathyAccountChooser")
239 (c-name "empathy_account_chooser_set_filter")
242 '("EmpathyAccountChooserFilterFunc" "filter")
243 '("gpointer" "user_data")
247 (define-function empathy_account_chooser_filter_is_connected
248 (c-name "empathy_account_chooser_filter_is_connected")
249 (return-type "gboolean")
251 '("McAccount*" "account")
252 '("gpointer" "user_data")
258 ;; From empathy-accounts-dialog.h
260 (define-function empathy_accounts_dialog_show
261 (c-name "empathy_accounts_dialog_show")
262 (return-type "GtkWidget*")
264 '("GtkWindow*" "parent")
270 ;; From empathy-account-widget-generic.h
272 (define-function empathy_account_widget_generic_new
273 (c-name "empathy_account_widget_generic_new")
274 (is-constructor-of "EmpathyAccountWidgetGeneric")
275 (return-type "GtkWidget*")
277 '("McAccount*" "account")
283 ;; From empathy-account-widget-jabber.h
285 (define-function empathy_account_widget_jabber_new
286 (c-name "empathy_account_widget_jabber_new")
287 (is-constructor-of "EmpathyAccountWidgetJabber")
288 (return-type "GtkWidget*")
290 '("McAccount*" "account")
296 ;; From empathy-account-widget-msn.h
298 (define-function empathy_account_widget_msn_new
299 (c-name "empathy_account_widget_msn_new")
300 (is-constructor-of "EmpathyAccountWidgetMsn")
301 (return-type "GtkWidget*")
303 '("McAccount*" "account")
309 ;; From empathy-account-widget-salut.h
311 (define-function empathy_account_widget_salut_new
312 (c-name "empathy_account_widget_salut_new")
313 (is-constructor-of "EmpathyAccountWidgetSalut")
314 (return-type "GtkWidget*")
316 '("McAccount*" "account")
322 ;; From empathy-cell-renderer-expander.h
324 (define-function empathy_cell_renderer_expander_get_type
325 (c-name "empathy_cell_renderer_expander_get_type")
326 (return-type "GType")
329 (define-function empathy_cell_renderer_expander_new
330 (c-name "empathy_cell_renderer_expander_new")
331 (is-constructor-of "EmpathyCellRendererExpander")
332 (return-type "GtkCellRenderer*")
337 ;; From empathy-cell-renderer-text.h
339 (define-function empathy_cell_renderer_text_get_type
340 (c-name "empathy_cell_renderer_text_get_type")
341 (return-type "GType")
344 (define-function empathy_cell_renderer_text_new
345 (c-name "empathy_cell_renderer_text_new")
346 (is-constructor-of "EmpathyCellRendererText")
347 (return-type "GtkCellRenderer*")
352 ;; From empathy-chat.h
354 (define-function empathy_chat_get_type
355 (c-name "empathy_chat_get_type")
356 (return-type "GType")
359 (define-method get_view
360 (of-object "EmpathyChat")
361 (c-name "empathy_chat_get_view")
362 (return-type "EmpathyChatView*")
365 (define-method get_window
366 (of-object "EmpathyChat")
367 (c-name "empathy_chat_get_window")
368 (return-type "EmpathyChatWindow*")
371 (define-method set_window
372 (of-object "EmpathyChat")
373 (c-name "empathy_chat_set_window")
376 '("EmpathyChatWindow*" "window")
380 (define-method present
381 (of-object "EmpathyChat")
382 (c-name "empathy_chat_present")
387 (of-object "EmpathyChat")
388 (c-name "empathy_chat_clear")
392 (define-method scroll_down
393 (of-object "EmpathyChat")
394 (c-name "empathy_chat_scroll_down")
399 (of-object "EmpathyChat")
400 (c-name "empathy_chat_cut")
405 (of-object "EmpathyChat")
406 (c-name "empathy_chat_copy")
411 (of-object "EmpathyChat")
412 (c-name "empathy_chat_paste")
416 (define-method get_name
417 (of-object "EmpathyChat")
418 (c-name "empathy_chat_get_name")
419 (return-type "const-gchar*")
422 (define-method get_tooltip
423 (of-object "EmpathyChat")
424 (c-name "empathy_chat_get_tooltip")
425 (return-type "gchar*")
428 (define-method get_status_icon_name
429 (of-object "EmpathyChat")
430 (c-name "empathy_chat_get_status_icon_name")
431 (return-type "const-gchar*")
434 (define-method get_widget
435 (of-object "EmpathyChat")
436 (c-name "empathy_chat_get_widget")
437 (return-type "GtkWidget*")
440 (define-method is_group_chat
441 (of-object "EmpathyChat")
442 (c-name "empathy_chat_is_group_chat")
443 (return-type "gboolean")
446 (define-method is_connected
447 (of-object "EmpathyChat")
448 (c-name "empathy_chat_is_connected")
449 (return-type "gboolean")
452 (define-method save_geometry
453 (of-object "EmpathyChat")
454 (c-name "empathy_chat_save_geometry")
464 (define-method load_geometry
465 (of-object "EmpathyChat")
466 (c-name "empathy_chat_load_geometry")
476 (define-method set_tp_chat
477 (of-object "EmpathyChat")
478 (c-name "empathy_chat_set_tp_chat")
481 '("EmpathyTpChat*" "tp_chat")
485 (define-method get_id
486 (of-object "EmpathyChat")
487 (c-name "empathy_chat_get_id")
488 (return-type "const-gchar*")
491 (define-function empathy_chat_get_is_command
492 (c-name "empathy_chat_get_is_command")
493 (return-type "gboolean")
495 '("const-gchar*" "str")
499 (define-method correct_word
500 (of-object "EmpathyChat")
501 (c-name "empathy_chat_correct_word")
504 '("GtkTextIter" "start")
505 '("GtkTextIter" "end")
506 '("const-gchar*" "new_word")
510 (define-method should_play_sound
511 (of-object "EmpathyChat")
512 (c-name "empathy_chat_should_play_sound")
513 (return-type "gboolean")
516 (define-function empathy_chat_should_highlight_nick
517 (c-name "empathy_chat_should_highlight_nick")
518 (return-type "gboolean")
520 '("EmpathyMessage*" "message")
526 ;; From empathy-chatrooms-window.h
528 (define-function empathy_chatrooms_window_show
529 (c-name "empathy_chatrooms_window_show")
532 '("GtkWindow*" "parent")
538 ;; From empathy-chat-view.h
540 (define-function empathy_chat_view_get_type
541 (c-name "empathy_chat_view_get_type")
542 (return-type "GType")
545 (define-function empathy_chat_view_new
546 (c-name "empathy_chat_view_new")
547 (is-constructor-of "EmpathyChatView")
548 (return-type "EmpathyChatView*")
551 (define-method append_message
552 (of-object "EmpathyChatView")
553 (c-name "empathy_chat_view_append_message")
556 '("EmpathyMessage*" "msg")
560 (define-method append_event
561 (of-object "EmpathyChatView")
562 (c-name "empathy_chat_view_append_event")
565 '("const-gchar*" "str")
569 (define-method append_button
570 (of-object "EmpathyChatView")
571 (c-name "empathy_chat_view_append_button")
574 '("const-gchar*" "message")
575 '("GtkWidget*" "button1")
576 '("GtkWidget*" "button2")
580 (define-method set_margin
581 (of-object "EmpathyChatView")
582 (c-name "empathy_chat_view_set_margin")
589 (define-method scroll
590 (of-object "EmpathyChatView")
591 (c-name "empathy_chat_view_scroll")
594 '("gboolean" "allow_scrolling")
598 (define-method scroll_down
599 (of-object "EmpathyChatView")
600 (c-name "empathy_chat_view_scroll_down")
604 (define-method get_selection_bounds
605 (of-object "EmpathyChatView")
606 (c-name "empathy_chat_view_get_selection_bounds")
607 (return-type "gboolean")
609 '("GtkTextIter*" "start")
610 '("GtkTextIter*" "end")
615 (of-object "EmpathyChatView")
616 (c-name "empathy_chat_view_clear")
620 (define-method find_previous
621 (of-object "EmpathyChatView")
622 (c-name "empathy_chat_view_find_previous")
623 (return-type "gboolean")
625 '("const-gchar*" "search_criteria")
626 '("gboolean" "new_search")
630 (define-method find_next
631 (of-object "EmpathyChatView")
632 (c-name "empathy_chat_view_find_next")
633 (return-type "gboolean")
635 '("const-gchar*" "search_criteria")
636 '("gboolean" "new_search")
640 (define-method find_abilities
641 (of-object "EmpathyChatView")
642 (c-name "empathy_chat_view_find_abilities")
645 '("const-gchar*" "search_criteria")
646 '("gboolean*" "can_do_previous")
647 '("gboolean*" "can_do_next")
651 (define-method highlight
652 (of-object "EmpathyChatView")
653 (c-name "empathy_chat_view_highlight")
656 '("const-gchar*" "text")
660 (define-method copy_clipboard
661 (of-object "EmpathyChatView")
662 (c-name "empathy_chat_view_copy_clipboard")
666 (define-method get_irc_style
667 (of-object "EmpathyChatView")
668 (c-name "empathy_chat_view_get_irc_style")
669 (return-type "gboolean")
672 (define-method set_irc_style
673 (of-object "EmpathyChatView")
674 (c-name "empathy_chat_view_set_irc_style")
677 '("gboolean" "irc_style")
681 (define-method set_margin
682 (of-object "EmpathyChatView")
683 (c-name "empathy_chat_view_set_margin")
690 (define-function empathy_chat_view_get_smiley_image
691 (c-name "empathy_chat_view_get_smiley_image")
692 (return-type "GdkPixbuf*")
694 '("EmpathySmiley" "smiley")
698 (define-function empathy_chat_view_get_smiley_text
699 (c-name "empathy_chat_view_get_smiley_text")
700 (return-type "const-gchar*")
702 '("EmpathySmiley" "smiley")
706 (define-function empathy_chat_view_get_smiley_menu
707 (c-name "empathy_chat_view_get_smiley_menu")
708 (return-type "GtkWidget*")
710 '("GCallback" "callback")
711 '("gpointer" "user_data")
712 '("GtkTooltips*" "tooltips")
716 (define-method set_is_group_chat
717 (of-object "EmpathyChatView")
718 (c-name "empathy_chat_view_set_is_group_chat")
721 '("gboolean" "is_group_chat")
727 ;; From empathy-chat-window.h
729 (define-function empathy_chat_window_get_type
730 (c-name "empathy_chat_window_get_type")
731 (return-type "GType")
734 (define-function empathy_chat_window_get_default
735 (c-name "empathy_chat_window_get_default")
736 (return-type "EmpathyChatWindow*")
739 (define-function empathy_chat_window_new
740 (c-name "empathy_chat_window_new")
741 (is-constructor-of "EmpathyChatWindow")
742 (return-type "EmpathyChatWindow*")
745 (define-method get_dialog
746 (of-object "EmpathyChatWindow")
747 (c-name "empathy_chat_window_get_dialog")
748 (return-type "GtkWidget*")
751 (define-method add_chat
752 (of-object "EmpathyChatWindow")
753 (c-name "empathy_chat_window_add_chat")
756 '("EmpathyChat*" "chat")
760 (define-method remove_chat
761 (of-object "EmpathyChatWindow")
762 (c-name "empathy_chat_window_remove_chat")
765 '("EmpathyChat*" "chat")
769 (define-method move_chat
770 (of-object "EmpathyChatWindow")
771 (c-name "empathy_chat_window_move_chat")
774 '("EmpathyChatWindow*" "new_window")
775 '("EmpathyChat*" "chat")
779 (define-method switch_to_chat
780 (of-object "EmpathyChatWindow")
781 (c-name "empathy_chat_window_switch_to_chat")
784 '("EmpathyChat*" "chat")
788 (define-method has_focus
789 (of-object "EmpathyChatWindow")
790 (c-name "empathy_chat_window_has_focus")
791 (return-type "gboolean")
794 (define-function empathy_chat_window_find_chat
795 (c-name "empathy_chat_window_find_chat")
796 (return-type "EmpathyChat*")
798 '("McAccount*" "account")
799 '("const-gchar*" "id")
805 ;; From empathy-contact-dialogs.h
807 (define-function empathy_subscription_dialog_show
808 (c-name "empathy_subscription_dialog_show")
811 '("EmpathyContact*" "contact")
812 '("GtkWindow*" "parent")
816 (define-method information_dialog_show
817 (of-object "EmpathyContact")
818 (c-name "empathy_contact_information_dialog_show")
821 '("GtkWindow*" "parent")
826 (define-function empathy_new_contact_dialog_show
827 (c-name "empathy_new_contact_dialog_show")
830 '("GtkWindow*" "parent")
836 ;; From empathy-contact-groups.h
838 (define-function empathy_contact_groups_get_all
839 (c-name "empathy_contact_groups_get_all")
843 (define-function empathy_contact_group_get_expanded
844 (c-name "empathy_contact_group_get_expanded")
845 (return-type "gboolean")
847 '("const-gchar*" "group")
851 (define-function empathy_contact_group_set_expanded
852 (c-name "empathy_contact_group_set_expanded")
855 '("const-gchar*" "group")
856 '("gboolean" "expanded")
862 ;; From empathy-contact-list-store.h
864 (define-function empathy_contact_list_store_get_type
865 (c-name "empathy_contact_list_store_get_type")
866 (return-type "GType")
869 (define-method store_new
870 (of-object "EmpathyContactList")
871 (c-name "empathy_contact_list_store_new")
872 (return-type "EmpathyContactListStore*")
875 (define-method get_list_iface
876 (of-object "EmpathyContactListStore")
877 (c-name "empathy_contact_list_store_get_list_iface")
878 (return-type "EmpathyContactList*")
881 (define-method get_show_offline
882 (of-object "EmpathyContactListStore")
883 (c-name "empathy_contact_list_store_get_show_offline")
884 (return-type "gboolean")
887 (define-method set_show_offline
888 (of-object "EmpathyContactListStore")
889 (c-name "empathy_contact_list_store_set_show_offline")
892 '("gboolean" "show_offline")
896 (define-method get_show_avatars
897 (of-object "EmpathyContactListStore")
898 (c-name "empathy_contact_list_store_get_show_avatars")
899 (return-type "gboolean")
902 (define-method set_show_avatars
903 (of-object "EmpathyContactListStore")
904 (c-name "empathy_contact_list_store_set_show_avatars")
907 '("gboolean" "show_avatars")
911 (define-method get_is_compact
912 (of-object "EmpathyContactListStore")
913 (c-name "empathy_contact_list_store_get_is_compact")
914 (return-type "gboolean")
917 (define-method set_is_compact
918 (of-object "EmpathyContactListStore")
919 (c-name "empathy_contact_list_store_set_is_compact")
922 '("gboolean" "is_compact")
926 (define-method get_sort_criterium
927 (of-object "EmpathyContactListStore")
928 (c-name "empathy_contact_list_store_get_sort_criterium")
929 (return-type "EmpathyContactListStoreSort")
932 (define-method set_sort_criterium
933 (of-object "EmpathyContactListStore")
934 (c-name "empathy_contact_list_store_set_sort_criterium")
937 '("EmpathyContactListStoreSort" "sort_criterium")
941 (define-function empathy_contact_list_store_row_separator_func
942 (c-name "empathy_contact_list_store_row_separator_func")
943 (return-type "gboolean")
945 '("GtkTreeModel*" "model")
946 '("GtkTreeIter*" "iter")
951 (define-function empathy_contact_list_store_get_parent_group
952 (c-name "empathy_contact_list_store_get_parent_group")
953 (return-type "gchar*")
955 '("GtkTreeModel*" "model")
956 '("GtkTreePath*" "path")
957 '("gboolean*" "path_is_group")
961 (define-function empathy_contact_list_store_search_equal_func
962 (c-name "empathy_contact_list_store_search_equal_func")
963 (return-type "gboolean")
965 '("GtkTreeModel*" "model")
967 '("const-gchar*" "key")
968 '("GtkTreeIter*" "iter")
969 '("gpointer" "search_data")
975 ;; From empathy-contact-list-view.h
977 (define-function empathy_contact_list_view_get_type
978 (c-name "empathy_contact_list_view_get_type")
979 (return-type "GType")
982 (define-function empathy_contact_list_view_new
983 (c-name "empathy_contact_list_view_new")
984 (is-constructor-of "EmpathyContactListView")
985 (return-type "EmpathyContactListView*")
987 '("EmpathyContactListStore*" "store")
991 (define-method get_selected
992 (of-object "EmpathyContactListView")
993 (c-name "empathy_contact_list_view_get_selected")
994 (return-type "EmpathyContact*")
997 (define-method get_selected_group
998 (of-object "EmpathyContactListView")
999 (c-name "empathy_contact_list_view_get_selected_group")
1000 (return-type "gchar*")
1003 (define-method get_contact_menu
1004 (of-object "EmpathyContactListView")
1005 (c-name "empathy_contact_list_view_get_contact_menu")
1006 (return-type "GtkWidget*")
1008 '("EmpathyContact*" "contact")
1012 (define-method get_group_menu
1013 (of-object "EmpathyContactListView")
1014 (c-name "empathy_contact_list_view_get_group_menu")
1015 (return-type "GtkWidget*")
1020 ;; From empathy-contact-widget.h
1022 (define-method widget_new
1023 (of-object "EmpathyContact")
1024 (c-name "empathy_contact_widget_new")
1025 (return-type "GtkWidget*")
1027 '("EmpathyContactWidgetType" "type")
1031 (define-function empathy_contact_widget_get_contact
1032 (c-name "empathy_contact_widget_get_contact")
1033 (return-type "EmpathyContact*")
1035 '("GtkWidget*" "widget")
1041 ;; From empathy-geometry.h
1043 (define-function empathy_geometry_save
1044 (c-name "empathy_geometry_save")
1045 (return-type "none")
1047 '("const-gchar*" "name")
1055 (define-function empathy_geometry_load
1056 (c-name "empathy_geometry_load")
1057 (return-type "none")
1059 '("const-gchar*" "name")
1069 ;; From empathy-group-chat.h
1071 (define-function empathy_group_chat_get_type
1072 (c-name "empathy_group_chat_get_type")
1073 (return-type "GType")
1076 (define-function empathy_group_chat_new
1077 (c-name "empathy_group_chat_new")
1078 (is-constructor-of "EmpathyGroupChat")
1079 (return-type "EmpathyGroupChat*")
1081 '("McAccount*" "account")
1082 '("TpChan*" "tp_chan")
1086 (define-method get_show_contacts
1087 (of-object "EmpathyGroupChat")
1088 (c-name "empathy_group_chat_get_show_contacts")
1089 (return-type "gboolean")
1092 (define-method set_show_contacts
1093 (of-object "EmpathyGroupChat")
1094 (c-name "empathy_group_chat_set_show_contacts")
1095 (return-type "none")
1097 '("gboolean" "show")
1101 (define-method set_topic
1102 (of-object "EmpathyGroupChat")
1103 (c-name "empathy_group_chat_set_topic")
1104 (return-type "none")
1109 ;; From empathy-images.h
1113 ;; From empathy-log-window.h
1115 (define-function empathy_log_window_show
1116 (c-name "empathy_log_window_show")
1117 (return-type "none")
1119 '("McAccount*" "account")
1120 '("const-gchar*" "chat_id")
1121 '("gboolean" "chatroom")
1122 '("GtkWindow*" "parent")
1128 ;; From empathy-main-window.h
1130 (define-function empathy_main_window_show
1131 (c-name "empathy_main_window_show")
1132 (return-type "GtkWidget*")
1137 ;; From empathy-new-chatroom-dialog.h
1139 (define-function empathy_new_chatroom_dialog_show
1140 (c-name "empathy_new_chatroom_dialog_show")
1141 (return-type "none")
1143 '("GtkWindow*" "parent")
1149 ;; From empathy-preferences.h
1151 (define-function empathy_preferences_show
1152 (c-name "empathy_preferences_show")
1153 (return-type "GtkWidget*")
1155 '("GtkWindow*" "parent")
1161 ;; From empathy-presence-chooser.h
1163 (define-function empathy_presence_chooser_get_type
1164 (c-name "empathy_presence_chooser_get_type")
1165 (return-type "GType")
1168 (define-function empathy_presence_chooser_new
1169 (c-name "empathy_presence_chooser_new")
1170 (is-constructor-of "EmpathyPresenceChooser")
1171 (return-type "GtkWidget*")
1174 (define-function empathy_presence_chooser_create_menu
1175 (c-name "empathy_presence_chooser_create_menu")
1176 (return-type "GtkWidget*")
1181 ;; From empathy-private-chat.h
1183 (define-function empathy_private_chat_get_type
1184 (c-name "empathy_private_chat_get_type")
1185 (return-type "GType")
1188 (define-function empathy_private_chat_new
1189 (c-name "empathy_private_chat_new")
1190 (is-constructor-of "EmpathyPrivateChat")
1191 (return-type "EmpathyPrivateChat*")
1193 '("McAccount*" "account")
1194 '("TpChan*" "tp_chan")
1198 (define-function empathy_private_chat_new_with_contact
1199 (c-name "empathy_private_chat_new_with_contact")
1200 (return-type "EmpathyPrivateChat*")
1202 '("EmpathyContact*" "contact")
1206 (define-method get_contact
1207 (of-object "EmpathyPrivateChat")
1208 (c-name "empathy_private_chat_get_contact")
1209 (return-type "EmpathyContact*")
1214 ;; From empathy-profile-chooser.h
1216 (define-function empathy_profile_chooser_new
1217 (c-name "empathy_profile_chooser_new")
1218 (is-constructor-of "EmpathyProfileChooser")
1219 (return-type "GtkWidget*")
1222 (define-function empathy_profile_chooser_get_selected
1223 (c-name "empathy_profile_chooser_get_selected")
1224 (return-type "McProfile*")
1226 '("GtkWidget*" "widget")
1232 ;; From empathy-spell-dialog.h
1234 (define-function empathy_spell_dialog_show
1235 (c-name "empathy_spell_dialog_show")
1236 (return-type "none")
1238 '("EmpathyChat*" "chat")
1239 '("GtkTextIter" "start")
1240 '("GtkTextIter" "end")
1241 '("const-gchar*" "word")
1247 ;; From empathy-spell.h
1249 (define-function empathy_spell_supported
1250 (c-name "empathy_spell_supported")
1251 (return-type "gboolean")
1254 (define-function empathy_spell_get_language_name
1255 (c-name "empathy_spell_get_language_name")
1256 (return-type "const-gchar*")
1258 '("const-gchar*" "code")
1262 (define-function empathy_spell_get_language_codes
1263 (c-name "empathy_spell_get_language_codes")
1264 (return-type "GList*")
1267 (define-function empathy_spell_free_language_codes
1268 (c-name "empathy_spell_free_language_codes")
1269 (return-type "none")
1275 (define-function empathy_spell_check
1276 (c-name "empathy_spell_check")
1277 (return-type "gboolean")
1279 '("const-gchar*" "word")
1283 (define-function empathy_spell_get_suggestions
1284 (c-name "empathy_spell_get_suggestions")
1285 (return-type "GList*")
1287 '("const-gchar*" "word")
1291 (define-function empathy_spell_free_suggestions
1292 (c-name "empathy_spell_free_suggestions")
1293 (return-type "none")
1295 '("GList*" "suggestions")
1301 ;; From empathy-status-icon.h
1303 (define-function empathy_status_icon_get_type
1304 (c-name "empathy_status_icon_get_type")
1305 (return-type "GType")
1308 (define-function empathy_status_icon_new
1309 (c-name "empathy_status_icon_new")
1310 (is-constructor-of "EmpathyStatusIcon")
1311 (return-type "EmpathyStatusIcon*")
1313 '("GtkWindow*" "window")
1319 ;; From empathy-status-presets.h
1321 (define-function empathy_status_presets_get_all
1322 (c-name "empathy_status_presets_get_all")
1323 (return-type "none")
1326 (define-function empathy_status_presets_get
1327 (c-name "empathy_status_presets_get")
1328 (return-type "GList*")
1330 '("McPresence" "state")
1331 '("gint" "max_number")
1335 (define-function empathy_status_presets_set_last
1336 (c-name "empathy_status_presets_set_last")
1337 (return-type "none")
1339 '("McPresence" "state")
1340 '("const-gchar*" "status")
1344 (define-function empathy_status_presets_remove
1345 (c-name "empathy_status_presets_remove")
1346 (return-type "none")
1348 '("McPresence" "state")
1349 '("const-gchar*" "status")
1353 (define-function empathy_status_presets_reset
1354 (c-name "empathy_status_presets_reset")
1355 (return-type "none")
1358 (define-function empathy_status_presets_get_default_state
1359 (c-name "empathy_status_presets_get_default_state")
1360 (return-type "McPresence")
1363 (define-function empathy_status_presets_get_default_status
1364 (c-name "empathy_status_presets_get_default_status")
1365 (return-type "const-gchar*")
1368 (define-function empathy_status_presets_set_default
1369 (c-name "empathy_status_presets_set_default")
1370 (return-type "none")
1372 '("McPresence" "state")
1373 '("const-gchar*" "status")
1377 (define-function empathy_status_presets_clear_default
1378 (c-name "empathy_status_presets_clear_default")
1379 (return-type "none")
1384 ;; From empathy-theme-manager.h
1386 (define-function empathy_theme_manager_get_type
1387 (c-name "empathy_theme_manager_get_type")
1388 (return-type "GType")
1391 (define-function empathy_theme_manager_get
1392 (c-name "empathy_theme_manager_get")
1393 (return-type "EmpathyThemeManager*")
1396 (define-function empathy_theme_manager_get_themes
1397 (c-name "empathy_theme_manager_get_themes")
1398 (return-type "const-gchar**")
1401 (define-method apply
1402 (of-object "EmpathyThemeManager")
1403 (c-name "empathy_theme_manager_apply")
1404 (return-type "none")
1406 '("EmpathyChatView*" "view")
1407 '("const-gchar*" "theme")
1411 (define-method apply_saved
1412 (of-object "EmpathyThemeManager")
1413 (c-name "empathy_theme_manager_apply_saved")
1414 (return-type "none")
1416 '("EmpathyChatView*" "view")
1420 (define-method update_show_avatars
1421 (of-object "EmpathyThemeManager")
1422 (c-name "empathy_theme_manager_update_show_avatars")
1423 (return-type "none")
1425 '("EmpathyChatView*" "view")
1426 '("gboolean" "show")
1432 ;; From empathy-ui-utils.h
1434 (define-function empathy_glade_get_file_simple
1435 (c-name "empathy_glade_get_file_simple")
1436 (return-type "none")
1438 '("const-gchar*" "filename")
1439 '("const-gchar*" "root")
1440 '("const-gchar*" "domain")
1441 '("const-gchar*" "first_required_widget")
1446 (define-function empathy_glade_get_file
1447 (c-name "empathy_glade_get_file")
1448 (return-type "GladeXML*")
1450 '("const-gchar*" "filename")
1451 '("const-gchar*" "root")
1452 '("const-gchar*" "domain")
1453 '("const-gchar*" "first_required_widget")
1458 (define-function empathy_glade_connect
1459 (c-name "empathy_glade_connect")
1460 (return-type "none")
1462 '("GladeXML*" "gui")
1463 '("gpointer" "user_data")
1464 '("gchar*" "first_widget")
1469 (define-function empathy_glade_setup_size_group
1470 (c-name "empathy_glade_setup_size_group")
1471 (return-type "none")
1473 '("GladeXML*" "gui")
1474 '("GtkSizeGroupMode" "mode")
1475 '("gchar*" "first_widget")
1480 (define-function empathy_pixbuf_from_icon_name
1481 (c-name "empathy_pixbuf_from_icon_name")
1482 (return-type "GdkPixbuf*")
1484 '("const-gchar*" "icon_name")
1485 '("GtkIconSize" "icon_size")
1489 (define-function empathy_pixbuf_from_smiley
1490 (c-name "empathy_pixbuf_from_smiley")
1491 (return-type "GdkPixbuf*")
1493 '("EmpathySmiley" "type")
1494 '("GtkIconSize" "icon_size")
1498 (define-function empathy_icon_name_from_account
1499 (c-name "empathy_icon_name_from_account")
1500 (return-type "const-gchar*")
1502 '("McAccount*" "account")
1506 (define-function empathy_icon_name_for_presence_state
1507 (c-name "empathy_icon_name_for_presence_state")
1508 (return-type "const-gchar*")
1510 '("McPresence" "state")
1514 (define-function empathy_icon_name_for_presence
1515 (c-name "empathy_icon_name_for_presence")
1516 (return-type "const-gchar*")
1518 '("EmpathyPresence*" "presence")
1522 (define-function empathy_icon_name_for_contact
1523 (c-name "empathy_icon_name_for_contact")
1524 (return-type "const-gchar*")
1526 '("EmpathyContact*" "contact")
1530 (define-function empathy_pixbuf_from_avatar_scaled
1531 (c-name "empathy_pixbuf_from_avatar_scaled")
1532 (return-type "GdkPixbuf*")
1534 '("EmpathyAvatar*" "avatar")
1540 (define-function empathy_pixbuf_avatar_from_contact_scaled
1541 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1542 (return-type "GdkPixbuf*")
1544 '("EmpathyContact*" "contact")
1550 (define-function empathy_text_iter_forward_search
1551 (c-name "empathy_text_iter_forward_search")
1552 (return-type "gboolean")
1554 '("const-GtkTextIter*" "iter")
1555 '("const-gchar*" "str")
1556 '("GtkTextIter*" "match_start")
1557 '("GtkTextIter*" "match_end")
1558 '("const-GtkTextIter*" "limit")
1562 (define-function empathy_text_iter_backward_search
1563 (c-name "empathy_text_iter_backward_search")
1564 (return-type "gboolean")
1566 '("const-GtkTextIter*" "iter")
1567 '("const-gchar*" "str")
1568 '("GtkTextIter*" "match_start")
1569 '("GtkTextIter*" "match_end")
1570 '("const-GtkTextIter*" "limit")
1574 (define-function empathy_window_get_is_visible
1575 (c-name "empathy_window_get_is_visible")
1576 (return-type "gboolean")
1578 '("GtkWindow*" "window")
1582 (define-function empathy_window_present
1583 (c-name "empathy_window_present")
1584 (return-type "none")
1586 '("GtkWindow*" "window")
1587 '("gboolean" "steal_focus")
1591 (define-function empathy_window_iconify
1592 (c-name "empathy_window_iconify")
1593 (return-type "none")
1595 '("GtkWindow*" "window")
1596 '("GtkStatusIcon*" "status_icon")
1600 (define-function empathy_get_toplevel_window
1601 (c-name "empathy_get_toplevel_window")
1602 (return-type "GtkWindow*")
1604 '("GtkWidget*" "widget")
1608 (define-function empathy_url_show
1609 (c-name "empathy_url_show")
1610 (return-type "none")
1612 '("const-char*" "url")
1616 (define-function empathy_toggle_button_set_state_quietly
1617 (c-name "empathy_toggle_button_set_state_quietly")
1618 (return-type "none")
1620 '("GtkWidget*" "widget")
1621 '("GCallback" "callback")
1622 '("gpointer" "user_data")
1623 '("gboolean" "active")
1627 (define-function empathy_link_button_new
1628 (c-name "empathy_link_button_new")
1629 (is-constructor-of "EmpathyLinkButton")
1630 (return-type "GtkWidget*")
1632 '("const-gchar*" "url")
1633 '("const-gchar*" "title")
1639 ;; From ephy-spinner.h
1641 (define-function ephy_spinner_get_type
1642 (c-name "ephy_spinner_get_type")
1643 (return-type "GType")
1646 (define-function ephy_spinner_new
1647 (c-name "ephy_spinner_new")
1648 (is-constructor-of "EphySpinner")
1649 (return-type "GtkWidget*")
1652 (define-method start
1653 (of-object "EphySpinner")
1654 (c-name "ephy_spinner_start")
1655 (return-type "none")
1659 (of-object "EphySpinner")
1660 (c-name "ephy_spinner_stop")
1661 (return-type "none")
1664 (define-method set_size
1665 (of-object "EphySpinner")
1666 (c-name "ephy_spinner_set_size")
1667 (return-type "none")
1669 '("GtkIconSize" "size")