aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-09-09 19:31:04 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-09-09 19:31:04 +0800
commit748b30ffe4d5b31a8983b05c03d92d871173f66f (patch)
tree3c2ab374eb4dbcd8d8ba7b966e060b70b616dd10 /python/pyempathygtk
parent0dbad573354606e885dd805ce1bb6347f8f9ae68 (diff)
downloadgsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar.gz
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar.bz2
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar.lz
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar.xz
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.tar.zst
gsoc2013-empathy-748b30ffe4d5b31a8983b05c03d92d871173f66f.zip
Update python bindings
svn path=/trunk/; revision=1433
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs1405
1 files changed, 706 insertions, 699 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index e9103a495..2065e4823 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -169,20 +169,6 @@
)
)
-(define-flags ContactWidgetFlags
- (in-module "Empathy")
- (c-name "EmpathyContactWidgetFlags")
- (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
- (values
- '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
- '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
- '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
- '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
- '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
- '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
- )
-)
-
(define-flags ContactFeatureFlags
(in-module "Empathy")
(c-name "EmpathyContactFeatureFlags")
@@ -198,9 +184,20 @@
)
)
-
-;; From empathy-images.h
-
+(define-flags ContactWidgetFlags
+ (in-module "Empathy")
+ (c-name "EmpathyContactWidgetFlags")
+ (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
+ (values
+ '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
+ '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
+ '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
+ '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
+ '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
+ '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
+ '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
+ )
+)
;; From empathy-account-chooser.h
@@ -267,6 +264,234 @@
+;; From empathy-account-widget.h
+
+(define-function account_widget_handle_params
+ (c-name "empathy_account_widget_handle_params")
+ (return-type "none")
+ (parameters
+ '("McAccount*" "account")
+ '("GladeXML*" "glade")
+ '("const-gchar*" "first_widget_name")
+ )
+ (varargs #t)
+)
+
+(define-function account_widget_add_forget_button
+ (c-name "empathy_account_widget_add_forget_button")
+ (return-type "none")
+ (parameters
+ '("McAccount*" "account")
+ '("GladeXML*" "glade")
+ '("const-gchar*" "button")
+ '("const-gchar*" "entry")
+ )
+)
+
+(define-function account_widget_generic_new
+ (c-name "empathy_account_widget_generic_new")
+ (is-constructor-of "EmpathyAccountWidgetGeneric")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_salut_new
+ (c-name "empathy_account_widget_salut_new")
+ (is-constructor-of "EmpathyAccountWidgetSalut")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_msn_new
+ (c-name "empathy_account_widget_msn_new")
+ (is-constructor-of "EmpathyAccountWidgetMsn")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_jabber_new
+ (c-name "empathy_account_widget_jabber_new")
+ (is-constructor-of "EmpathyAccountWidgetJabber")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_icq_new
+ (c-name "empathy_account_widget_icq_new")
+ (is-constructor-of "EmpathyAccountWidgetIcq")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_aim_new
+ (c-name "empathy_account_widget_aim_new")
+ (is-constructor-of "EmpathyAccountWidgetAim")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_yahoo_new
+ (c-name "empathy_account_widget_yahoo_new")
+ (is-constructor-of "EmpathyAccountWidgetYahoo")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function account_widget_groupwise_new
+ (c-name "empathy_account_widget_groupwise_new")
+ (is-constructor-of "EmpathyAccountWidgetGroupwise")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+
+
+;; From empathy-account-widget-irc.h
+
+(define-function account_widget_irc_new
+ (c-name "empathy_account_widget_irc_new")
+ (is-constructor-of "EmpathyAccountWidgetIrc")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+
+
+;; From empathy-account-widget-sip.h
+
+(define-function account_widget_sip_new
+ (c-name "empathy_account_widget_sip_new")
+ (is-constructor-of "EmpathyAccountWidgetSip")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+
+
+;; From empathy-avatar-chooser.h
+
+(define-function avatar_chooser_get_type
+ (c-name "empathy_avatar_chooser_get_type")
+ (return-type "GType")
+)
+
+(define-function avatar_chooser_new
+ (c-name "empathy_avatar_chooser_new")
+ (is-constructor-of "EmpathyAvatarChooser")
+ (return-type "GtkWidget*")
+)
+
+(define-method set
+ (of-object "EmpathyAvatarChooser")
+ (c-name "empathy_avatar_chooser_set")
+ (return-type "none")
+ (parameters
+ '("EmpathyAvatar*" "avatar")
+ )
+)
+
+(define-method get_image_data
+ (of-object "EmpathyAvatarChooser")
+ (c-name "empathy_avatar_chooser_get_image_data")
+ (return-type "none")
+ (parameters
+ '("const-gchar**" "data")
+ '("gsize*" "data_size")
+ '("const-gchar**" "mime_type")
+ )
+)
+
+
+
+;; From empathy-avatar-image.h
+
+(define-function avatar_image_get_type
+ (c-name "empathy_avatar_image_get_type")
+ (return-type "GType")
+)
+
+(define-function avatar_image_new
+ (c-name "empathy_avatar_image_new")
+ (is-constructor-of "EmpathyAvatarImage")
+ (return-type "GtkWidget*")
+)
+
+(define-method set
+ (of-object "EmpathyAvatarImage")
+ (c-name "empathy_avatar_image_set")
+ (return-type "none")
+ (parameters
+ '("EmpathyAvatar*" "avatar")
+ )
+)
+
+
+
+;; From empathy-cell-renderer-activatable.h
+
+(define-function cell_renderer_activatable_get_type
+ (c-name "empathy_cell_renderer_activatable_get_type")
+ (return-type "GType")
+)
+
+(define-function cell_renderer_activatable_new
+ (c-name "empathy_cell_renderer_activatable_new")
+ (is-constructor-of "EmpathyCellRendererActivatable")
+ (return-type "GtkCellRenderer*")
+)
+
+
+
+;; From empathy-cell-renderer-expander.h
+
+(define-function cell_renderer_expander_get_type
+ (c-name "empathy_cell_renderer_expander_get_type")
+ (return-type "GType")
+)
+
+(define-function cell_renderer_expander_new
+ (c-name "empathy_cell_renderer_expander_new")
+ (is-constructor-of "EmpathyCellRendererExpander")
+ (return-type "GtkCellRenderer*")
+)
+
+
+
+;; From empathy-cell-renderer-text.h
+
+(define-function cell_renderer_text_get_type
+ (c-name "empathy_cell_renderer_text_get_type")
+ (return-type "GType")
+)
+
+(define-function cell_renderer_text_new
+ (c-name "empathy_cell_renderer_text_new")
+ (is-constructor-of "EmpathyCellRendererText")
+ (return-type "GtkCellRenderer*")
+)
+
+
+
;; From empathy-chat.h
(define-function chat_get_type
@@ -381,32 +606,10 @@
)
)
-
-
-;; From empathy-irc-network-dialog.h
-
-(define-method dialog_show
- (of-object "EmpathyIrcNetwork")
- (c-name "empathy_irc_network_dialog_show")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "parent")
- )
-)
-
-
-
-;; From empathy-spell-dialog.h
-
-(define-function spell_dialog_show
- (c-name "empathy_spell_dialog_show")
- (return-type "none")
- (parameters
- '("EmpathyChat*" "chat")
- '("GtkTextIter*" "start")
- '("GtkTextIter*" "end")
- '("const-gchar*" "word")
- )
+(define-method is_room
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_is_room")
+ (return-type "gboolean")
)
@@ -594,128 +797,6 @@
-;; From empathy-log-window.h
-
-(define-function log_window_show
- (c-name "empathy_log_window_show")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- '("const-gchar*" "chat_id")
- '("gboolean" "chatroom")
- '("GtkWindow*" "parent")
- )
-)
-
-
-
-;; From empathy-theme-boxes.h
-
-(define-function theme_boxes_get_type
- (c-name "empathy_theme_boxes_get_type")
- (return-type "GType")
-)
-
-
-
-;; From empathy-account-widget.h
-
-(define-function account_widget_handle_params
- (c-name "empathy_account_widget_handle_params")
- (return-type "none")
- (parameters
- '("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "first_widget_name")
- )
- (varargs #t)
-)
-
-(define-function account_widget_add_forget_button
- (c-name "empathy_account_widget_add_forget_button")
- (return-type "none")
- (parameters
- '("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "button")
- '("const-gchar*" "entry")
- )
-)
-
-(define-function account_widget_generic_new
- (c-name "empathy_account_widget_generic_new")
- (is-constructor-of "EmpathyAccountWidgetGeneric")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_salut_new
- (c-name "empathy_account_widget_salut_new")
- (is-constructor-of "EmpathyAccountWidgetSalut")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_msn_new
- (c-name "empathy_account_widget_msn_new")
- (is-constructor-of "EmpathyAccountWidgetMsn")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_jabber_new
- (c-name "empathy_account_widget_jabber_new")
- (is-constructor-of "EmpathyAccountWidgetJabber")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_icq_new
- (c-name "empathy_account_widget_icq_new")
- (is-constructor-of "EmpathyAccountWidgetIcq")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_aim_new
- (c-name "empathy_account_widget_aim_new")
- (is-constructor-of "EmpathyAccountWidgetAim")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_yahoo_new
- (c-name "empathy_account_widget_yahoo_new")
- (is-constructor-of "EmpathyAccountWidgetYahoo")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-(define-function account_widget_groupwise_new
- (c-name "empathy_account_widget_groupwise_new")
- (is-constructor-of "EmpathyAccountWidgetGroupwise")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-
-
;; From empathy-conf.h
(define-function conf_get_type
@@ -835,128 +916,6 @@
-;; From empathy-theme.h
-
-(define-function theme_get_type
- (c-name "empathy_theme_get_type")
- (return-type "GType")
-)
-
-(define-method update_view
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_update_view")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- )
-)
-
-(define-method append_message
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_message")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- '("EmpathyMessage*" "msg")
- )
-)
-
-(define-method append_text
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_text")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- '("const-gchar*" "body")
- '("const-gchar*" "tag")
- '("const-gchar*" "link_tag")
- )
-)
-
-(define-method append_spacing
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_spacing")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- )
-)
-
-(define-method append_event
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_event")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- '("const-gchar*" "str")
- )
-)
-
-(define-method append_timestamp
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_timestamp")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- '("EmpathyMessage*" "message")
- '("gboolean" "show_date")
- '("gboolean" "show_time")
- )
-)
-
-(define-method maybe_append_date_and_time
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_maybe_append_date_and_time")
- (return-type "none")
- (parameters
- '("EmpathyChatView*" "view")
- '("EmpathyMessage*" "message")
- )
-)
-
-(define-method get_show_avatars
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_get_show_avatars")
- (return-type "gboolean")
-)
-
-(define-method set_show_avatars
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_set_show_avatars")
- (return-type "none")
- (parameters
- '("gboolean" "show")
- )
-)
-
-
-
-;; From empathy-account-widget-irc.h
-
-(define-function account_widget_irc_new
- (c-name "empathy_account_widget_irc_new")
- (is-constructor-of "EmpathyAccountWidgetIrc")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-
-
-;; From empathy-account-widget-sip.h
-
-(define-function account_widget_sip_new
- (c-name "empathy_account_widget_sip_new")
- (is-constructor-of "EmpathyAccountWidgetSip")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
-
-
;; From empathy-contact-dialogs.h
(define-function subscription_dialog_show
@@ -989,62 +948,6 @@
-;; From empathy-new-message-dialog.h
-
-(define-function new_message_dialog_show
- (c-name "empathy_new_message_dialog_show")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWindow*" "parent")
- )
-)
-
-
-
-;; From empathy-theme-irc.h
-
-(define-function theme_irc_get_type
- (c-name "empathy_theme_irc_get_type")
- (return-type "GType")
-)
-
-
-
-;; From empathy-avatar-chooser.h
-
-(define-function avatar_chooser_get_type
- (c-name "empathy_avatar_chooser_get_type")
- (return-type "GType")
-)
-
-(define-function avatar_chooser_new
- (c-name "empathy_avatar_chooser_new")
- (is-constructor-of "EmpathyAvatarChooser")
- (return-type "GtkWidget*")
-)
-
-(define-method set
- (of-object "EmpathyAvatarChooser")
- (c-name "empathy_avatar_chooser_set")
- (return-type "none")
- (parameters
- '("EmpathyAvatar*" "avatar")
- )
-)
-
-(define-method get_image_data
- (of-object "EmpathyAvatarChooser")
- (c-name "empathy_avatar_chooser_get_image_data")
- (return-type "none")
- (parameters
- '("const-gchar**" "data")
- '("gsize*" "data_size")
- '("const-gchar**" "mime_type")
- )
-)
-
-
-
;; From empathy-contact-list-store.h
(define-function contact_list_store_get_type
@@ -1176,6 +1079,205 @@
+;; From empathy-contact-list-view.h
+
+(define-function contact_list_view_get_type
+ (c-name "empathy_contact_list_view_get_type")
+ (return-type "GType")
+)
+
+(define-function contact_list_view_new
+ (c-name "empathy_contact_list_view_new")
+ (is-constructor-of "EmpathyContactListView")
+ (return-type "EmpathyContactListView*")
+ (parameters
+ '("EmpathyContactListStore*" "store")
+ '("EmpathyContactListFeatureFlags" "list_features")
+ '("EmpathyContactFeatureFlags" "contact_features")
+ )
+)
+
+(define-method get_selected
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_selected")
+ (return-type "EmpathyContact*")
+)
+
+(define-method get_selected_group
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_selected_group")
+ (return-type "gchar*")
+)
+
+(define-method get_contact_menu
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_contact_menu")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_group_menu
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_group_menu")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From empathy-contact-menu.h
+
+(define-method menu_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_menu_new")
+ (return-type "GtkWidget*")
+ (parameters
+ '("EmpathyContactFeatureFlags" "features")
+ )
+)
+
+(define-method chat_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_chat_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method call_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_call_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method log_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_log_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method info_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_info_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method edit_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_edit_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From empathy-contact-widget.h
+
+(define-method widget_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_widget_new")
+ (return-type "GtkWidget*")
+ (parameters
+ '("EmpathyContactWidgetFlags" "flags")
+ )
+)
+
+(define-function contact_widget_get_contact
+ (c-name "empathy_contact_widget_get_contact")
+ (return-type "EmpathyContact*")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+(define-function contact_widget_set_contact
+ (c-name "empathy_contact_widget_set_contact")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("EmpathyContact*" "contact")
+ )
+)
+
+(define-function contact_widget_set_account_filter
+ (c-name "empathy_contact_widget_set_account_filter")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("EmpathyAccountChooserFilterFunc" "filter")
+ '("gpointer" "user_data")
+ )
+)
+
+
+
+;; From empathy-geometry.h
+
+(define-function geometry_save
+ (c-name "empathy_geometry_save")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "w")
+ '("gint" "h")
+ )
+)
+
+(define-function geometry_load
+ (c-name "empathy_geometry_load")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ '("gint*" "x")
+ '("gint*" "y")
+ '("gint*" "w")
+ '("gint*" "h")
+ )
+)
+
+
+
+;; From empathy-images.h
+
+
+
+;; From empathy-irc-network-dialog.h
+
+(define-method dialog_show
+ (of-object "EmpathyIrcNetwork")
+ (c-name "empathy_irc_network_dialog_show")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWidget*" "parent")
+ )
+)
+
+
+
+;; From empathy-log-window.h
+
+(define-function log_window_show
+ (c-name "empathy_log_window_show")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("GtkWindow*" "parent")
+ )
+)
+
+
+
+;; From empathy-new-message-dialog.h
+
+(define-function new_message_dialog_show
+ (c-name "empathy_new_message_dialog_show")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ )
+)
+
+
+
;; From empathy-presence-chooser.h
(define-function presence_chooser_get_type
@@ -1196,108 +1298,313 @@
-;; From empathy-theme-manager.h
+;; From empathy-profile-chooser.h
-(define-function theme_manager_get_type
- (c-name "empathy_theme_manager_get_type")
+(define-function profile_chooser_new
+ (c-name "empathy_profile_chooser_new")
+ (is-constructor-of "EmpathyProfileChooser")
+ (return-type "GtkWidget*")
+)
+
+(define-function profile_chooser_get_selected
+ (c-name "empathy_profile_chooser_get_selected")
+ (return-type "McProfile*")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+(define-function profile_chooser_n_profiles
+ (c-name "empathy_profile_chooser_n_profiles")
+ (return-type "gint")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+
+
+;; From empathy-smiley-manager.h
+
+(define-function smiley_manager_get_type
+ (c-name "empathy_smiley_manager_get_type")
(return-type "GType")
)
-(define-function theme_manager_get
- (c-name "empathy_theme_manager_get")
- (return-type "EmpathyThemeManager*")
+(define-function smiley_manager_new
+ (c-name "empathy_smiley_manager_new")
+ (is-constructor-of "EmpathySmileyManager")
+ (return-type "EmpathySmileyManager*")
)
-(define-function theme_manager_get_themes
- (c-name "empathy_theme_manager_get_themes")
- (return-type "const-gchar**")
+(define-method load
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_load")
+ (return-type "none")
)
-(define-method apply
- (of-object "EmpathyThemeManager")
- (c-name "empathy_theme_manager_apply")
+(define-method add
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_add")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
- '("const-gchar*" "theme")
+ '("const-gchar*" "icon_name")
+ '("const-gchar*" "first_str")
)
+ (varargs #t)
)
-(define-method apply_saved
- (of-object "EmpathyThemeManager")
- (c-name "empathy_theme_manager_apply_saved")
+(define-method add_from_pixbuf
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_add_from_pixbuf")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
+ '("GdkPixbuf*" "smiley")
+ '("const-gchar*" "first_str")
)
+ (varargs #t)
)
+(define-method get_all
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_get_all")
+ (return-type "GSList*")
+)
+(define-method parse
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_parse")
+ (return-type "GSList*")
+ (parameters
+ '("const-gchar*" "text")
+ )
+)
-;; From empathy-avatar-image.h
+(define-method free
+ (of-object "EmpathySmiley")
+ (c-name "empathy_smiley_free")
+ (return-type "none")
+)
-(define-function avatar_image_get_type
- (c-name "empathy_avatar_image_get_type")
- (return-type "GType")
+
+
+;; From empathy-spell.h
+
+(define-function spell_supported
+ (c-name "empathy_spell_supported")
+ (return-type "gboolean")
)
-(define-function avatar_image_new
- (c-name "empathy_avatar_image_new")
- (is-constructor-of "EmpathyAvatarImage")
- (return-type "GtkWidget*")
+(define-function spell_get_language_name
+ (c-name "empathy_spell_get_language_name")
+ (return-type "const-gchar*")
+ (parameters
+ '("const-gchar*" "code")
+ )
)
-(define-method set
- (of-object "EmpathyAvatarImage")
- (c-name "empathy_avatar_image_set")
+(define-function spell_get_language_codes
+ (c-name "empathy_spell_get_language_codes")
+ (return-type "GList*")
+)
+
+(define-function spell_free_language_codes
+ (c-name "empathy_spell_free_language_codes")
(return-type "none")
(parameters
- '("EmpathyAvatar*" "avatar")
+ '("GList*" "codes")
)
)
+(define-function spell_check
+ (c-name "empathy_spell_check")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "word")
+ )
+)
+(define-function spell_get_suggestions
+ (c-name "empathy_spell_get_suggestions")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "word")
+ )
+)
-;; From empathy-contact-list-view.h
+(define-function spell_free_suggestions
+ (c-name "empathy_spell_free_suggestions")
+ (return-type "none")
+ (parameters
+ '("GList*" "suggestions")
+ )
+)
-(define-function contact_list_view_get_type
- (c-name "empathy_contact_list_view_get_type")
+
+
+;; From empathy-spell-dialog.h
+
+(define-function spell_dialog_show
+ (c-name "empathy_spell_dialog_show")
+ (return-type "none")
+ (parameters
+ '("EmpathyChat*" "chat")
+ '("GtkTextIter*" "start")
+ '("GtkTextIter*" "end")
+ '("const-gchar*" "word")
+ )
+)
+
+
+
+;; From empathy-theme-boxes.h
+
+(define-function theme_boxes_get_type
+ (c-name "empathy_theme_boxes_get_type")
(return-type "GType")
)
-(define-function contact_list_view_new
- (c-name "empathy_contact_list_view_new")
- (is-constructor-of "EmpathyContactListView")
- (return-type "EmpathyContactListView*")
+
+
+;; From empathy-theme.h
+
+(define-function theme_get_type
+ (c-name "empathy_theme_get_type")
+ (return-type "GType")
+)
+
+(define-method update_view
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_update_view")
+ (return-type "none")
(parameters
- '("EmpathyContactListStore*" "store")
- '("EmpathyContactListFeatureFlags" "list_features")
- '("EmpathyContactFeatureFlags" "contact_features")
+ '("EmpathyChatView*" "view")
)
)
-(define-method get_selected
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_selected")
- (return-type "EmpathyContact*")
+(define-method append_message
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_append_message")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("EmpathyMessage*" "msg")
+ )
)
-(define-method get_selected_group
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_selected_group")
- (return-type "gchar*")
+(define-method append_text
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_append_text")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("const-gchar*" "body")
+ '("const-gchar*" "tag")
+ '("const-gchar*" "link_tag")
+ )
)
-(define-method get_contact_menu
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_contact_menu")
- (return-type "GtkWidget*")
+(define-method append_spacing
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_append_spacing")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ )
)
-(define-method get_group_menu
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_group_menu")
- (return-type "GtkWidget*")
+(define-method append_event
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_append_event")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("const-gchar*" "str")
+ )
+)
+
+(define-method append_timestamp
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_append_timestamp")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("EmpathyMessage*" "message")
+ '("gboolean" "show_date")
+ '("gboolean" "show_time")
+ )
+)
+
+(define-method maybe_append_date_and_time
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_maybe_append_date_and_time")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("EmpathyMessage*" "message")
+ )
+)
+
+(define-method get_show_avatars
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_get_show_avatars")
+ (return-type "gboolean")
+)
+
+(define-method set_show_avatars
+ (of-object "EmpathyTheme")
+ (c-name "empathy_theme_set_show_avatars")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show")
+ )
+)
+
+
+
+;; From empathy-theme-irc.h
+
+(define-function theme_irc_get_type
+ (c-name "empathy_theme_irc_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From empathy-theme-manager.h
+
+(define-function theme_manager_get_type
+ (c-name "empathy_theme_manager_get_type")
+ (return-type "GType")
+)
+
+(define-function theme_manager_get
+ (c-name "empathy_theme_manager_get")
+ (return-type "EmpathyThemeManager*")
+)
+
+(define-function theme_manager_get_themes
+ (c-name "empathy_theme_manager_get_themes")
+ (return-type "const-gchar**")
+)
+
+(define-method apply
+ (of-object "EmpathyThemeManager")
+ (c-name "empathy_theme_manager_apply")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ '("const-gchar*" "theme")
+ )
+)
+
+(define-method apply_saved
+ (of-object "EmpathyThemeManager")
+ (c-name "empathy_theme_manager_apply_saved")
+ (return-type "none")
+ (parameters
+ '("EmpathyChatView*" "view")
+ )
)
@@ -1520,303 +1827,3 @@
)
-
-;; From empathy-cell-renderer-activatable.h
-
-(define-function cell_renderer_activatable_get_type
- (c-name "empathy_cell_renderer_activatable_get_type")
- (return-type "GType")
-)
-
-(define-function cell_renderer_activatable_new
- (c-name "empathy_cell_renderer_activatable_new")
- (is-constructor-of "EmpathyCellRendererActivatable")
- (return-type "GtkCellRenderer*")
-)
-
-
-
-;; From empathy-contact-widget.h
-
-(define-method widget_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_widget_new")
- (return-type "GtkWidget*")
- (parameters
- '("EmpathyContactWidgetFlags" "flags")
- )
-)
-
-(define-function contact_widget_get_contact
- (c-name "empathy_contact_widget_get_contact")
- (return-type "EmpathyContact*")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-function contact_widget_set_contact
- (c-name "empathy_contact_widget_set_contact")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("EmpathyContact*" "contact")
- )
-)
-
-(define-function contact_widget_set_account_filter
- (c-name "empathy_contact_widget_set_account_filter")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("EmpathyAccountChooserFilterFunc" "filter")
- '("gpointer" "user_data")
- )
-)
-
-
-
-;; From empathy-profile-chooser.h
-
-(define-function profile_chooser_new
- (c-name "empathy_profile_chooser_new")
- (is-constructor-of "EmpathyProfileChooser")
- (return-type "GtkWidget*")
-)
-
-(define-function profile_chooser_get_selected
- (c-name "empathy_profile_chooser_get_selected")
- (return-type "McProfile*")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-function profile_chooser_n_profiles
- (c-name "empathy_profile_chooser_n_profiles")
- (return-type "gint")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-
-
-;; From empathy-cell-renderer-expander.h
-
-(define-function cell_renderer_expander_get_type
- (c-name "empathy_cell_renderer_expander_get_type")
- (return-type "GType")
-)
-
-(define-function cell_renderer_expander_new
- (c-name "empathy_cell_renderer_expander_new")
- (is-constructor-of "EmpathyCellRendererExpander")
- (return-type "GtkCellRenderer*")
-)
-
-
-
-;; From empathy-geometry.h
-
-(define-function geometry_save
- (c-name "empathy_geometry_save")
- (return-type "none")
- (parameters
- '("const-gchar*" "name")
- '("gint" "x")
- '("gint" "y")
- '("gint" "w")
- '("gint" "h")
- )
-)
-
-(define-function geometry_load
- (c-name "empathy_geometry_load")
- (return-type "none")
- (parameters
- '("const-gchar*" "name")
- '("gint*" "x")
- '("gint*" "y")
- '("gint*" "w")
- '("gint*" "h")
- )
-)
-
-
-
-;; From empathy-smiley-manager.h
-
-(define-function smiley_manager_get_type
- (c-name "empathy_smiley_manager_get_type")
- (return-type "GType")
-)
-
-(define-function smiley_manager_new
- (c-name "empathy_smiley_manager_new")
- (is-constructor-of "EmpathySmileyManager")
- (return-type "EmpathySmileyManager*")
-)
-
-(define-method load
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_load")
- (return-type "none")
-)
-
-(define-method add
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_add")
- (return-type "none")
- (parameters
- '("const-gchar*" "icon_name")
- '("const-gchar*" "first_str")
- )
- (varargs #t)
-)
-
-(define-method add_from_pixbuf
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_add_from_pixbuf")
- (return-type "none")
- (parameters
- '("GdkPixbuf*" "smiley")
- '("const-gchar*" "first_str")
- )
- (varargs #t)
-)
-
-(define-method get_all
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_get_all")
- (return-type "GSList*")
-)
-
-(define-method parse
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_parse")
- (return-type "GSList*")
- (parameters
- '("const-gchar*" "text")
- )
-)
-
-(define-method free
- (of-object "EmpathySmiley")
- (c-name "empathy_smiley_free")
- (return-type "none")
-)
-
-
-
-;; From empathy-cell-renderer-text.h
-
-(define-function cell_renderer_text_get_type
- (c-name "empathy_cell_renderer_text_get_type")
- (return-type "GType")
-)
-
-(define-function cell_renderer_text_new
- (c-name "empathy_cell_renderer_text_new")
- (is-constructor-of "EmpathyCellRendererText")
- (return-type "GtkCellRenderer*")
-)
-
-
-
-;; From empathy-spell.h
-
-(define-function spell_supported
- (c-name "empathy_spell_supported")
- (return-type "gboolean")
-)
-
-(define-function spell_get_language_name
- (c-name "empathy_spell_get_language_name")
- (return-type "const-gchar*")
- (parameters
- '("const-gchar*" "code")
- )
-)
-
-(define-function spell_get_language_codes
- (c-name "empathy_spell_get_language_codes")
- (return-type "GList*")
-)
-
-(define-function spell_free_language_codes
- (c-name "empathy_spell_free_language_codes")
- (return-type "none")
- (parameters
- '("GList*" "codes")
- )
-)
-
-(define-function spell_check
- (c-name "empathy_spell_check")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "word")
- )
-)
-
-(define-function spell_get_suggestions
- (c-name "empathy_spell_get_suggestions")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "word")
- )
-)
-
-(define-function spell_free_suggestions
- (c-name "empathy_spell_free_suggestions")
- (return-type "none")
- (parameters
- '("GList*" "suggestions")
- )
-)
-
-
-
-;; From empathy-contact-menu.h
-
-(define-method menu_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_menu_new")
- (return-type "GtkWidget*")
- (parameters
- '("EmpathyContactFeatureFlags" "features")
- )
-)
-
-(define-method chat_menu_item_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_chat_menu_item_new")
- (return-type "GtkWidget*")
-)
-
-(define-method call_menu_item_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_call_menu_item_new")
- (return-type "GtkWidget*")
-)
-
-(define-method log_menu_item_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_log_menu_item_new")
- (return-type "GtkWidget*")
-)
-
-(define-method info_menu_item_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_info_menu_item_new")
- (return-type "GtkWidget*")
-)
-
-(define-method edit_menu_item_new
- (of-object "EmpathyContact")
- (c-name "empathy_contact_edit_menu_item_new")
- (return-type "GtkWidget*")
-)
-
-