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-cell-renderer-expander.h
311 (define-function empathy_cell_renderer_expander_get_type
312 (c-name "empathy_cell_renderer_expander_get_type")
313 (return-type "GType")
316 (define-function empathy_cell_renderer_expander_new
317 (c-name "empathy_cell_renderer_expander_new")
318 (is-constructor-of "EmpathyCellRendererExpander")
319 (return-type "GtkCellRenderer*")
324 ;; From empathy-cell-renderer-text.h
326 (define-function empathy_cell_renderer_text_get_type
327 (c-name "empathy_cell_renderer_text_get_type")
328 (return-type "GType")
331 (define-function empathy_cell_renderer_text_new
332 (c-name "empathy_cell_renderer_text_new")
333 (is-constructor-of "EmpathyCellRendererText")
334 (return-type "GtkCellRenderer*")
339 ;; From empathy-chat.h
341 (define-function empathy_chat_get_type
342 (c-name "empathy_chat_get_type")
343 (return-type "GType")
346 (define-method get_view
347 (of-object "EmpathyChat")
348 (c-name "empathy_chat_get_view")
349 (return-type "EmpathyChatView*")
352 (define-method get_window
353 (of-object "EmpathyChat")
354 (c-name "empathy_chat_get_window")
355 (return-type "EmpathyChatWindow*")
358 (define-method set_window
359 (of-object "EmpathyChat")
360 (c-name "empathy_chat_set_window")
363 '("EmpathyChatWindow*" "window")
367 (define-method present
368 (of-object "EmpathyChat")
369 (c-name "empathy_chat_present")
374 (of-object "EmpathyChat")
375 (c-name "empathy_chat_clear")
379 (define-method scroll_down
380 (of-object "EmpathyChat")
381 (c-name "empathy_chat_scroll_down")
386 (of-object "EmpathyChat")
387 (c-name "empathy_chat_cut")
392 (of-object "EmpathyChat")
393 (c-name "empathy_chat_copy")
398 (of-object "EmpathyChat")
399 (c-name "empathy_chat_paste")
403 (define-method get_name
404 (of-object "EmpathyChat")
405 (c-name "empathy_chat_get_name")
406 (return-type "const-gchar*")
409 (define-method get_tooltip
410 (of-object "EmpathyChat")
411 (c-name "empathy_chat_get_tooltip")
412 (return-type "gchar*")
415 (define-method get_status_icon_name
416 (of-object "EmpathyChat")
417 (c-name "empathy_chat_get_status_icon_name")
418 (return-type "const-gchar*")
421 (define-method get_widget
422 (of-object "EmpathyChat")
423 (c-name "empathy_chat_get_widget")
424 (return-type "GtkWidget*")
427 (define-method is_group_chat
428 (of-object "EmpathyChat")
429 (c-name "empathy_chat_is_group_chat")
430 (return-type "gboolean")
433 (define-method is_connected
434 (of-object "EmpathyChat")
435 (c-name "empathy_chat_is_connected")
436 (return-type "gboolean")
439 (define-method save_geometry
440 (of-object "EmpathyChat")
441 (c-name "empathy_chat_save_geometry")
451 (define-method load_geometry
452 (of-object "EmpathyChat")
453 (c-name "empathy_chat_load_geometry")
463 (define-method set_tp_chat
464 (of-object "EmpathyChat")
465 (c-name "empathy_chat_set_tp_chat")
468 '("EmpathyTpChat*" "tp_chat")
472 (define-method get_id
473 (of-object "EmpathyChat")
474 (c-name "empathy_chat_get_id")
475 (return-type "const-gchar*")
478 (define-function empathy_chat_get_is_command
479 (c-name "empathy_chat_get_is_command")
480 (return-type "gboolean")
482 '("const-gchar*" "str")
486 (define-method correct_word
487 (of-object "EmpathyChat")
488 (c-name "empathy_chat_correct_word")
491 '("GtkTextIter" "start")
492 '("GtkTextIter" "end")
493 '("const-gchar*" "new_word")
497 (define-method should_play_sound
498 (of-object "EmpathyChat")
499 (c-name "empathy_chat_should_play_sound")
500 (return-type "gboolean")
503 (define-function empathy_chat_should_highlight_nick
504 (c-name "empathy_chat_should_highlight_nick")
505 (return-type "gboolean")
507 '("EmpathyMessage*" "message")
513 ;; From empathy-chatrooms-window.h
515 (define-function empathy_chatrooms_window_show
516 (c-name "empathy_chatrooms_window_show")
519 '("GtkWindow*" "parent")
525 ;; From empathy-chat-view.h
527 (define-function empathy_chat_view_get_type
528 (c-name "empathy_chat_view_get_type")
529 (return-type "GType")
532 (define-function empathy_chat_view_new
533 (c-name "empathy_chat_view_new")
534 (is-constructor-of "EmpathyChatView")
535 (return-type "EmpathyChatView*")
538 (define-method append_message
539 (of-object "EmpathyChatView")
540 (c-name "empathy_chat_view_append_message")
543 '("EmpathyMessage*" "msg")
547 (define-method append_event
548 (of-object "EmpathyChatView")
549 (c-name "empathy_chat_view_append_event")
552 '("const-gchar*" "str")
556 (define-method append_button
557 (of-object "EmpathyChatView")
558 (c-name "empathy_chat_view_append_button")
561 '("const-gchar*" "message")
562 '("GtkWidget*" "button1")
563 '("GtkWidget*" "button2")
567 (define-method set_margin
568 (of-object "EmpathyChatView")
569 (c-name "empathy_chat_view_set_margin")
576 (define-method scroll
577 (of-object "EmpathyChatView")
578 (c-name "empathy_chat_view_scroll")
581 '("gboolean" "allow_scrolling")
585 (define-method scroll_down
586 (of-object "EmpathyChatView")
587 (c-name "empathy_chat_view_scroll_down")
591 (define-method get_selection_bounds
592 (of-object "EmpathyChatView")
593 (c-name "empathy_chat_view_get_selection_bounds")
594 (return-type "gboolean")
596 '("GtkTextIter*" "start")
597 '("GtkTextIter*" "end")
602 (of-object "EmpathyChatView")
603 (c-name "empathy_chat_view_clear")
607 (define-method find_previous
608 (of-object "EmpathyChatView")
609 (c-name "empathy_chat_view_find_previous")
610 (return-type "gboolean")
612 '("const-gchar*" "search_criteria")
613 '("gboolean" "new_search")
617 (define-method find_next
618 (of-object "EmpathyChatView")
619 (c-name "empathy_chat_view_find_next")
620 (return-type "gboolean")
622 '("const-gchar*" "search_criteria")
623 '("gboolean" "new_search")
627 (define-method find_abilities
628 (of-object "EmpathyChatView")
629 (c-name "empathy_chat_view_find_abilities")
632 '("const-gchar*" "search_criteria")
633 '("gboolean*" "can_do_previous")
634 '("gboolean*" "can_do_next")
638 (define-method highlight
639 (of-object "EmpathyChatView")
640 (c-name "empathy_chat_view_highlight")
643 '("const-gchar*" "text")
647 (define-method copy_clipboard
648 (of-object "EmpathyChatView")
649 (c-name "empathy_chat_view_copy_clipboard")
653 (define-method get_irc_style
654 (of-object "EmpathyChatView")
655 (c-name "empathy_chat_view_get_irc_style")
656 (return-type "gboolean")
659 (define-method set_irc_style
660 (of-object "EmpathyChatView")
661 (c-name "empathy_chat_view_set_irc_style")
664 '("gboolean" "irc_style")
668 (define-method set_margin
669 (of-object "EmpathyChatView")
670 (c-name "empathy_chat_view_set_margin")
677 (define-function empathy_chat_view_get_smiley_image
678 (c-name "empathy_chat_view_get_smiley_image")
679 (return-type "GdkPixbuf*")
681 '("EmpathySmiley" "smiley")
685 (define-function empathy_chat_view_get_smiley_text
686 (c-name "empathy_chat_view_get_smiley_text")
687 (return-type "const-gchar*")
689 '("EmpathySmiley" "smiley")
693 (define-function empathy_chat_view_get_smiley_menu
694 (c-name "empathy_chat_view_get_smiley_menu")
695 (return-type "GtkWidget*")
697 '("GCallback" "callback")
698 '("gpointer" "user_data")
699 '("GtkTooltips*" "tooltips")
703 (define-method set_is_group_chat
704 (of-object "EmpathyChatView")
705 (c-name "empathy_chat_view_set_is_group_chat")
708 '("gboolean" "is_group_chat")
714 ;; From empathy-chat-window.h
716 (define-function empathy_chat_window_get_type
717 (c-name "empathy_chat_window_get_type")
718 (return-type "GType")
721 (define-function empathy_chat_window_get_default
722 (c-name "empathy_chat_window_get_default")
723 (return-type "EmpathyChatWindow*")
726 (define-function empathy_chat_window_new
727 (c-name "empathy_chat_window_new")
728 (is-constructor-of "EmpathyChatWindow")
729 (return-type "EmpathyChatWindow*")
732 (define-method get_dialog
733 (of-object "EmpathyChatWindow")
734 (c-name "empathy_chat_window_get_dialog")
735 (return-type "GtkWidget*")
738 (define-method add_chat
739 (of-object "EmpathyChatWindow")
740 (c-name "empathy_chat_window_add_chat")
743 '("EmpathyChat*" "chat")
747 (define-method remove_chat
748 (of-object "EmpathyChatWindow")
749 (c-name "empathy_chat_window_remove_chat")
752 '("EmpathyChat*" "chat")
756 (define-method move_chat
757 (of-object "EmpathyChatWindow")
758 (c-name "empathy_chat_window_move_chat")
761 '("EmpathyChatWindow*" "new_window")
762 '("EmpathyChat*" "chat")
766 (define-method switch_to_chat
767 (of-object "EmpathyChatWindow")
768 (c-name "empathy_chat_window_switch_to_chat")
771 '("EmpathyChat*" "chat")
775 (define-method has_focus
776 (of-object "EmpathyChatWindow")
777 (c-name "empathy_chat_window_has_focus")
778 (return-type "gboolean")
781 (define-function empathy_chat_window_find_chat
782 (c-name "empathy_chat_window_find_chat")
783 (return-type "EmpathyChat*")
785 '("McAccount*" "account")
786 '("const-gchar*" "id")
792 ;; From empathy-contact-dialogs.h
794 (define-function empathy_subscription_dialog_show
795 (c-name "empathy_subscription_dialog_show")
798 '("EmpathyContact*" "contact")
799 '("GtkWindow*" "parent")
803 (define-method information_dialog_show
804 (of-object "EmpathyContact")
805 (c-name "empathy_contact_information_dialog_show")
808 '("GtkWindow*" "parent")
813 (define-function empathy_new_contact_dialog_show
814 (c-name "empathy_new_contact_dialog_show")
817 '("GtkWindow*" "parent")
823 ;; From empathy-contact-groups.h
825 (define-function empathy_contact_groups_get_all
826 (c-name "empathy_contact_groups_get_all")
830 (define-function empathy_contact_group_get_expanded
831 (c-name "empathy_contact_group_get_expanded")
832 (return-type "gboolean")
834 '("const-gchar*" "group")
838 (define-function empathy_contact_group_set_expanded
839 (c-name "empathy_contact_group_set_expanded")
842 '("const-gchar*" "group")
843 '("gboolean" "expanded")
849 ;; From empathy-contact-list-store.h
851 (define-function empathy_contact_list_store_get_type
852 (c-name "empathy_contact_list_store_get_type")
853 (return-type "GType")
856 (define-method store_new
857 (of-object "EmpathyContactList")
858 (c-name "empathy_contact_list_store_new")
859 (return-type "EmpathyContactListStore*")
862 (define-method get_list_iface
863 (of-object "EmpathyContactListStore")
864 (c-name "empathy_contact_list_store_get_list_iface")
865 (return-type "EmpathyContactList*")
868 (define-method get_show_offline
869 (of-object "EmpathyContactListStore")
870 (c-name "empathy_contact_list_store_get_show_offline")
871 (return-type "gboolean")
874 (define-method set_show_offline
875 (of-object "EmpathyContactListStore")
876 (c-name "empathy_contact_list_store_set_show_offline")
879 '("gboolean" "show_offline")
883 (define-method get_show_avatars
884 (of-object "EmpathyContactListStore")
885 (c-name "empathy_contact_list_store_get_show_avatars")
886 (return-type "gboolean")
889 (define-method set_show_avatars
890 (of-object "EmpathyContactListStore")
891 (c-name "empathy_contact_list_store_set_show_avatars")
894 '("gboolean" "show_avatars")
898 (define-method get_is_compact
899 (of-object "EmpathyContactListStore")
900 (c-name "empathy_contact_list_store_get_is_compact")
901 (return-type "gboolean")
904 (define-method set_is_compact
905 (of-object "EmpathyContactListStore")
906 (c-name "empathy_contact_list_store_set_is_compact")
909 '("gboolean" "is_compact")
913 (define-method get_sort_criterium
914 (of-object "EmpathyContactListStore")
915 (c-name "empathy_contact_list_store_get_sort_criterium")
916 (return-type "EmpathyContactListStoreSort")
919 (define-method set_sort_criterium
920 (of-object "EmpathyContactListStore")
921 (c-name "empathy_contact_list_store_set_sort_criterium")
924 '("EmpathyContactListStoreSort" "sort_criterium")
928 (define-function empathy_contact_list_store_row_separator_func
929 (c-name "empathy_contact_list_store_row_separator_func")
930 (return-type "gboolean")
932 '("GtkTreeModel*" "model")
933 '("GtkTreeIter*" "iter")
938 (define-function empathy_contact_list_store_get_parent_group
939 (c-name "empathy_contact_list_store_get_parent_group")
940 (return-type "gchar*")
942 '("GtkTreeModel*" "model")
943 '("GtkTreePath*" "path")
944 '("gboolean*" "path_is_group")
948 (define-function empathy_contact_list_store_search_equal_func
949 (c-name "empathy_contact_list_store_search_equal_func")
950 (return-type "gboolean")
952 '("GtkTreeModel*" "model")
954 '("const-gchar*" "key")
955 '("GtkTreeIter*" "iter")
956 '("gpointer" "search_data")
960 (define-method set_contact_groups_func
961 (of-object "EmpathyContactListStore")
962 (c-name "empathy_contact_list_store_set_contact_groups_func")
965 '("EmpathyContactGroupsFunc" "func")
966 '("gpointer" "user_data")
970 (define-method update_contact_groups
971 (of-object "EmpathyContactListStore")
972 (c-name "empathy_contact_list_store_update_contact_groups")
975 '("EmpathyContact*" "contact")
981 ;; From empathy-contact-list-view.h
983 (define-function empathy_contact_list_view_get_type
984 (c-name "empathy_contact_list_view_get_type")
985 (return-type "GType")
988 (define-function empathy_contact_list_view_new
989 (c-name "empathy_contact_list_view_new")
990 (is-constructor-of "EmpathyContactListView")
991 (return-type "EmpathyContactListView*")
993 '("EmpathyContactListStore*" "store")
997 (define-method get_selected
998 (of-object "EmpathyContactListView")
999 (c-name "empathy_contact_list_view_get_selected")
1000 (return-type "EmpathyContact*")
1003 (define-method get_selected_group
1004 (of-object "EmpathyContactListView")
1005 (c-name "empathy_contact_list_view_get_selected_group")
1006 (return-type "gchar*")
1009 (define-method get_contact_menu
1010 (of-object "EmpathyContactListView")
1011 (c-name "empathy_contact_list_view_get_contact_menu")
1012 (return-type "GtkWidget*")
1014 '("EmpathyContact*" "contact")
1018 (define-method get_group_menu
1019 (of-object "EmpathyContactListView")
1020 (c-name "empathy_contact_list_view_get_group_menu")
1021 (return-type "GtkWidget*")
1024 (define-method set_filter
1025 (of-object "EmpathyContactListView")
1026 (c-name "empathy_contact_list_view_set_filter")
1027 (return-type "none")
1029 '("const-gchar*" "filter")
1033 (define-method set_drag_received_func
1034 (of-object "EmpathyContactListView")
1035 (c-name "empathy_contact_list_view_set_drag_received_func")
1036 (return-type "none")
1038 '("EmpathyContactListViewDragReceivedFunc" "func")
1039 '("gpointer" "user_data")
1045 ;; From empathy-contact-widget.h
1047 (define-method widget_new
1048 (of-object "EmpathyContact")
1049 (c-name "empathy_contact_widget_new")
1050 (return-type "GtkWidget*")
1052 '("EmpathyContactWidgetType" "type")
1056 (define-function empathy_contact_widget_get_contact
1057 (c-name "empathy_contact_widget_get_contact")
1058 (return-type "EmpathyContact*")
1060 '("GtkWidget*" "widget")
1066 ;; From empathy-geometry.h
1068 (define-function empathy_geometry_save
1069 (c-name "empathy_geometry_save")
1070 (return-type "none")
1072 '("const-gchar*" "name")
1080 (define-function empathy_geometry_load
1081 (c-name "empathy_geometry_load")
1082 (return-type "none")
1084 '("const-gchar*" "name")
1094 ;; From empathy-group-chat.h
1096 (define-function empathy_group_chat_get_type
1097 (c-name "empathy_group_chat_get_type")
1098 (return-type "GType")
1101 (define-function empathy_group_chat_new
1102 (c-name "empathy_group_chat_new")
1103 (is-constructor-of "EmpathyGroupChat")
1104 (return-type "EmpathyGroupChat*")
1106 '("McAccount*" "account")
1107 '("TpChan*" "tp_chan")
1111 (define-method get_show_contacts
1112 (of-object "EmpathyGroupChat")
1113 (c-name "empathy_group_chat_get_show_contacts")
1114 (return-type "gboolean")
1117 (define-method set_show_contacts
1118 (of-object "EmpathyGroupChat")
1119 (c-name "empathy_group_chat_set_show_contacts")
1120 (return-type "none")
1122 '("gboolean" "show")
1126 (define-method set_topic
1127 (of-object "EmpathyGroupChat")
1128 (c-name "empathy_group_chat_set_topic")
1129 (return-type "none")
1134 ;; From empathy-images.h
1138 ;; From empathy-log-window.h
1140 (define-function empathy_log_window_show
1141 (c-name "empathy_log_window_show")
1142 (return-type "none")
1144 '("McAccount*" "account")
1145 '("const-gchar*" "chat_id")
1146 '("gboolean" "chatroom")
1147 '("GtkWindow*" "parent")
1153 ;; From empathy-main-window.h
1155 (define-function empathy_main_window_show
1156 (c-name "empathy_main_window_show")
1157 (return-type "GtkWidget*")
1162 ;; From empathy-new-chatroom-dialog.h
1164 (define-function empathy_new_chatroom_dialog_show
1165 (c-name "empathy_new_chatroom_dialog_show")
1166 (return-type "none")
1168 '("GtkWindow*" "parent")
1174 ;; From empathy-preferences.h
1176 (define-function empathy_preferences_show
1177 (c-name "empathy_preferences_show")
1178 (return-type "GtkWidget*")
1180 '("GtkWindow*" "parent")
1186 ;; From empathy-presence-chooser.h
1188 (define-function empathy_presence_chooser_get_type
1189 (c-name "empathy_presence_chooser_get_type")
1190 (return-type "GType")
1193 (define-function empathy_presence_chooser_new
1194 (c-name "empathy_presence_chooser_new")
1195 (is-constructor-of "EmpathyPresenceChooser")
1196 (return-type "GtkWidget*")
1199 (define-function empathy_presence_chooser_create_menu
1200 (c-name "empathy_presence_chooser_create_menu")
1201 (return-type "GtkWidget*")
1206 ;; From empathy-private-chat.h
1208 (define-function empathy_private_chat_get_type
1209 (c-name "empathy_private_chat_get_type")
1210 (return-type "GType")
1213 (define-function empathy_private_chat_new
1214 (c-name "empathy_private_chat_new")
1215 (is-constructor-of "EmpathyPrivateChat")
1216 (return-type "EmpathyPrivateChat*")
1218 '("McAccount*" "account")
1219 '("TpChan*" "tp_chan")
1223 (define-function empathy_private_chat_new_with_contact
1224 (c-name "empathy_private_chat_new_with_contact")
1225 (return-type "EmpathyPrivateChat*")
1227 '("EmpathyContact*" "contact")
1231 (define-method get_contact
1232 (of-object "EmpathyPrivateChat")
1233 (c-name "empathy_private_chat_get_contact")
1234 (return-type "EmpathyContact*")
1239 ;; From empathy-profile-chooser.h
1241 (define-function empathy_profile_chooser_new
1242 (c-name "empathy_profile_chooser_new")
1243 (is-constructor-of "EmpathyProfileChooser")
1244 (return-type "GtkWidget*")
1247 (define-function empathy_profile_chooser_get_selected
1248 (c-name "empathy_profile_chooser_get_selected")
1249 (return-type "McProfile*")
1251 '("GtkWidget*" "widget")
1257 ;; From empathy-spell-dialog.h
1259 (define-function empathy_spell_dialog_show
1260 (c-name "empathy_spell_dialog_show")
1261 (return-type "none")
1263 '("EmpathyChat*" "chat")
1264 '("GtkTextIter" "start")
1265 '("GtkTextIter" "end")
1266 '("const-gchar*" "word")
1272 ;; From empathy-spell.h
1274 (define-function empathy_spell_supported
1275 (c-name "empathy_spell_supported")
1276 (return-type "gboolean")
1279 (define-function empathy_spell_get_language_name
1280 (c-name "empathy_spell_get_language_name")
1281 (return-type "const-gchar*")
1283 '("const-gchar*" "code")
1287 (define-function empathy_spell_get_language_codes
1288 (c-name "empathy_spell_get_language_codes")
1289 (return-type "GList*")
1292 (define-function empathy_spell_free_language_codes
1293 (c-name "empathy_spell_free_language_codes")
1294 (return-type "none")
1300 (define-function empathy_spell_check
1301 (c-name "empathy_spell_check")
1302 (return-type "gboolean")
1304 '("const-gchar*" "word")
1308 (define-function empathy_spell_get_suggestions
1309 (c-name "empathy_spell_get_suggestions")
1310 (return-type "GList*")
1312 '("const-gchar*" "word")
1316 (define-function empathy_spell_free_suggestions
1317 (c-name "empathy_spell_free_suggestions")
1318 (return-type "none")
1320 '("GList*" "suggestions")
1326 ;; From empathy-status-icon.h
1328 (define-function empathy_status_icon_get_type
1329 (c-name "empathy_status_icon_get_type")
1330 (return-type "GType")
1333 (define-function empathy_status_icon_new
1334 (c-name "empathy_status_icon_new")
1335 (is-constructor-of "EmpathyStatusIcon")
1336 (return-type "EmpathyStatusIcon*")
1338 '("GtkWindow*" "window")
1344 ;; From empathy-status-presets.h
1346 (define-function empathy_status_presets_get_all
1347 (c-name "empathy_status_presets_get_all")
1348 (return-type "none")
1351 (define-function empathy_status_presets_get
1352 (c-name "empathy_status_presets_get")
1353 (return-type "GList*")
1355 '("McPresence" "state")
1356 '("gint" "max_number")
1360 (define-function empathy_status_presets_set_last
1361 (c-name "empathy_status_presets_set_last")
1362 (return-type "none")
1364 '("McPresence" "state")
1365 '("const-gchar*" "status")
1369 (define-function empathy_status_presets_remove
1370 (c-name "empathy_status_presets_remove")
1371 (return-type "none")
1373 '("McPresence" "state")
1374 '("const-gchar*" "status")
1378 (define-function empathy_status_presets_reset
1379 (c-name "empathy_status_presets_reset")
1380 (return-type "none")
1383 (define-function empathy_status_presets_get_default_state
1384 (c-name "empathy_status_presets_get_default_state")
1385 (return-type "McPresence")
1388 (define-function empathy_status_presets_get_default_status
1389 (c-name "empathy_status_presets_get_default_status")
1390 (return-type "const-gchar*")
1393 (define-function empathy_status_presets_set_default
1394 (c-name "empathy_status_presets_set_default")
1395 (return-type "none")
1397 '("McPresence" "state")
1398 '("const-gchar*" "status")
1402 (define-function empathy_status_presets_clear_default
1403 (c-name "empathy_status_presets_clear_default")
1404 (return-type "none")
1409 ;; From empathy-theme-manager.h
1411 (define-function empathy_theme_manager_get_type
1412 (c-name "empathy_theme_manager_get_type")
1413 (return-type "GType")
1416 (define-function empathy_theme_manager_get
1417 (c-name "empathy_theme_manager_get")
1418 (return-type "EmpathyThemeManager*")
1421 (define-function empathy_theme_manager_get_themes
1422 (c-name "empathy_theme_manager_get_themes")
1423 (return-type "const-gchar**")
1426 (define-method apply
1427 (of-object "EmpathyThemeManager")
1428 (c-name "empathy_theme_manager_apply")
1429 (return-type "none")
1431 '("EmpathyChatView*" "view")
1432 '("const-gchar*" "theme")
1436 (define-method apply_saved
1437 (of-object "EmpathyThemeManager")
1438 (c-name "empathy_theme_manager_apply_saved")
1439 (return-type "none")
1441 '("EmpathyChatView*" "view")
1445 (define-method update_show_avatars
1446 (of-object "EmpathyThemeManager")
1447 (c-name "empathy_theme_manager_update_show_avatars")
1448 (return-type "none")
1450 '("EmpathyChatView*" "view")
1451 '("gboolean" "show")
1457 ;; From empathy-ui-utils.h
1459 (define-function empathy_glade_get_file_simple
1460 (c-name "empathy_glade_get_file_simple")
1461 (return-type "none")
1463 '("const-gchar*" "filename")
1464 '("const-gchar*" "root")
1465 '("const-gchar*" "domain")
1466 '("const-gchar*" "first_required_widget")
1471 (define-function empathy_glade_get_file
1472 (c-name "empathy_glade_get_file")
1473 (return-type "GladeXML*")
1475 '("const-gchar*" "filename")
1476 '("const-gchar*" "root")
1477 '("const-gchar*" "domain")
1478 '("const-gchar*" "first_required_widget")
1483 (define-function empathy_glade_connect
1484 (c-name "empathy_glade_connect")
1485 (return-type "none")
1487 '("GladeXML*" "gui")
1488 '("gpointer" "user_data")
1489 '("gchar*" "first_widget")
1494 (define-function empathy_glade_setup_size_group
1495 (c-name "empathy_glade_setup_size_group")
1496 (return-type "none")
1498 '("GladeXML*" "gui")
1499 '("GtkSizeGroupMode" "mode")
1500 '("gchar*" "first_widget")
1505 (define-function empathy_pixbuf_from_icon_name
1506 (c-name "empathy_pixbuf_from_icon_name")
1507 (return-type "GdkPixbuf*")
1509 '("const-gchar*" "icon_name")
1510 '("GtkIconSize" "icon_size")
1514 (define-function empathy_pixbuf_from_smiley
1515 (c-name "empathy_pixbuf_from_smiley")
1516 (return-type "GdkPixbuf*")
1518 '("EmpathySmiley" "type")
1519 '("GtkIconSize" "icon_size")
1523 (define-function empathy_icon_name_from_account
1524 (c-name "empathy_icon_name_from_account")
1525 (return-type "const-gchar*")
1527 '("McAccount*" "account")
1531 (define-function empathy_icon_name_for_presence_state
1532 (c-name "empathy_icon_name_for_presence_state")
1533 (return-type "const-gchar*")
1535 '("McPresence" "state")
1539 (define-function empathy_icon_name_for_presence
1540 (c-name "empathy_icon_name_for_presence")
1541 (return-type "const-gchar*")
1543 '("EmpathyPresence*" "presence")
1547 (define-function empathy_icon_name_for_contact
1548 (c-name "empathy_icon_name_for_contact")
1549 (return-type "const-gchar*")
1551 '("EmpathyContact*" "contact")
1555 (define-function empathy_pixbuf_from_avatar_scaled
1556 (c-name "empathy_pixbuf_from_avatar_scaled")
1557 (return-type "GdkPixbuf*")
1559 '("EmpathyAvatar*" "avatar")
1565 (define-function empathy_pixbuf_avatar_from_contact_scaled
1566 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1567 (return-type "GdkPixbuf*")
1569 '("EmpathyContact*" "contact")
1575 (define-function empathy_text_iter_forward_search
1576 (c-name "empathy_text_iter_forward_search")
1577 (return-type "gboolean")
1579 '("const-GtkTextIter*" "iter")
1580 '("const-gchar*" "str")
1581 '("GtkTextIter*" "match_start")
1582 '("GtkTextIter*" "match_end")
1583 '("const-GtkTextIter*" "limit")
1587 (define-function empathy_text_iter_backward_search
1588 (c-name "empathy_text_iter_backward_search")
1589 (return-type "gboolean")
1591 '("const-GtkTextIter*" "iter")
1592 '("const-gchar*" "str")
1593 '("GtkTextIter*" "match_start")
1594 '("GtkTextIter*" "match_end")
1595 '("const-GtkTextIter*" "limit")
1599 (define-function empathy_window_get_is_visible
1600 (c-name "empathy_window_get_is_visible")
1601 (return-type "gboolean")
1603 '("GtkWindow*" "window")
1607 (define-function empathy_window_present
1608 (c-name "empathy_window_present")
1609 (return-type "none")
1611 '("GtkWindow*" "window")
1612 '("gboolean" "steal_focus")
1616 (define-function empathy_window_iconify
1617 (c-name "empathy_window_iconify")
1618 (return-type "none")
1620 '("GtkWindow*" "window")
1621 '("GtkStatusIcon*" "status_icon")
1625 (define-function empathy_get_toplevel_window
1626 (c-name "empathy_get_toplevel_window")
1627 (return-type "GtkWindow*")
1629 '("GtkWidget*" "widget")
1633 (define-function empathy_url_show
1634 (c-name "empathy_url_show")
1635 (return-type "none")
1637 '("const-char*" "url")
1641 (define-function empathy_toggle_button_set_state_quietly
1642 (c-name "empathy_toggle_button_set_state_quietly")
1643 (return-type "none")
1645 '("GtkWidget*" "widget")
1646 '("GCallback" "callback")
1647 '("gpointer" "user_data")
1648 '("gboolean" "active")
1652 (define-function empathy_link_button_new
1653 (c-name "empathy_link_button_new")
1654 (is-constructor-of "EmpathyLinkButton")
1655 (return-type "GtkWidget*")
1657 '("const-gchar*" "url")
1658 '("const-gchar*" "title")
1664 ;; From ephy-spinner.h
1666 (define-function ephy_spinner_get_type
1667 (c-name "ephy_spinner_get_type")
1668 (return-type "GType")
1671 (define-function ephy_spinner_new
1672 (c-name "ephy_spinner_new")
1673 (is-constructor-of "EphySpinner")
1674 (return-type "GtkWidget*")
1677 (define-method start
1678 (of-object "EphySpinner")
1679 (c-name "ephy_spinner_start")
1680 (return-type "none")
1684 (of-object "EphySpinner")
1685 (c-name "ephy_spinner_stop")
1686 (return-type "none")
1689 (define-method set_size
1690 (of-object "EphySpinner")
1691 (c-name "ephy_spinner_set_size")
1692 (return-type "none")
1694 '("GtkIconSize" "size")