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-method get_contact
1154 (of-object "EmpathyPrivateChat")
1155 (c-name "empathy_private_chat_get_contact")
1156 (return-type "EmpathyContact*")
1161 ;; From empathy-profile-chooser.h
1163 (define-function empathy_profile_chooser_new
1164 (c-name "empathy_profile_chooser_new")
1165 (is-constructor-of "EmpathyProfileChooser")
1166 (return-type "GtkWidget*")
1169 (define-function empathy_profile_chooser_get_selected
1170 (c-name "empathy_profile_chooser_get_selected")
1171 (return-type "McProfile*")
1173 '("GtkWidget*" "widget")
1179 ;; From empathy-smiley-manager.h
1181 (define-function empathy_smiley_manager_get_type
1182 (c-name "empathy_smiley_manager_get_type")
1183 (return-type "GType")
1186 (define-function empathy_smiley_manager_new
1187 (c-name "empathy_smiley_manager_new")
1188 (is-constructor-of "EmpathySmileyManager")
1189 (return-type "EmpathySmileyManager*")
1193 (of-object "EmpathySmileyManager")
1194 (c-name "empathy_smiley_manager_load")
1195 (return-type "none")
1199 (of-object "EmpathySmileyManager")
1200 (c-name "empathy_smiley_manager_add")
1201 (return-type "none")
1203 '("const-gchar*" "icon_name")
1204 '("const-gchar*" "first_str")
1209 (define-method add_from_pixbuf
1210 (of-object "EmpathySmileyManager")
1211 (c-name "empathy_smiley_manager_add_from_pixbuf")
1212 (return-type "none")
1214 '("GdkPixbuf*" "smiley")
1215 '("const-gchar*" "first_str")
1220 (define-method get_all
1221 (of-object "EmpathySmileyManager")
1222 (c-name "empathy_smiley_manager_get_all")
1223 (return-type "GSList*")
1226 (define-method parse
1227 (of-object "EmpathySmileyManager")
1228 (c-name "empathy_smiley_manager_parse")
1229 (return-type "GSList*")
1231 '("const-gchar*" "text")
1236 (of-object "EmpathySmiley")
1237 (c-name "empathy_smiley_free")
1238 (return-type "none")
1243 ;; From empathy-spell-dialog.h
1245 (define-function empathy_spell_dialog_show
1246 (c-name "empathy_spell_dialog_show")
1247 (return-type "none")
1249 '("EmpathyChat*" "chat")
1250 '("GtkTextIter" "start")
1251 '("GtkTextIter" "end")
1252 '("const-gchar*" "word")
1258 ;; From empathy-spell.h
1260 (define-function empathy_spell_supported
1261 (c-name "empathy_spell_supported")
1262 (return-type "gboolean")
1265 (define-function empathy_spell_get_language_name
1266 (c-name "empathy_spell_get_language_name")
1267 (return-type "const-gchar*")
1269 '("const-gchar*" "code")
1273 (define-function empathy_spell_get_language_codes
1274 (c-name "empathy_spell_get_language_codes")
1275 (return-type "GList*")
1278 (define-function empathy_spell_free_language_codes
1279 (c-name "empathy_spell_free_language_codes")
1280 (return-type "none")
1286 (define-function empathy_spell_check
1287 (c-name "empathy_spell_check")
1288 (return-type "gboolean")
1290 '("const-gchar*" "word")
1294 (define-function empathy_spell_get_suggestions
1295 (c-name "empathy_spell_get_suggestions")
1296 (return-type "GList*")
1298 '("const-gchar*" "word")
1302 (define-function empathy_spell_free_suggestions
1303 (c-name "empathy_spell_free_suggestions")
1304 (return-type "none")
1306 '("GList*" "suggestions")
1312 ;; From empathy-status-icon.h
1314 (define-function empathy_status_icon_get_type
1315 (c-name "empathy_status_icon_get_type")
1316 (return-type "GType")
1319 (define-function empathy_status_icon_new
1320 (c-name "empathy_status_icon_new")
1321 (is-constructor-of "EmpathyStatusIcon")
1322 (return-type "EmpathyStatusIcon*")
1324 '("GtkWindow*" "window")
1330 ;; From empathy-status-presets.h
1332 (define-function empathy_status_presets_get_all
1333 (c-name "empathy_status_presets_get_all")
1334 (return-type "none")
1337 (define-function empathy_status_presets_get
1338 (c-name "empathy_status_presets_get")
1339 (return-type "GList*")
1341 '("McPresence" "state")
1342 '("gint" "max_number")
1346 (define-function empathy_status_presets_set_last
1347 (c-name "empathy_status_presets_set_last")
1348 (return-type "none")
1350 '("McPresence" "state")
1351 '("const-gchar*" "status")
1355 (define-function empathy_status_presets_remove
1356 (c-name "empathy_status_presets_remove")
1357 (return-type "none")
1359 '("McPresence" "state")
1360 '("const-gchar*" "status")
1364 (define-function empathy_status_presets_reset
1365 (c-name "empathy_status_presets_reset")
1366 (return-type "none")
1369 (define-function empathy_status_presets_get_default_state
1370 (c-name "empathy_status_presets_get_default_state")
1371 (return-type "McPresence")
1374 (define-function empathy_status_presets_get_default_status
1375 (c-name "empathy_status_presets_get_default_status")
1376 (return-type "const-gchar*")
1379 (define-function empathy_status_presets_set_default
1380 (c-name "empathy_status_presets_set_default")
1381 (return-type "none")
1383 '("McPresence" "state")
1384 '("const-gchar*" "status")
1388 (define-function empathy_status_presets_clear_default
1389 (c-name "empathy_status_presets_clear_default")
1390 (return-type "none")
1395 ;; From empathy-theme-manager.h
1397 (define-function empathy_theme_manager_get_type
1398 (c-name "empathy_theme_manager_get_type")
1399 (return-type "GType")
1402 (define-function empathy_theme_manager_get
1403 (c-name "empathy_theme_manager_get")
1404 (return-type "EmpathyThemeManager*")
1407 (define-function empathy_theme_manager_get_themes
1408 (c-name "empathy_theme_manager_get_themes")
1409 (return-type "const-gchar**")
1412 (define-method apply
1413 (of-object "EmpathyThemeManager")
1414 (c-name "empathy_theme_manager_apply")
1415 (return-type "none")
1417 '("EmpathyChatView*" "view")
1418 '("const-gchar*" "theme")
1422 (define-method apply_saved
1423 (of-object "EmpathyThemeManager")
1424 (c-name "empathy_theme_manager_apply_saved")
1425 (return-type "none")
1427 '("EmpathyChatView*" "view")
1431 (define-method update_show_avatars
1432 (of-object "EmpathyThemeManager")
1433 (c-name "empathy_theme_manager_update_show_avatars")
1434 (return-type "none")
1436 '("EmpathyChatView*" "view")
1437 '("gboolean" "show")
1443 ;; From empathy-ui-utils.h
1445 (define-function empathy_glade_get_file_simple
1446 (c-name "empathy_glade_get_file_simple")
1447 (return-type "none")
1449 '("const-gchar*" "filename")
1450 '("const-gchar*" "root")
1451 '("const-gchar*" "domain")
1452 '("const-gchar*" "first_required_widget")
1457 (define-function empathy_glade_get_file
1458 (c-name "empathy_glade_get_file")
1459 (return-type "GladeXML*")
1461 '("const-gchar*" "filename")
1462 '("const-gchar*" "root")
1463 '("const-gchar*" "domain")
1464 '("const-gchar*" "first_required_widget")
1469 (define-function empathy_glade_connect
1470 (c-name "empathy_glade_connect")
1471 (return-type "none")
1473 '("GladeXML*" "gui")
1474 '("gpointer" "user_data")
1475 '("gchar*" "first_widget")
1480 (define-function empathy_glade_setup_size_group
1481 (c-name "empathy_glade_setup_size_group")
1482 (return-type "none")
1484 '("GladeXML*" "gui")
1485 '("GtkSizeGroupMode" "mode")
1486 '("gchar*" "first_widget")
1491 (define-function empathy_pixbuf_from_icon_name
1492 (c-name "empathy_pixbuf_from_icon_name")
1493 (return-type "GdkPixbuf*")
1495 '("const-gchar*" "icon_name")
1496 '("GtkIconSize" "icon_size")
1500 (define-function empathy_icon_name_from_account
1501 (c-name "empathy_icon_name_from_account")
1502 (return-type "const-gchar*")
1504 '("McAccount*" "account")
1508 (define-function empathy_icon_name_for_presence_state
1509 (c-name "empathy_icon_name_for_presence_state")
1510 (return-type "const-gchar*")
1512 '("McPresence" "state")
1516 (define-function empathy_icon_name_for_presence
1517 (c-name "empathy_icon_name_for_presence")
1518 (return-type "const-gchar*")
1520 '("EmpathyPresence*" "presence")
1524 (define-function empathy_icon_name_for_contact
1525 (c-name "empathy_icon_name_for_contact")
1526 (return-type "const-gchar*")
1528 '("EmpathyContact*" "contact")
1532 (define-function empathy_pixbuf_from_avatar_scaled
1533 (c-name "empathy_pixbuf_from_avatar_scaled")
1534 (return-type "GdkPixbuf*")
1536 '("EmpathyAvatar*" "avatar")
1542 (define-function empathy_pixbuf_avatar_from_contact_scaled
1543 (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1544 (return-type "GdkPixbuf*")
1546 '("EmpathyContact*" "contact")
1552 (define-function empathy_text_iter_forward_search
1553 (c-name "empathy_text_iter_forward_search")
1554 (return-type "gboolean")
1556 '("const-GtkTextIter*" "iter")
1557 '("const-gchar*" "str")
1558 '("GtkTextIter*" "match_start")
1559 '("GtkTextIter*" "match_end")
1560 '("const-GtkTextIter*" "limit")
1564 (define-function empathy_text_iter_backward_search
1565 (c-name "empathy_text_iter_backward_search")
1566 (return-type "gboolean")
1568 '("const-GtkTextIter*" "iter")
1569 '("const-gchar*" "str")
1570 '("GtkTextIter*" "match_start")
1571 '("GtkTextIter*" "match_end")
1572 '("const-GtkTextIter*" "limit")
1576 (define-function empathy_window_get_is_visible
1577 (c-name "empathy_window_get_is_visible")
1578 (return-type "gboolean")
1580 '("GtkWindow*" "window")
1584 (define-function empathy_window_present
1585 (c-name "empathy_window_present")
1586 (return-type "none")
1588 '("GtkWindow*" "window")
1589 '("gboolean" "steal_focus")
1593 (define-function empathy_window_iconify
1594 (c-name "empathy_window_iconify")
1595 (return-type "none")
1597 '("GtkWindow*" "window")
1598 '("GtkStatusIcon*" "status_icon")
1602 (define-function empathy_get_toplevel_window
1603 (c-name "empathy_get_toplevel_window")
1604 (return-type "GtkWindow*")
1606 '("GtkWidget*" "widget")
1610 (define-function empathy_url_show
1611 (c-name "empathy_url_show")
1612 (return-type "none")
1614 '("const-char*" "url")
1618 (define-function empathy_toggle_button_set_state_quietly
1619 (c-name "empathy_toggle_button_set_state_quietly")
1620 (return-type "none")
1622 '("GtkWidget*" "widget")
1623 '("GCallback" "callback")
1624 '("gpointer" "user_data")
1625 '("gboolean" "active")
1629 (define-function empathy_link_button_new
1630 (c-name "empathy_link_button_new")
1631 (is-constructor-of "EmpathyLinkButton")
1632 (return-type "GtkWidget*")
1634 '("const-gchar*" "url")
1635 '("const-gchar*" "title")
1641 ;; From ephy-spinner.h
1643 (define-function ephy_spinner_get_type
1644 (c-name "ephy_spinner_get_type")
1645 (return-type "GType")
1648 (define-function ephy_spinner_new
1649 (c-name "ephy_spinner_new")
1650 (is-constructor-of "EphySpinner")
1651 (return-type "GtkWidget*")
1654 (define-method start
1655 (of-object "EphySpinner")
1656 (c-name "ephy_spinner_start")
1657 (return-type "none")
1661 (of-object "EphySpinner")
1662 (c-name "ephy_spinner_stop")
1663 (return-type "none")
1666 (define-method set_size
1667 (of-object "EphySpinner")
1668 (c-name "ephy_spinner_set_size")
1669 (return-type "none")
1671 '("GtkIconSize" "size")