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 get_irc_style
638 (of-object "EmpathyChatView")
639 (c-name "empathy_chat_view_get_irc_style")
640 (return-type "gboolean")
643 (define-method set_irc_style
644 (of-object "EmpathyChatView")
645 (c-name "empathy_chat_view_set_irc_style")
648 '("gboolean" "irc_style")
652 (define-method set_margin
653 (of-object "EmpathyChatView")
654 (c-name "empathy_chat_view_set_margin")
661 (define-function empathy_chat_view_get_smiley_menu
662 (c-name "empathy_chat_view_get_smiley_menu")
663 (return-type "GtkWidget*")
665 '("GCallback" "callback")
666 '("gpointer" "user_data")
667 '("GtkTooltips*" "tooltips")
671 (define-method set_is_group_chat
672 (of-object "EmpathyChatView")
673 (c-name "empathy_chat_view_set_is_group_chat")
676 '("gboolean" "is_group_chat")
682 ;; From empathy-chat-window.h
684 (define-function empathy_chat_window_get_type
685 (c-name "empathy_chat_window_get_type")
686 (return-type "GType")
689 (define-function empathy_chat_window_get_default
690 (c-name "empathy_chat_window_get_default")
691 (return-type "EmpathyChatWindow*")
694 (define-function empathy_chat_window_new
695 (c-name "empathy_chat_window_new")
696 (is-constructor-of "EmpathyChatWindow")
697 (return-type "EmpathyChatWindow*")
700 (define-method get_dialog
701 (of-object "EmpathyChatWindow")
702 (c-name "empathy_chat_window_get_dialog")
703 (return-type "GtkWidget*")
706 (define-method add_chat
707 (of-object "EmpathyChatWindow")
708 (c-name "empathy_chat_window_add_chat")
711 '("EmpathyChat*" "chat")
715 (define-method remove_chat
716 (of-object "EmpathyChatWindow")
717 (c-name "empathy_chat_window_remove_chat")
720 '("EmpathyChat*" "chat")
724 (define-method move_chat
725 (of-object "EmpathyChatWindow")
726 (c-name "empathy_chat_window_move_chat")
729 '("EmpathyChatWindow*" "new_window")
730 '("EmpathyChat*" "chat")
734 (define-method switch_to_chat
735 (of-object "EmpathyChatWindow")
736 (c-name "empathy_chat_window_switch_to_chat")
739 '("EmpathyChat*" "chat")
743 (define-method has_focus
744 (of-object "EmpathyChatWindow")
745 (c-name "empathy_chat_window_has_focus")
746 (return-type "gboolean")
749 (define-function empathy_chat_window_find_chat
750 (c-name "empathy_chat_window_find_chat")
751 (return-type "EmpathyChat*")
753 '("McAccount*" "account")
754 '("const-gchar*" "id")
760 ;; From empathy-contact-dialogs.h
762 (define-function empathy_subscription_dialog_show
763 (c-name "empathy_subscription_dialog_show")
766 '("EmpathyContact*" "contact")
767 '("GtkWindow*" "parent")
771 (define-method information_dialog_show
772 (of-object "EmpathyContact")
773 (c-name "empathy_contact_information_dialog_show")
776 '("GtkWindow*" "parent")
781 (define-function empathy_new_contact_dialog_show
782 (c-name "empathy_new_contact_dialog_show")
785 '("GtkWindow*" "parent")
791 ;; From empathy-contact-groups.h
793 (define-function empathy_contact_groups_get_all
794 (c-name "empathy_contact_groups_get_all")
798 (define-function empathy_contact_group_get_expanded
799 (c-name "empathy_contact_group_get_expanded")
800 (return-type "gboolean")
802 '("const-gchar*" "group")
806 (define-function empathy_contact_group_set_expanded
807 (c-name "empathy_contact_group_set_expanded")
810 '("const-gchar*" "group")
811 '("gboolean" "expanded")
817 ;; From empathy-contact-list-store.h
819 (define-function empathy_contact_list_store_get_type
820 (c-name "empathy_contact_list_store_get_type")
821 (return-type "GType")
824 (define-method store_new
825 (of-object "EmpathyContactList")
826 (c-name "empathy_contact_list_store_new")
827 (return-type "EmpathyContactListStore*")
830 (define-method get_list_iface
831 (of-object "EmpathyContactListStore")
832 (c-name "empathy_contact_list_store_get_list_iface")
833 (return-type "EmpathyContactList*")
836 (define-method get_show_offline
837 (of-object "EmpathyContactListStore")
838 (c-name "empathy_contact_list_store_get_show_offline")
839 (return-type "gboolean")
842 (define-method set_show_offline
843 (of-object "EmpathyContactListStore")
844 (c-name "empathy_contact_list_store_set_show_offline")
847 '("gboolean" "show_offline")
851 (define-method get_show_avatars
852 (of-object "EmpathyContactListStore")
853 (c-name "empathy_contact_list_store_get_show_avatars")
854 (return-type "gboolean")
857 (define-method set_show_avatars
858 (of-object "EmpathyContactListStore")
859 (c-name "empathy_contact_list_store_set_show_avatars")
862 '("gboolean" "show_avatars")
866 (define-method get_is_compact
867 (of-object "EmpathyContactListStore")
868 (c-name "empathy_contact_list_store_get_is_compact")
869 (return-type "gboolean")
872 (define-method set_is_compact
873 (of-object "EmpathyContactListStore")
874 (c-name "empathy_contact_list_store_set_is_compact")
877 '("gboolean" "is_compact")
881 (define-method get_sort_criterium
882 (of-object "EmpathyContactListStore")
883 (c-name "empathy_contact_list_store_get_sort_criterium")
884 (return-type "EmpathyContactListStoreSort")
887 (define-method set_sort_criterium
888 (of-object "EmpathyContactListStore")
889 (c-name "empathy_contact_list_store_set_sort_criterium")
892 '("EmpathyContactListStoreSort" "sort_criterium")
896 (define-function empathy_contact_list_store_row_separator_func
897 (c-name "empathy_contact_list_store_row_separator_func")
898 (return-type "gboolean")
900 '("GtkTreeModel*" "model")
901 '("GtkTreeIter*" "iter")
906 (define-function empathy_contact_list_store_get_parent_group
907 (c-name "empathy_contact_list_store_get_parent_group")
908 (return-type "gchar*")
910 '("GtkTreeModel*" "model")
911 '("GtkTreePath*" "path")
912 '("gboolean*" "path_is_group")
916 (define-function empathy_contact_list_store_search_equal_func
917 (c-name "empathy_contact_list_store_search_equal_func")
918 (return-type "gboolean")
920 '("GtkTreeModel*" "model")
922 '("const-gchar*" "key")
923 '("GtkTreeIter*" "iter")
924 '("gpointer" "search_data")
930 ;; From empathy-contact-list-view.h
932 (define-function empathy_contact_list_view_get_type
933 (c-name "empathy_contact_list_view_get_type")
934 (return-type "GType")
937 (define-function empathy_contact_list_view_new
938 (c-name "empathy_contact_list_view_new")
939 (is-constructor-of "EmpathyContactListView")
940 (return-type "EmpathyContactListView*")
942 '("EmpathyContactListStore*" "store")
946 (define-method get_selected
947 (of-object "EmpathyContactListView")
948 (c-name "empathy_contact_list_view_get_selected")
949 (return-type "EmpathyContact*")
952 (define-method get_selected_group
953 (of-object "EmpathyContactListView")
954 (c-name "empathy_contact_list_view_get_selected_group")
955 (return-type "gchar*")
958 (define-method get_contact_menu
959 (of-object "EmpathyContactListView")
960 (c-name "empathy_contact_list_view_get_contact_menu")
961 (return-type "GtkWidget*")
963 '("EmpathyContact*" "contact")
967 (define-method get_group_menu
968 (of-object "EmpathyContactListView")
969 (c-name "empathy_contact_list_view_get_group_menu")
970 (return-type "GtkWidget*")
975 ;; From empathy-contact-widget.h
977 (define-method widget_new
978 (of-object "EmpathyContact")
979 (c-name "empathy_contact_widget_new")
980 (return-type "GtkWidget*")
982 '("EmpathyContactWidgetType" "type")
986 (define-function empathy_contact_widget_get_contact
987 (c-name "empathy_contact_widget_get_contact")
988 (return-type "EmpathyContact*")
990 '("GtkWidget*" "widget")
996 ;; From empathy-geometry.h
998 (define-function empathy_geometry_save
999 (c-name "empathy_geometry_save")
1000 (return-type "none")
1002 '("const-gchar*" "name")
1010 (define-function empathy_geometry_load
1011 (c-name "empathy_geometry_load")
1012 (return-type "none")
1014 '("const-gchar*" "name")
1024 ;; From empathy-group-chat.h
1026 (define-function empathy_group_chat_get_type
1027 (c-name "empathy_group_chat_get_type")
1028 (return-type "GType")
1031 (define-function empathy_group_chat_new
1032 (c-name "empathy_group_chat_new")
1033 (is-constructor-of "EmpathyGroupChat")
1034 (return-type "EmpathyGroupChat*")
1036 '("McAccount*" "account")
1037 '("TpChan*" "tp_chan")
1041 (define-method get_show_contacts
1042 (of-object "EmpathyGroupChat")
1043 (c-name "empathy_group_chat_get_show_contacts")
1044 (return-type "gboolean")
1047 (define-method set_show_contacts
1048 (of-object "EmpathyGroupChat")
1049 (c-name "empathy_group_chat_set_show_contacts")
1050 (return-type "none")
1052 '("gboolean" "show")
1056 (define-method set_topic
1057 (of-object "EmpathyGroupChat")
1058 (c-name "empathy_group_chat_set_topic")
1059 (return-type "none")
1064 ;; From empathy-images.h
1068 ;; From empathy-log-window.h
1070 (define-function empathy_log_window_show
1071 (c-name "empathy_log_window_show")
1072 (return-type "none")
1074 '("McAccount*" "account")
1075 '("const-gchar*" "chat_id")
1076 '("gboolean" "chatroom")
1077 '("GtkWindow*" "parent")
1083 ;; From empathy-main-window.h
1085 (define-function empathy_main_window_show
1086 (c-name "empathy_main_window_show")
1087 (return-type "GtkWidget*")
1092 ;; From empathy-new-chatroom-dialog.h
1094 (define-function empathy_new_chatroom_dialog_show
1095 (c-name "empathy_new_chatroom_dialog_show")
1096 (return-type "none")
1098 '("GtkWindow*" "parent")
1104 ;; From empathy-preferences.h
1106 (define-function empathy_preferences_show
1107 (c-name "empathy_preferences_show")
1108 (return-type "GtkWidget*")
1110 '("GtkWindow*" "parent")
1116 ;; From empathy-presence-chooser.h
1118 (define-function empathy_presence_chooser_get_type
1119 (c-name "empathy_presence_chooser_get_type")
1120 (return-type "GType")
1123 (define-function empathy_presence_chooser_new
1124 (c-name "empathy_presence_chooser_new")
1125 (is-constructor-of "EmpathyPresenceChooser")
1126 (return-type "GtkWidget*")
1129 (define-function empathy_presence_chooser_create_menu
1130 (c-name "empathy_presence_chooser_create_menu")
1131 (return-type "GtkWidget*")
1136 ;; From empathy-private-chat.h
1138 (define-function empathy_private_chat_get_type
1139 (c-name "empathy_private_chat_get_type")
1140 (return-type "GType")
1143 (define-function empathy_private_chat_new
1144 (c-name "empathy_private_chat_new")
1145 (is-constructor-of "EmpathyPrivateChat")
1146 (return-type "EmpathyPrivateChat*")
1148 '("McAccount*" "account")
1149 '("TpChan*" "tp_chan")
1153 (define-function empathy_private_chat_new_with_contact
1154 (c-name "empathy_private_chat_new_with_contact")
1155 (return-type "EmpathyPrivateChat*")
1157 '("EmpathyContact*" "contact")
1161 (define-method get_contact
1162 (of-object "EmpathyPrivateChat")
1163 (c-name "empathy_private_chat_get_contact")
1164 (return-type "EmpathyContact*")
1169 ;; From empathy-profile-chooser.h
1171 (define-function empathy_profile_chooser_new
1172 (c-name "empathy_profile_chooser_new")
1173 (is-constructor-of "EmpathyProfileChooser")
1174 (return-type "GtkWidget*")
1177 (define-function empathy_profile_chooser_get_selected
1178 (c-name "empathy_profile_chooser_get_selected")
1179 (return-type "McProfile*")
1181 '("GtkWidget*" "widget")
1187 ;; From empathy-smiley-manager.h
1189 (define-function empathy_smiley_manager_get_type
1190 (c-name "empathy_smiley_manager_get_type")
1191 (return-type "GType")
1194 (define-function empathy_smiley_manager_new
1195 (c-name "empathy_smiley_manager_new")
1196 (is-constructor-of "EmpathySmileyManager")
1197 (return-type "EmpathySmileyManager*")
1201 (of-object "EmpathySmileyManager")
1202 (c-name "empathy_smiley_manager_load")
1203 (return-type "none")
1207 (of-object "EmpathySmileyManager")
1208 (c-name "empathy_smiley_manager_add")
1209 (return-type "none")
1211 '("const-gchar*" "icon_name")
1212 '("const-gchar*" "first_str")
1217 (define-method add_from_pixbuf
1218 (of-object "EmpathySmileyManager")
1219 (c-name "empathy_smiley_manager_add_from_pixbuf")
1220 (return-type "none")
1222 '("GdkPixbuf*" "smiley")
1223 '("const-gchar*" "first_str")
1228 (define-method get_all
1229 (of-object "EmpathySmileyManager")
1230 (c-name "empathy_smiley_manager_get_all")
1231 (return-type "GSList*")
1234 (define-method parse
1235 (of-object "EmpathySmileyManager")
1236 (c-name "empathy_smiley_manager_parse")
1237 (return-type "GSList*")
1239 '("const-gchar*" "text")
1244 (of-object "EmpathySmiley")
1245 (c-name "empathy_smiley_free")
1246 (return-type "none")
1251 ;; From empathy-spell-dialog.h
1253 (define-function empathy_spell_dialog_show
1254 (c-name "empathy_spell_dialog_show")
1255 (return-type "none")
1257 '("EmpathyChat*" "chat")
1258 '("GtkTextIter" "start")
1259 '("GtkTextIter" "end")
1260 '("const-gchar*" "word")
1266 ;; From empathy-spell.h
1268 (define-function empathy_spell_supported
1269 (c-name "empathy_spell_supported")
1270 (return-type "gboolean")
1273 (define-function empathy_spell_get_language_name
1274 (c-name "empathy_spell_get_language_name")
1275 (return-type "const-gchar*")
1277 '("const-gchar*" "code")
1281 (define-function empathy_spell_get_language_codes
1282 (c-name "empathy_spell_get_language_codes")
1283 (return-type "GList*")
1286 (define-function empathy_spell_free_language_codes
1287 (c-name "empathy_spell_free_language_codes")
1288 (return-type "none")
1294 (define-function empathy_spell_check
1295 (c-name "empathy_spell_check")
1296 (return-type "gboolean")
1298 '("const-gchar*" "word")
1302 (define-function empathy_spell_get_suggestions
1303 (c-name "empathy_spell_get_suggestions")
1304 (return-type "GList*")
1306 '("const-gchar*" "word")
1310 (define-function empathy_spell_free_suggestions
1311 (c-name "empathy_spell_free_suggestions")
1312 (return-type "none")
1314 '("GList*" "suggestions")
1320 ;; From empathy-status-icon.h
1322 (define-function empathy_status_icon_get_type
1323 (c-name "empathy_status_icon_get_type")
1324 (return-type "GType")
1327 (define-function empathy_status_icon_new
1328 (c-name "empathy_status_icon_new")
1329 (is-constructor-of "EmpathyStatusIcon")
1330 (return-type "EmpathyStatusIcon*")
1332 '("GtkWindow*" "window")
1338 ;; From empathy-status-presets.h
1340 (define-function empathy_status_presets_get_all
1341 (c-name "empathy_status_presets_get_all")
1342 (return-type "none")
1345 (define-function empathy_status_presets_get
1346 (c-name "empathy_status_presets_get")
1347 (return-type "GList*")
1349 '("McPresence" "state")
1350 '("gint" "max_number")
1354 (define-function empathy_status_presets_set_last
1355 (c-name "empathy_status_presets_set_last")
1356 (return-type "none")
1358 '("McPresence" "state")
1359 '("const-gchar*" "status")
1363 (define-function empathy_status_presets_remove
1364 (c-name "empathy_status_presets_remove")
1365 (return-type "none")
1367 '("McPresence" "state")
1368 '("const-gchar*" "status")
1372 (define-function empathy_status_presets_reset
1373 (c-name "empathy_status_presets_reset")
1374 (return-type "none")
1377 (define-function empathy_status_presets_get_default_state
1378 (c-name "empathy_status_presets_get_default_state")
1379 (return-type "McPresence")
1382 (define-function empathy_status_presets_get_default_status
1383 (c-name "empathy_status_presets_get_default_status")
1384 (return-type "const-gchar*")
1387 (define-function empathy_status_presets_set_default
1388 (c-name "empathy_status_presets_set_default")
1389 (return-type "none")
1391 '("McPresence" "state")
1392 '("const-gchar*" "status")
1396 (define-function empathy_status_presets_clear_default
1397 (c-name "empathy_status_presets_clear_default")
1398 (return-type "none")
1403 ;; From empathy-theme-manager.h
1405 (define-function empathy_theme_manager_get_type
1406 (c-name "empathy_theme_manager_get_type")
1407 (return-type "GType")
1410 (define-function empathy_theme_manager_get
1411 (c-name "empathy_theme_manager_get")
1412 (return-type "EmpathyThemeManager*")
1415 (define-function empathy_theme_manager_get_themes
1416 (c-name "empathy_theme_manager_get_themes")
1417 (return-type "const-gchar**")
1420 (define-method apply
1421 (of-object "EmpathyThemeManager")
1422 (c-name "empathy_theme_manager_apply")
1423 (return-type "none")
1425 '("EmpathyChatView*" "view")
1426 '("const-gchar*" "theme")
1430 (define-method apply_saved
1431 (of-object "EmpathyThemeManager")
1432 (c-name "empathy_theme_manager_apply_saved")
1433 (return-type "none")
1435 '("EmpathyChatView*" "view")
1439 (define-method update_show_avatars
1440 (of-object "EmpathyThemeManager")
1441 (c-name "empathy_theme_manager_update_show_avatars")
1442 (return-type "none")
1444 '("EmpathyChatView*" "view")
1445 '("gboolean" "show")
1451 ;; From empathy-ui-utils.h
1453 (define-function empathy_glade_get_file_simple
1454 (c-name "empathy_glade_get_file_simple")
1455 (return-type "none")
1457 '("const-gchar*" "filename")
1458 '("const-gchar*" "root")
1459 '("const-gchar*" "domain")
1460 '("const-gchar*" "first_required_widget")
1465 (define-function empathy_glade_get_file
1466 (c-name "empathy_glade_get_file")
1467 (return-type "GladeXML*")
1469 '("const-gchar*" "filename")
1470 '("const-gchar*" "root")
1471 '("const-gchar*" "domain")
1472 '("const-gchar*" "first_required_widget")
1477 (define-function empathy_glade_connect
1478 (c-name "empathy_glade_connect")
1479 (return-type "none")
1481 '("GladeXML*" "gui")
1482 '("gpointer" "user_data")
1483 '("gchar*" "first_widget")
1488 (define-function empathy_glade_setup_size_group
1489 (c-name "empathy_glade_setup_size_group")
1490 (return-type "none")
1492 '("GladeXML*" "gui")
1493 '("GtkSizeGroupMode" "mode")
1494 '("gchar*" "first_widget")
1499 (define-function empathy_pixbuf_from_icon_name
1500 (c-name "empathy_pixbuf_from_icon_name")
1501 (return-type "GdkPixbuf*")
1503 '("const-gchar*" "icon_name")
1504 '("GtkIconSize" "icon_size")
1508 (define-function empathy_icon_name_from_account
1509 (c-name "empathy_icon_name_from_account")
1510 (return-type "const-gchar*")
1512 '("McAccount*" "account")
1516 (define-function empathy_icon_name_for_presence_state
1517 (c-name "empathy_icon_name_for_presence_state")
1518 (return-type "const-gchar*")
1520 '("McPresence" "state")
1524 (define-function empathy_icon_name_for_presence
1525 (c-name "empathy_icon_name_for_presence")
1526 (return-type "const-gchar*")
1528 '("EmpathyPresence*" "presence")
1532 (define-function empathy_icon_name_for_contact
1533 (c-name "empathy_icon_name_for_contact")
1534 (return-type "const-gchar*")
1536 '("EmpathyContact*" "contact")
1540 (define-function empathy_pixbuf_from_avatar_scaled
1541 (c-name "empathy_pixbuf_from_avatar_scaled")
1542 (return-type "GdkPixbuf*")
1544 '("EmpathyAvatar*" "avatar")
1550 (define-function empathy_pixbuf_avatar_from_contact_scaled
1551 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1552 (return-type "GdkPixbuf*")
1554 '("EmpathyContact*" "contact")
1560 (define-function empathy_text_iter_forward_search
1561 (c-name "empathy_text_iter_forward_search")
1562 (return-type "gboolean")
1564 '("const-GtkTextIter*" "iter")
1565 '("const-gchar*" "str")
1566 '("GtkTextIter*" "match_start")
1567 '("GtkTextIter*" "match_end")
1568 '("const-GtkTextIter*" "limit")
1572 (define-function empathy_text_iter_backward_search
1573 (c-name "empathy_text_iter_backward_search")
1574 (return-type "gboolean")
1576 '("const-GtkTextIter*" "iter")
1577 '("const-gchar*" "str")
1578 '("GtkTextIter*" "match_start")
1579 '("GtkTextIter*" "match_end")
1580 '("const-GtkTextIter*" "limit")
1584 (define-function empathy_window_get_is_visible
1585 (c-name "empathy_window_get_is_visible")
1586 (return-type "gboolean")
1588 '("GtkWindow*" "window")
1592 (define-function empathy_window_present
1593 (c-name "empathy_window_present")
1594 (return-type "none")
1596 '("GtkWindow*" "window")
1597 '("gboolean" "steal_focus")
1601 (define-function empathy_window_iconify
1602 (c-name "empathy_window_iconify")
1603 (return-type "none")
1605 '("GtkWindow*" "window")
1606 '("GtkStatusIcon*" "status_icon")
1610 (define-function empathy_get_toplevel_window
1611 (c-name "empathy_get_toplevel_window")
1612 (return-type "GtkWindow*")
1614 '("GtkWidget*" "widget")
1618 (define-function empathy_url_show
1619 (c-name "empathy_url_show")
1620 (return-type "none")
1622 '("const-char*" "url")
1626 (define-function empathy_toggle_button_set_state_quietly
1627 (c-name "empathy_toggle_button_set_state_quietly")
1628 (return-type "none")
1630 '("GtkWidget*" "widget")
1631 '("GCallback" "callback")
1632 '("gpointer" "user_data")
1633 '("gboolean" "active")
1637 (define-function empathy_link_button_new
1638 (c-name "empathy_link_button_new")
1639 (is-constructor-of "EmpathyLinkButton")
1640 (return-type "GtkWidget*")
1642 '("const-gchar*" "url")
1643 '("const-gchar*" "title")
1649 ;; From ephy-spinner.h
1651 (define-function ephy_spinner_get_type
1652 (c-name "ephy_spinner_get_type")
1653 (return-type "GType")
1656 (define-function ephy_spinner_new
1657 (c-name "ephy_spinner_new")
1658 (is-constructor-of "EphySpinner")
1659 (return-type "GtkWidget*")
1662 (define-method start
1663 (of-object "EphySpinner")
1664 (c-name "ephy_spinner_start")
1665 (return-type "none")
1669 (of-object "EphySpinner")
1670 (c-name "ephy_spinner_stop")
1671 (return-type "none")
1674 (define-method set_size
1675 (of-object "EphySpinner")
1676 (c-name "ephy_spinner_set_size")
1677 (return-type "none")
1679 '("GtkIconSize" "size")