(define-object Chat
(in-module "Empathy")
- (parent "GObject")
+ (parent "GtkBin")
(c-name "EmpathyChat")
(gtype-id "EMPATHY_TYPE_CHAT")
)
(gtype-id "EMPATHY_TYPE_CHAT_VIEW")
)
-(define-object ChatWindow
- (in-module "Empathy")
- (parent "GObject")
- (c-name "EmpathyChatWindow")
- (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
-)
-
(define-object Conf
(in-module "Empathy")
(parent "GObject")
(gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
)
-(define-object GroupChat
- (in-module "Empathy")
- (parent "EmpathyChat")
- (c-name "EmpathyGroupChat")
- (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
-)
-
(define-object PresenceChooser
(in-module "Empathy")
(parent "GtkToggleButton")
(gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
)
-(define-object PrivateChat
- (in-module "Empathy")
- (parent "EmpathyChat")
- (c-name "EmpathyPrivateChat")
- (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
-)
-
(define-object SmileyManager
(in-module "Empathy")
(parent "GObject")
(gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
)
-(define-object StatusIcon
- (in-module "Empathy")
- (parent "GObject")
- (c-name "EmpathyStatusIcon")
- (gtype-id "EMPATHY_TYPE_STATUS_ICON")
-)
-
(define-object Theme
(in-module "Empathy")
(parent "GObject")
;; Enumerations and flags ...
-(define-enum ChatViewBlock
- (in-module "Empathy")
- (c-name "EmpathyChatViewBlock")
- (gtype-id "EMPATHY_TYPE_CHAT_VIEW_BLOCK")
- (values
- '("none" "EMPATHY_CHAT_VIEW_BLOCK_NONE")
- '("self" "EMPATHY_CHAT_VIEW_BLOCK_SELF")
- '("other" "EMPATHY_CHAT_VIEW_BLOCK_OTHER")
- '("event" "EMPATHY_CHAT_VIEW_BLOCK_EVENT")
- '("time" "EMPATHY_CHAT_VIEW_BLOCK_TIME")
- '("invite" "EMPATHY_CHAT_VIEW_BLOCK_INVITE")
- )
-)
-
(define-enum ContactListStoreSort
(in-module "Empathy")
(c-name "EmpathyContactListStoreSort")
)
)
-(define-flags ContactListFeatures
+(define-flags ContactListFeatureFlags
(in-module "Empathy")
- (c-name "EmpathyContactListFeatures")
- (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
+ (c-name "EmpathyContactListFeatureFlags")
+ (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
(values
'("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
'("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
'("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
'("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
- '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
- '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
- '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
- '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
- '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
- '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
- '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
'("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
'("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
'("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
)
)
-
-;; From empathy-about-dialog.h
-
-(define-function empathy_about_dialog_new
- (c-name "empathy_about_dialog_new")
- (return-type "none")
- (parameters
- '("GtkWindow*" "parent")
+(define-flags ContactFeatureFlags
+ (in-module "Empathy")
+ (c-name "EmpathyContactFeatureFlags")
+ (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
+ (values
+ '("none" "EMPATHY_CONTACT_FEATURE_NONE")
+ '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
+ '("call" "EMPATHY_CONTACT_FEATURE_CALL")
+ '("log" "EMPATHY_CONTACT_FEATURE_LOG")
+ '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
+ '("info" "EMPATHY_CONTACT_FEATURE_INFO")
+ '("all" "EMPATHY_CONTACT_FEATURE_ALL")
)
)
+;; From empathy-images.h
+
+
;; From empathy-account-chooser.h
-;; From empathy-accounts-dialog.h
+;; From empathy-chat.h
-(define-function empathy_accounts_dialog_show
- (c-name "empathy_accounts_dialog_show")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWindow*" "parent")
- )
+(define-function empathy_chat_get_type
+ (c-name "empathy_chat_get_type")
+ (return-type "GType")
)
-
-
-;; From empathy-account-widget.h
-
-(define-function empathy_account_widget_new_with_glade
- (c-name "empathy_account_widget_new_with_glade")
- (return-type "GtkWidget*")
+(define-function empathy_chat_new
+ (c-name "empathy_chat_new")
+ (is-constructor-of "EmpathyChat")
+ (return-type "EmpathyChat*")
(parameters
- '("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "root")
- '("const-gchar*" "first_widget_name")
+ '("EmpathyTpChat*" "tp_chat")
)
- (varargs #t)
)
-(define-function emapthy_account_widget_add_forget_button
- (c-name "emapthy_account_widget_add_forget_button")
- (return-type "none")
- (parameters
- '("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "button")
- '("const-gchar*" "entry")
- )
+(define-method get_tp_chat
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_tp_chat")
+ (return-type "EmpathyTpChat*")
)
-(define-function empathy_account_widget_generic_new
- (c-name "empathy_account_widget_generic_new")
- (is-constructor-of "EmpathyAccountWidgetGeneric")
- (return-type "GtkWidget*")
+(define-method set_tp_chat
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_set_tp_chat")
+ (return-type "none")
(parameters
- '("McAccount*" "account")
+ '("EmpathyTpChat*" "tp_chat")
)
)
-(define-function empathy_account_widget_salut_new
- (c-name "empathy_account_widget_salut_new")
- (is-constructor-of "EmpathyAccountWidgetSalut")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
+(define-method get_account
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_account")
+ (return-type "McAccount*")
)
-(define-function empathy_account_widget_msn_new
- (c-name "empathy_account_widget_msn_new")
- (is-constructor-of "EmpathyAccountWidgetMsn")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
+(define-method get_id
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_id")
+ (return-type "const-gchar*")
)
-(define-function empathy_account_widget_jabber_new
- (c-name "empathy_account_widget_jabber_new")
- (is-constructor-of "EmpathyAccountWidgetJabber")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
+(define-method get_name
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_name")
+ (return-type "const-gchar*")
)
+(define-method get_subject
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_subject")
+ (return-type "const-gchar*")
+)
+(define-method get_remote_contact
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_remote_contact")
+ (return-type "EmpathyContact*")
+)
-;; From empathy-avatar-chooser.h
-
-(define-function empathy_avatar_chooser_get_type
- (c-name "empathy_avatar_chooser_get_type")
- (return-type "GType")
+(define-method get_members_count
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_members_count")
+ (return-type "guint")
)
-(define-function empathy_avatar_chooser_new
- (c-name "empathy_avatar_chooser_new")
- (is-constructor-of "EmpathyAvatarChooser")
+(define-method get_contact_menu
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_contact_menu")
(return-type "GtkWidget*")
)
-(define-method set
- (of-object "EmpathyAvatarChooser")
- (c-name "empathy_avatar_chooser_set")
+(define-method clear
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_clear")
(return-type "none")
- (parameters
- '("EmpathyAvatar*" "avatar")
- )
)
-(define-method get_image_data
- (of-object "EmpathyAvatarChooser")
- (c-name "empathy_avatar_chooser_get_image_data")
+(define-method scroll_down
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_scroll_down")
(return-type "none")
- (parameters
- '("const-gchar**" "data")
- '("gsize*" "data_size")
- '("const-gchar**" "mime_type")
- )
)
+(define-method cut
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_cut")
+ (return-type "none")
+)
-
-;; From empathy-avatar-image.h
-
-(define-function empathy_avatar_image_get_type
- (c-name "empathy_avatar_image_get_type")
- (return-type "GType")
+(define-method copy
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_copy")
+ (return-type "none")
)
-(define-function empathy_avatar_image_new
- (c-name "empathy_avatar_image_new")
- (is-constructor-of "EmpathyAvatarImage")
- (return-type "GtkWidget*")
+(define-method paste
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_paste")
+ (return-type "none")
)
-(define-method set
- (of-object "EmpathyAvatarImage")
- (c-name "empathy_avatar_image_set")
+(define-method correct_word
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_correct_word")
(return-type "none")
(parameters
- '("EmpathyAvatar*" "avatar")
+ '("GtkTextIter*" "start")
+ '("GtkTextIter*" "end")
+ '("const-gchar*" "new_word")
)
)
-;; From empathy-call-window.h
+;; From empathy-irc-network-dialog.h
-(define-function empathy_call_window_show
- (c-name "empathy_call_window_show")
+(define-method dialog_show
+ (of-object "EmpathyIrcNetwork")
+ (c-name "empathy_irc_network_dialog_show")
(return-type "GtkWidget*")
(parameters
- '("EmpathyTpCall*" "call")
+ '("GtkWidget*" "parent")
)
)
-;; From empathy-cell-renderer-activatable.h
-
-(define-function empathy_cell_renderer_activatable_get_type
- (c-name "empathy_cell_renderer_activatable_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_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 empathy_cell_renderer_expander_get_type
- (c-name "empathy_cell_renderer_expander_get_type")
- (return-type "GType")
-)
+;; From empathy-spell-dialog.h
-(define-function empathy_cell_renderer_expander_new
- (c-name "empathy_cell_renderer_expander_new")
- (is-constructor-of "EmpathyCellRendererExpander")
- (return-type "GtkCellRenderer*")
+(define-function empathy_spell_dialog_show
+ (c-name "empathy_spell_dialog_show")
+ (return-type "none")
+ (parameters
+ '("EmpathyChat*" "chat")
+ '("GtkTextIter*" "start")
+ '("GtkTextIter*" "end")
+ '("const-gchar*" "word")
+ )
)
-;; From empathy-cell-renderer-text.h
-
-(define-function empathy_cell_renderer_text_get_type
- (c-name "empathy_cell_renderer_text_get_type")
- (return-type "GType")
-)
+;; From empathy-accounts-dialog.h
-(define-function empathy_cell_renderer_text_new
- (c-name "empathy_cell_renderer_text_new")
- (is-constructor-of "EmpathyCellRendererText")
- (return-type "GtkCellRenderer*")
+(define-function empathy_accounts_dialog_show
+ (c-name "empathy_accounts_dialog_show")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ )
)
-;; From empathy-chat.h
+;; From empathy-chat-view.h
-(define-function empathy_chat_get_type
- (c-name "empathy_chat_get_type")
+(define-function empathy_chat_view_get_type
+ (c-name "empathy_chat_view_get_type")
(return-type "GType")
)
-(define-method get_view
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_view")
+(define-function empathy_chat_view_new
+ (c-name "empathy_chat_view_new")
+ (is-constructor-of "EmpathyChatView")
(return-type "EmpathyChatView*")
)
-(define-method get_window
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_window")
- (return-type "EmpathyChatWindow*")
-)
-
-(define-method set_window
- (of-object "EmpathyChat")
- (c-name "empathy_chat_set_window")
+(define-method append_message
+ (of-object "EmpathyChatView")
+ (c-name "empathy_chat_view_append_message")
(return-type "none")
(parameters
- '("EmpathyChatWindow*" "window")
+ '("EmpathyMessage*" "msg")
)
)
-(define-method present
- (of-object "EmpathyChat")
- (c-name "empathy_chat_present")
+(define-method append_event
+ (of-object "EmpathyChatView")
+ (c-name "empathy_chat_view_append_event")
(return-type "none")
-)
-
-(define-method clear
- (of-object "EmpathyChat")
- (c-name "empathy_chat_clear")
- (return-type "none")
-)
-
-(define-method scroll_down
- (of-object "EmpathyChat")
- (c-name "empathy_chat_scroll_down")
- (return-type "none")
-)
-
-(define-method cut
- (of-object "EmpathyChat")
- (c-name "empathy_chat_cut")
- (return-type "none")
-)
-
-(define-method copy
- (of-object "EmpathyChat")
- (c-name "empathy_chat_copy")
- (return-type "none")
-)
-
-(define-method paste
- (of-object "EmpathyChat")
- (c-name "empathy_chat_paste")
- (return-type "none")
-)
-
-(define-method get_name
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_name")
- (return-type "const-gchar*")
-)
-
-(define-method get_tooltip
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_tooltip")
- (return-type "gchar*")
-)
-
-(define-method get_status_icon_name
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_status_icon_name")
- (return-type "const-gchar*")
-)
-
-(define-method get_widget
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_widget")
- (return-type "GtkWidget*")
-)
-
-(define-method is_group_chat
- (of-object "EmpathyChat")
- (c-name "empathy_chat_is_group_chat")
- (return-type "gboolean")
-)
-
-(define-method is_connected
- (of-object "EmpathyChat")
- (c-name "empathy_chat_is_connected")
- (return-type "gboolean")
-)
-
-(define-method save_geometry
- (of-object "EmpathyChat")
- (c-name "empathy_chat_save_geometry")
- (return-type "none")
- (parameters
- '("gint" "x")
- '("gint" "y")
- '("gint" "w")
- '("gint" "h")
- )
-)
-
-(define-method load_geometry
- (of-object "EmpathyChat")
- (c-name "empathy_chat_load_geometry")
- (return-type "none")
- (parameters
- '("gint*" "x")
- '("gint*" "y")
- '("gint*" "w")
- '("gint*" "h")
- )
-)
-
-(define-method set_tp_chat
- (of-object "EmpathyChat")
- (c-name "empathy_chat_set_tp_chat")
- (return-type "none")
- (parameters
- '("EmpathyTpChat*" "tp_chat")
- )
-)
-
-(define-method get_id
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_id")
- (return-type "const-gchar*")
-)
-
-(define-method get_account
- (of-object "EmpathyChat")
- (c-name "empathy_chat_get_account")
- (return-type "McAccount*")
-)
-
-(define-function empathy_chat_get_is_command
- (c-name "empathy_chat_get_is_command")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "str")
- )
-)
-
-(define-method correct_word
- (of-object "EmpathyChat")
- (c-name "empathy_chat_correct_word")
- (return-type "none")
- (parameters
- '("GtkTextIter" "start")
- '("GtkTextIter" "end")
- '("const-gchar*" "new_word")
- )
-)
-
-(define-method should_play_sound
- (of-object "EmpathyChat")
- (c-name "empathy_chat_should_play_sound")
- (return-type "gboolean")
-)
-
-(define-function empathy_chat_should_highlight_nick
- (c-name "empathy_chat_should_highlight_nick")
- (return-type "gboolean")
- (parameters
- '("EmpathyMessage*" "message")
- )
-)
-
-
-
-;; From empathy-chatrooms-window.h
-
-(define-function empathy_chatrooms_window_show
- (c-name "empathy_chatrooms_window_show")
- (return-type "none")
- (parameters
- '("GtkWindow*" "parent")
- )
-)
-
-
-
-;; From empathy-chat-view.h
-
-(define-function empathy_chat_view_get_type
- (c-name "empathy_chat_view_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_chat_view_new
- (c-name "empathy_chat_view_new")
- (is-constructor-of "EmpathyChatView")
- (return-type "EmpathyChatView*")
-)
-
-(define-method append_message
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_append_message")
- (return-type "none")
- (parameters
- '("EmpathyMessage*" "msg")
- )
-)
-
-(define-method append_event
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_append_event")
- (return-type "none")
- (parameters
- '("const-gchar*" "str")
- )
+ (parameters
+ '("const-gchar*" "str")
+ )
)
(define-method append_button
)
)
-(define-method set_margin
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_set_margin")
- (return-type "none")
- (parameters
- '("gint" "margin")
- )
-)
-
(define-method scroll
(of-object "EmpathyChatView")
(c-name "empathy_chat_view_scroll")
)
)
-(define-method set_is_group_chat
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_set_is_group_chat")
- (return-type "none")
- (parameters
- '("gboolean" "is_group_chat")
- )
-)
-
(define-method get_last_timestamp
(of-object "EmpathyChatView")
(c-name "empathy_chat_view_get_last_timestamp")
)
)
-(define-method get_last_block_type
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_get_last_block_type")
- (return-type "EmpathyChatViewBlock")
-)
-
-(define-method set_last_block_type
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_set_last_block_type")
- (return-type "none")
- (parameters
- '("EmpathyChatViewBlock" "block_type")
- )
-)
-
(define-method get_last_contact
(of-object "EmpathyChatView")
(c-name "empathy_chat_view_get_last_contact")
(return-type "EmpathyContact*")
)
-(define-method set_last_contact
- (of-object "EmpathyChatView")
- (c-name "empathy_chat_view_set_last_contact")
- (return-type "none")
+(define-function empathy_chat_view_get_avatar_pixbuf_with_cache
+ (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
+ (return-type "GdkPixbuf*")
(parameters
'("EmpathyContact*" "contact")
)
)
-(define-function empathy_chat_view_get_avatar_pixbuf_with_cache
- (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
- (return-type "GdkPixbuf*")
+
+
+;; From empathy-log-window.h
+
+(define-function empathy_log_window_show
+ (c-name "empathy_log_window_show")
+ (return-type "GtkWidget*")
(parameters
- '("EmpathyContact*" "contact")
+ '("McAccount*" "account")
+ '("const-gchar*" "chat_id")
+ '("gboolean" "chatroom")
+ '("GtkWindow*" "parent")
)
)
-;; From empathy-chat-window.h
+;; From empathy-theme-boxes.h
-(define-function empathy_chat_window_get_type
- (c-name "empathy_chat_window_get_type")
+(define-function empathy_theme_boxes_get_type
+ (c-name "empathy_theme_boxes_get_type")
(return-type "GType")
)
-(define-function empathy_chat_window_get_default
- (c-name "empathy_chat_window_get_default")
- (return-type "EmpathyChatWindow*")
-)
-(define-function empathy_chat_window_new
- (c-name "empathy_chat_window_new")
- (is-constructor-of "EmpathyChatWindow")
- (return-type "EmpathyChatWindow*")
-)
-(define-method get_dialog
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_get_dialog")
- (return-type "GtkWidget*")
-)
+;; From empathy-account-widget.h
-(define-method add_chat
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_add_chat")
+(define-function empathy_account_widget_handle_params
+ (c-name "empathy_account_widget_handle_params")
(return-type "none")
(parameters
- '("EmpathyChat*" "chat")
+ '("McAccount*" "account")
+ '("GladeXML*" "glade")
+ '("const-gchar*" "first_widget_name")
)
+ (varargs #t)
)
-(define-method remove_chat
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_remove_chat")
+(define-function empathy_account_widget_add_forget_button
+ (c-name "empathy_account_widget_add_forget_button")
(return-type "none")
(parameters
- '("EmpathyChat*" "chat")
+ '("McAccount*" "account")
+ '("GladeXML*" "glade")
+ '("const-gchar*" "button")
+ '("const-gchar*" "entry")
)
)
-(define-method move_chat
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_move_chat")
- (return-type "none")
+(define-function empathy_account_widget_generic_new
+ (c-name "empathy_account_widget_generic_new")
+ (is-constructor-of "EmpathyAccountWidgetGeneric")
+ (return-type "GtkWidget*")
(parameters
- '("EmpathyChatWindow*" "new_window")
- '("EmpathyChat*" "chat")
+ '("McAccount*" "account")
)
)
-(define-method switch_to_chat
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_switch_to_chat")
- (return-type "none")
+(define-function empathy_account_widget_salut_new
+ (c-name "empathy_account_widget_salut_new")
+ (is-constructor-of "EmpathyAccountWidgetSalut")
+ (return-type "GtkWidget*")
(parameters
- '("EmpathyChat*" "chat")
+ '("McAccount*" "account")
)
)
-(define-method has_focus
- (of-object "EmpathyChatWindow")
- (c-name "empathy_chat_window_has_focus")
- (return-type "gboolean")
+(define-function empathy_account_widget_msn_new
+ (c-name "empathy_account_widget_msn_new")
+ (is-constructor-of "EmpathyAccountWidgetMsn")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
)
-(define-function empathy_chat_window_find_chat
- (c-name "empathy_chat_window_find_chat")
- (return-type "EmpathyChat*")
+(define-function empathy_account_widget_jabber_new
+ (c-name "empathy_account_widget_jabber_new")
+ (is-constructor-of "EmpathyAccountWidgetJabber")
+ (return-type "GtkWidget*")
(parameters
'("McAccount*" "account")
- '("const-gchar*" "id")
)
)
+(define-function empathy_account_widget_icq_new
+ (c-name "empathy_account_widget_icq_new")
+ (is-constructor-of "EmpathyAccountWidgetIcq")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
-
-;; From empathy-conf.h
+(define-function empathy_account_widget_aim_new
+ (c-name "empathy_account_widget_aim_new")
+ (is-constructor-of "EmpathyAccountWidgetAim")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function empathy_account_widget_yahoo_new
+ (c-name "empathy_account_widget_yahoo_new")
+ (is-constructor-of "EmpathyAccountWidgetYahoo")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+(define-function empathy_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 empathy_conf_get_type
(c-name "empathy_conf_get_type")
+;; From empathy-theme.h
+
+(define-function empathy_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 empathy_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 empathy_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 empathy_subscription_dialog_show
+;; From empathy-new-message-dialog.h
+
+(define-function empathy_new_message_dialog_show
+ (c-name "empathy_new_message_dialog_show")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ )
+)
+
+
+
+;; From empathy-theme-irc.h
+
+(define-function empathy_theme_irc_get_type
+ (c-name "empathy_theme_irc_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From empathy-avatar-chooser.h
+
+(define-function empathy_avatar_chooser_get_type
+ (c-name "empathy_avatar_chooser_get_type")
+ (return-type "GType")
+)
+
+(define-function empathy_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 empathy_contact_list_store_get_type
(return-type "GType")
)
-(define-method store_new
- (of-object "EmpathyContactList")
+(define-function empathy_contact_list_store_new
+ (is-constructor-of "EmpathyContactListStore")
(c-name "empathy_contact_list_store_new")
(return-type "EmpathyContactListStore*")
+ (parameters
+ '("EmpathyContactList*" "list_iface")
+ )
)
(define-method get_list_iface
-;; From empathy-contact-list-view.h
+;; From empathy-presence-chooser.h
-(define-function empathy_contact_list_view_get_type
- (c-name "empathy_contact_list_view_get_type")
+(define-function empathy_presence_chooser_get_type
+ (c-name "empathy_presence_chooser_get_type")
(return-type "GType")
)
-(define-function empathy_contact_list_view_new
- (c-name "empathy_contact_list_view_new")
- (is-constructor-of "EmpathyContactListView")
- (return-type "EmpathyContactListView*")
- (parameters
- '("EmpathyContactListStore*" "store")
- '("EmpathyContactListFeatures" "features")
- )
+(define-function empathy_presence_chooser_new
+ (c-name "empathy_presence_chooser_new")
+ (is-constructor-of "EmpathyPresenceChooser")
+ (return-type "GtkWidget*")
)
-(define-method set_features
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_set_features")
- (return-type "none")
- (parameters
- '("EmpathyContactListFeatures" "features")
- )
+(define-function empathy_presence_chooser_create_menu
+ (c-name "empathy_presence_chooser_create_menu")
+ (return-type "GtkWidget*")
)
-(define-method get_features
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_features")
- (return-type "EmpathyContactListFeatures")
+
+
+;; From empathy-theme-manager.h
+
+(define-function empathy_theme_manager_get_type
+ (c-name "empathy_theme_manager_get_type")
+ (return-type "GType")
)
-(define-method get_selected
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_selected")
- (return-type "EmpathyContact*")
+(define-function empathy_theme_manager_get
+ (c-name "empathy_theme_manager_get")
+ (return-type "EmpathyThemeManager*")
)
-(define-method get_selected_group
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_selected_group")
- (return-type "gchar*")
+(define-function empathy_theme_manager_get_themes
+ (c-name "empathy_theme_manager_get_themes")
+ (return-type "const-gchar**")
)
-(define-method get_contact_menu
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_contact_menu")
- (return-type "GtkWidget*")
+(define-method apply
+ (of-object "EmpathyThemeManager")
+ (c-name "empathy_theme_manager_apply")
+ (return-type "none")
(parameters
- '("EmpathyContact*" "contact")
+ '("EmpathyChatView*" "view")
+ '("const-gchar*" "theme")
)
)
-(define-method get_group_menu
- (of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_group_menu")
- (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 empathy_contact_widget_get_contact
- (c-name "empathy_contact_widget_get_contact")
- (return-type "EmpathyContact*")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-function empathy_contact_widget_set_contact
- (c-name "empathy_contact_widget_set_contact")
+(define-method apply_saved
+ (of-object "EmpathyThemeManager")
+ (c-name "empathy_theme_manager_apply_saved")
(return-type "none")
(parameters
- '("GtkWidget*" "widget")
- '("EmpathyContact*" "contact")
+ '("EmpathyChatView*" "view")
)
)
-(define-function empathy_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-avatar-image.h
-;; From empathy-geometry.h
+(define-function empathy_avatar_image_get_type
+ (c-name "empathy_avatar_image_get_type")
+ (return-type "GType")
+)
-(define-function empathy_geometry_save
- (c-name "empathy_geometry_save")
- (return-type "none")
- (parameters
- '("const-gchar*" "name")
- '("gint" "x")
- '("gint" "y")
- '("gint" "w")
- '("gint" "h")
- )
+(define-function empathy_avatar_image_new
+ (c-name "empathy_avatar_image_new")
+ (is-constructor-of "EmpathyAvatarImage")
+ (return-type "GtkWidget*")
)
-(define-function empathy_geometry_load
- (c-name "empathy_geometry_load")
+(define-method set
+ (of-object "EmpathyAvatarImage")
+ (c-name "empathy_avatar_image_set")
(return-type "none")
(parameters
- '("const-gchar*" "name")
- '("gint*" "x")
- '("gint*" "y")
- '("gint*" "w")
- '("gint*" "h")
+ '("EmpathyAvatar*" "avatar")
)
)
-;; From empathy-group-chat.h
+;; From empathy-contact-list-view.h
-(define-function empathy_group_chat_get_type
- (c-name "empathy_group_chat_get_type")
+(define-function empathy_contact_list_view_get_type
+ (c-name "empathy_contact_list_view_get_type")
(return-type "GType")
)
-(define-function empathy_group_chat_new
- (c-name "empathy_group_chat_new")
- (is-constructor-of "EmpathyGroupChat")
- (return-type "EmpathyGroupChat*")
+(define-function empathy_contact_list_view_new
+ (c-name "empathy_contact_list_view_new")
+ (is-constructor-of "EmpathyContactListView")
+ (return-type "EmpathyContactListView*")
(parameters
- '("EmpathyTpChatroom*" "tp_chat")
+ '("EmpathyContactListStore*" "store")
+ '("EmpathyContactListFeatureFlags" "list_features")
+ '("EmpathyContactFeatureFlags" "contact_features")
)
)
-(define-method get_show_contacts
- (of-object "EmpathyGroupChat")
- (c-name "empathy_group_chat_get_show_contacts")
- (return-type "gboolean")
-)
-
-(define-method set_show_contacts
- (of-object "EmpathyGroupChat")
- (c-name "empathy_group_chat_set_show_contacts")
- (return-type "none")
- (parameters
- '("gboolean" "show")
- )
+(define-method get_selected
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_selected")
+ (return-type "EmpathyContact*")
)
-(define-method set_topic
- (of-object "EmpathyGroupChat")
- (c-name "empathy_group_chat_set_topic")
- (return-type "none")
+(define-method get_selected_group
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_selected_group")
+ (return-type "gchar*")
)
-
-
-;; From empathy-images.h
-
-
-
-;; From empathy-log-window.h
-
-(define-function empathy_log_window_show
- (c-name "empathy_log_window_show")
+(define-method get_contact_menu
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_contact_menu")
(return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- '("const-gchar*" "chat_id")
- '("gboolean" "chatroom")
- '("GtkWindow*" "parent")
- )
)
-
-
-;; From empathy-main-window.h
-
-(define-function empathy_main_window_show
- (c-name "empathy_main_window_show")
+(define-method get_group_menu
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_group_menu")
(return-type "GtkWidget*")
)
-;; From empathy-new-chatroom-dialog.h
+;; From empathy-ui-utils.h
-(define-function empathy_new_chatroom_dialog_show
- (c-name "empathy_new_chatroom_dialog_show")
+(define-function empathy_glade_get_file_simple
+ (c-name "empathy_glade_get_file_simple")
(return-type "none")
(parameters
- '("GtkWindow*" "parent")
+ '("const-gchar*" "filename")
+ '("const-gchar*" "root")
+ '("const-gchar*" "domain")
+ '("const-gchar*" "first_required_widget")
)
+ (varargs #t)
)
-
-
-;; From empathy-new-message-dialog.h
-
-(define-function empathy_new_message_dialog_show
- (c-name "empathy_new_message_dialog_show")
- (return-type "GtkWidget*")
+(define-function empathy_glade_get_file
+ (c-name "empathy_glade_get_file")
+ (return-type "GladeXML*")
(parameters
- '("GtkWindow*" "parent")
+ '("const-gchar*" "filename")
+ '("const-gchar*" "root")
+ '("const-gchar*" "domain")
+ '("const-gchar*" "first_required_widget")
)
+ (varargs #t)
)
-
-
-;; From empathy-preferences.h
-
-(define-function empathy_preferences_show
- (c-name "empathy_preferences_show")
- (return-type "GtkWidget*")
+(define-function empathy_glade_connect
+ (c-name "empathy_glade_connect")
+ (return-type "none")
(parameters
- '("GtkWindow*" "parent")
+ '("GladeXML*" "gui")
+ '("gpointer" "user_data")
+ '("gchar*" "first_widget")
)
+ (varargs #t)
)
-
-
-;; From empathy-presence-chooser.h
-
-(define-function empathy_presence_chooser_get_type
- (c-name "empathy_presence_chooser_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_presence_chooser_new
- (c-name "empathy_presence_chooser_new")
- (is-constructor-of "EmpathyPresenceChooser")
- (return-type "GtkWidget*")
-)
-
-(define-function empathy_presence_chooser_create_menu
- (c-name "empathy_presence_chooser_create_menu")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From empathy-private-chat.h
-
-(define-function empathy_private_chat_get_type
- (c-name "empathy_private_chat_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_private_chat_new
- (c-name "empathy_private_chat_new")
- (is-constructor-of "EmpathyPrivateChat")
- (return-type "EmpathyPrivateChat*")
+(define-function empathy_glade_setup_size_group
+ (c-name "empathy_glade_setup_size_group")
+ (return-type "none")
(parameters
- '("EmpathyTpChat*" "tp_chat")
+ '("GladeXML*" "gui")
+ '("GtkSizeGroupMode" "mode")
+ '("gchar*" "first_widget")
)
+ (varargs #t)
)
-(define-method get_contact
- (of-object "EmpathyPrivateChat")
- (c-name "empathy_private_chat_get_contact")
- (return-type "EmpathyContact*")
-)
-
-
-
-;; From empathy-profile-chooser.h
-
-(define-function empathy_profile_chooser_new
- (c-name "empathy_profile_chooser_new")
- (is-constructor-of "EmpathyProfileChooser")
- (return-type "GtkWidget*")
-)
-
-(define-function empathy_profile_chooser_get_selected
- (c-name "empathy_profile_chooser_get_selected")
- (return-type "McProfile*")
+(define-function empathy_icon_name_from_account
+ (c-name "empathy_icon_name_from_account")
+ (return-type "const-gchar*")
(parameters
- '("GtkWidget*" "widget")
+ '("McAccount*" "account")
)
)
-(define-function empathy_profile_chooser_n_profiles
- (c-name "empathy_profile_chooser_n_profiles")
- (return-type "gint")
+(define-function empathy_icon_name_for_presence
+ (c-name "empathy_icon_name_for_presence")
+ (return-type "const-gchar*")
(parameters
- '("GtkWidget*" "widget")
+ '("McPresence" "presence")
)
)
-
-
-;; From empathy-smiley-manager.h
-
-(define-function empathy_smiley_manager_get_type
- (c-name "empathy_smiley_manager_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_smiley_manager_new
- (c-name "empathy_smiley_manager_new")
- (is-constructor-of "EmpathySmileyManager")
- (return-type "EmpathySmileyManager*")
+(define-function empathy_icon_name_for_contact
+ (c-name "empathy_icon_name_for_contact")
+ (return-type "const-gchar*")
+ (parameters
+ '("EmpathyContact*" "contact")
+ )
)
-(define-method load
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_load")
- (return-type "none")
+(define-function empathy_pixbuf_from_data
+ (c-name "empathy_pixbuf_from_data")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("gchar*" "data")
+ '("gsize" "data_size")
+ )
)
-(define-method add
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_add")
- (return-type "none")
+(define-function empathy_pixbuf_from_avatar_scaled
+ (c-name "empathy_pixbuf_from_avatar_scaled")
+ (return-type "GdkPixbuf*")
(parameters
- '("const-gchar*" "icon_name")
- '("const-gchar*" "first_str")
+ '("EmpathyAvatar*" "avatar")
+ '("gint" "width")
+ '("gint" "height")
)
- (varargs #t)
)
-(define-method add_from_pixbuf
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_add_from_pixbuf")
- (return-type "none")
+(define-function empathy_pixbuf_avatar_from_contact_scaled
+ (c-name "empathy_pixbuf_avatar_from_contact_scaled")
+ (return-type "GdkPixbuf*")
(parameters
- '("GdkPixbuf*" "smiley")
- '("const-gchar*" "first_str")
+ '("EmpathyContact*" "contact")
+ '("gint" "width")
+ '("gint" "height")
)
- (varargs #t)
)
-(define-method get_all
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_get_all")
- (return-type "GSList*")
+(define-function empathy_pixbuf_scale_down_if_necessary
+ (c-name "empathy_pixbuf_scale_down_if_necessary")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("GdkPixbuf*" "pixbuf")
+ '("gint" "max_size")
+ )
)
-(define-method parse
- (of-object "EmpathySmileyManager")
- (c-name "empathy_smiley_manager_parse")
- (return-type "GSList*")
+(define-function empathy_pixbuf_from_icon_name
+ (c-name "empathy_pixbuf_from_icon_name")
+ (return-type "GdkPixbuf*")
(parameters
- '("const-gchar*" "text")
+ '("const-gchar*" "icon_name")
+ '("GtkIconSize" "icon_size")
)
)
-(define-method free
- (of-object "EmpathySmiley")
- (c-name "empathy_smiley_free")
- (return-type "none")
-)
-
-
-
-;; From empathy-spell-dialog.h
-
-(define-function empathy_spell_dialog_show
- (c-name "empathy_spell_dialog_show")
- (return-type "none")
+(define-function empathy_text_iter_forward_search
+ (c-name "empathy_text_iter_forward_search")
+ (return-type "gboolean")
(parameters
- '("EmpathyChat*" "chat")
- '("GtkTextIter" "start")
- '("GtkTextIter" "end")
- '("const-gchar*" "word")
+ '("const-GtkTextIter*" "iter")
+ '("const-gchar*" "str")
+ '("GtkTextIter*" "match_start")
+ '("GtkTextIter*" "match_end")
+ '("const-GtkTextIter*" "limit")
)
)
-
-
-;; From empathy-spell.h
-
-(define-function empathy_spell_supported
- (c-name "empathy_spell_supported")
+(define-function empathy_text_iter_backward_search
+ (c-name "empathy_text_iter_backward_search")
(return-type "gboolean")
+ (parameters
+ '("const-GtkTextIter*" "iter")
+ '("const-gchar*" "str")
+ '("GtkTextIter*" "match_start")
+ '("GtkTextIter*" "match_end")
+ '("const-GtkTextIter*" "limit")
+ )
)
-(define-function empathy_spell_get_language_name
- (c-name "empathy_spell_get_language_name")
- (return-type "const-gchar*")
+(define-function empathy_window_get_is_visible
+ (c-name "empathy_window_get_is_visible")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "code")
+ '("GtkWindow*" "window")
)
)
-(define-function empathy_spell_get_language_codes
- (c-name "empathy_spell_get_language_codes")
- (return-type "GList*")
+(define-function empathy_window_present
+ (c-name "empathy_window_present")
+ (return-type "none")
+ (parameters
+ '("GtkWindow*" "window")
+ '("gboolean" "steal_focus")
+ )
)
-(define-function empathy_spell_free_language_codes
- (c-name "empathy_spell_free_language_codes")
+(define-function empathy_window_iconify
+ (c-name "empathy_window_iconify")
(return-type "none")
(parameters
- '("GList*" "codes")
+ '("GtkWindow*" "window")
+ '("GtkStatusIcon*" "status_icon")
)
)
-(define-function empathy_spell_check
- (c-name "empathy_spell_check")
- (return-type "gboolean")
+(define-function empathy_get_toplevel_window
+ (c-name "empathy_get_toplevel_window")
+ (return-type "GtkWindow*")
(parameters
- '("const-gchar*" "word")
+ '("GtkWidget*" "widget")
)
)
-(define-function empathy_spell_get_suggestions
- (c-name "empathy_spell_get_suggestions")
- (return-type "GList*")
+(define-function empathy_url_show
+ (c-name "empathy_url_show")
+ (return-type "none")
(parameters
- '("const-gchar*" "word")
+ '("const-char*" "url")
)
)
-(define-function empathy_spell_free_suggestions
- (c-name "empathy_spell_free_suggestions")
+(define-function empathy_toggle_button_set_state_quietly
+ (c-name "empathy_toggle_button_set_state_quietly")
(return-type "none")
(parameters
- '("GList*" "suggestions")
+ '("GtkWidget*" "widget")
+ '("GCallback" "callback")
+ '("gpointer" "user_data")
+ '("gboolean" "active")
)
)
-
-
-;; From empathy-status-icon.h
-
-(define-function empathy_status_icon_get_type
- (c-name "empathy_status_icon_get_type")
- (return-type "GType")
+(define-function empathy_link_button_new
+ (c-name "empathy_link_button_new")
+ (is-constructor-of "EmpathyLinkButton")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "url")
+ '("const-gchar*" "title")
+ )
)
-(define-function empathy_status_icon_new
- (c-name "empathy_status_icon_new")
- (is-constructor-of "EmpathyStatusIcon")
- (return-type "EmpathyStatusIcon*")
+(define-function empathy_text_buffer_tag_set
+ (c-name "empathy_text_buffer_tag_set")
+ (return-type "GtkTextTag*")
(parameters
- '("GtkWindow*" "window")
+ '("GtkTextBuffer*" "buffer")
+ '("const-gchar*" "tag_name")
+ '("const-gchar*" "first_property_name")
)
+ (varargs #t)
)
-;; From empathy-theme-boxes.h
+;; From empathy-cell-renderer-activatable.h
-(define-function empathy_theme_boxes_get_type
- (c-name "empathy_theme_boxes_get_type")
+(define-function empathy_cell_renderer_activatable_get_type
+ (c-name "empathy_cell_renderer_activatable_get_type")
(return-type "GType")
)
+(define-function empathy_cell_renderer_activatable_new
+ (c-name "empathy_cell_renderer_activatable_new")
+ (is-constructor-of "EmpathyCellRendererActivatable")
+ (return-type "GtkCellRenderer*")
+)
-;; From empathy-theme.h
-(define-function empathy_theme_get_type
- (c-name "empathy_theme_get_type")
- (return-type "GType")
-)
+;; From empathy-contact-widget.h
-(define-method update_view
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_update_view")
- (return-type "none")
+(define-method widget_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_widget_new")
+ (return-type "GtkWidget*")
(parameters
- '("EmpathyChatView*" "view")
+ '("EmpathyContactWidgetFlags" "flags")
)
)
-(define-method append_message
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_message")
- (return-type "none")
+(define-function empathy_contact_widget_get_contact
+ (c-name "empathy_contact_widget_get_contact")
+ (return-type "EmpathyContact*")
(parameters
- '("EmpathyChatView*" "view")
- '("EmpathyMessage*" "msg")
+ '("GtkWidget*" "widget")
)
)
-(define-method append_text
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_text")
+(define-function empathy_contact_widget_set_contact
+ (c-name "empathy_contact_widget_set_contact")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
- '("const-gchar*" "body")
- '("const-gchar*" "tag")
- '("const-gchar*" "link_tag")
+ '("GtkWidget*" "widget")
+ '("EmpathyContact*" "contact")
)
)
-(define-method append_spacing
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_append_spacing")
+(define-function empathy_contact_widget_set_account_filter
+ (c-name "empathy_contact_widget_set_account_filter")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
+ '("GtkWidget*" "widget")
+ '("EmpathyAccountChooserFilterFunc" "filter")
+ '("gpointer" "user_data")
)
)
-(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")
- )
+
+;; From empathy-profile-chooser.h
+
+(define-function empathy_profile_chooser_new
+ (c-name "empathy_profile_chooser_new")
+ (is-constructor-of "EmpathyProfileChooser")
+ (return-type "GtkWidget*")
)
-(define-method maybe_append_date_and_time
- (of-object "EmpathyTheme")
- (c-name "empathy_theme_maybe_append_date_and_time")
- (return-type "none")
+(define-function empathy_profile_chooser_get_selected
+ (c-name "empathy_profile_chooser_get_selected")
+ (return-type "McProfile*")
(parameters
- '("EmpathyChatView*" "view")
- '("EmpathyMessage*" "message")
+ '("GtkWidget*" "widget")
)
)
-(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")
+(define-function empathy_profile_chooser_n_profiles
+ (c-name "empathy_profile_chooser_n_profiles")
+ (return-type "gint")
(parameters
- '("gboolean" "show")
+ '("GtkWidget*" "widget")
)
)
-;; From empathy-theme-irc.h
+;; From empathy-cell-renderer-expander.h
-(define-function empathy_theme_irc_get_type
- (c-name "empathy_theme_irc_get_type")
+(define-function empathy_cell_renderer_expander_get_type
+ (c-name "empathy_cell_renderer_expander_get_type")
(return-type "GType")
)
-
-
-;; From empathy-theme-manager.h
-
-(define-function empathy_theme_manager_get_type
- (c-name "empathy_theme_manager_get_type")
- (return-type "GType")
+(define-function empathy_cell_renderer_expander_new
+ (c-name "empathy_cell_renderer_expander_new")
+ (is-constructor-of "EmpathyCellRendererExpander")
+ (return-type "GtkCellRenderer*")
)
-(define-function empathy_theme_manager_get
- (c-name "empathy_theme_manager_get")
- (return-type "EmpathyThemeManager*")
-)
-(define-function empathy_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")
+;; From empathy-geometry.h
+
+(define-function empathy_geometry_save
+ (c-name "empathy_geometry_save")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
- '("const-gchar*" "theme")
+ '("const-gchar*" "name")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "w")
+ '("gint" "h")
)
)
-(define-method apply_saved
- (of-object "EmpathyThemeManager")
- (c-name "empathy_theme_manager_apply_saved")
+(define-function empathy_geometry_load
+ (c-name "empathy_geometry_load")
(return-type "none")
(parameters
- '("EmpathyChatView*" "view")
+ '("const-gchar*" "name")
+ '("gint*" "x")
+ '("gint*" "y")
+ '("gint*" "w")
+ '("gint*" "h")
)
)
-;; From empathy-ui-utils.h
+;; From empathy-smiley-manager.h
-(define-function empathy_glade_get
- (c-name "empathy_glade_get")
- (return-type "GladeXML*")
- (parameters
- '("const-gchar*" "filename")
- '("const-gchar*" "root")
- '("const-gchar*" "domain")
- )
+(define-function empathy_smiley_manager_get_type
+ (c-name "empathy_smiley_manager_get_type")
+ (return-type "GType")
)
-(define-function empathy_glade_get_file_simple
- (c-name "empathy_glade_get_file_simple")
- (return-type "none")
- (parameters
- '("const-gchar*" "filename")
- '("const-gchar*" "root")
- '("const-gchar*" "domain")
- '("const-gchar*" "first_required_widget")
- )
- (varargs #t)
+(define-function empathy_smiley_manager_new
+ (c-name "empathy_smiley_manager_new")
+ (is-constructor-of "EmpathySmileyManager")
+ (return-type "EmpathySmileyManager*")
)
-(define-function empathy_glade_get_file
- (c-name "empathy_glade_get_file")
- (return-type "GladeXML*")
- (parameters
- '("const-gchar*" "filename")
- '("const-gchar*" "root")
- '("const-gchar*" "domain")
- '("const-gchar*" "first_required_widget")
- )
- (varargs #t)
+(define-method load
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_load")
+ (return-type "none")
)
-(define-function empathy_glade_connect
- (c-name "empathy_glade_connect")
+(define-method add
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_add")
(return-type "none")
(parameters
- '("GladeXML*" "gui")
- '("gpointer" "user_data")
- '("gchar*" "first_widget")
+ '("const-gchar*" "icon_name")
+ '("const-gchar*" "first_str")
)
(varargs #t)
)
-(define-function empathy_glade_setup_size_group
- (c-name "empathy_glade_setup_size_group")
+(define-method add_from_pixbuf
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_add_from_pixbuf")
(return-type "none")
(parameters
- '("GladeXML*" "gui")
- '("GtkSizeGroupMode" "mode")
- '("gchar*" "first_widget")
+ '("GdkPixbuf*" "smiley")
+ '("const-gchar*" "first_str")
)
(varargs #t)
)
-(define-function empathy_icon_name_from_account
- (c-name "empathy_icon_name_from_account")
- (return-type "const-gchar*")
- (parameters
- '("McAccount*" "account")
- )
+(define-method get_all
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_get_all")
+ (return-type "GSList*")
)
-(define-function empathy_icon_name_for_presence
- (c-name "empathy_icon_name_for_presence")
- (return-type "const-gchar*")
+(define-method parse
+ (of-object "EmpathySmileyManager")
+ (c-name "empathy_smiley_manager_parse")
+ (return-type "GSList*")
(parameters
- '("McPresence" "presence")
+ '("const-gchar*" "text")
)
)
-(define-function empathy_icon_name_for_contact
- (c-name "empathy_icon_name_for_contact")
- (return-type "const-gchar*")
- (parameters
- '("EmpathyContact*" "contact")
- )
+(define-method free
+ (of-object "EmpathySmiley")
+ (c-name "empathy_smiley_free")
+ (return-type "none")
)
-(define-function empathy_pixbuf_from_data
- (c-name "empathy_pixbuf_from_data")
- (return-type "GdkPixbuf*")
- (parameters
- '("gchar*" "data")
- '("gsize" "data_size")
- )
+
+
+;; From empathy-cell-renderer-text.h
+
+(define-function empathy_cell_renderer_text_get_type
+ (c-name "empathy_cell_renderer_text_get_type")
+ (return-type "GType")
)
-(define-function empathy_pixbuf_from_avatar_scaled
- (c-name "empathy_pixbuf_from_avatar_scaled")
- (return-type "GdkPixbuf*")
- (parameters
- '("EmpathyAvatar*" "avatar")
- '("gint" "width")
- '("gint" "height")
- )
+(define-function empathy_cell_renderer_text_new
+ (c-name "empathy_cell_renderer_text_new")
+ (is-constructor-of "EmpathyCellRendererText")
+ (return-type "GtkCellRenderer*")
)
-(define-function empathy_pixbuf_avatar_from_contact_scaled
- (c-name "empathy_pixbuf_avatar_from_contact_scaled")
- (return-type "GdkPixbuf*")
- (parameters
- '("EmpathyContact*" "contact")
- '("gint" "width")
- '("gint" "height")
- )
+
+
+;; From empathy-spell.h
+
+(define-function empathy_spell_supported
+ (c-name "empathy_spell_supported")
+ (return-type "gboolean")
)
-(define-function empathy_pixbuf_scale_down_if_necessary
- (c-name "empathy_pixbuf_scale_down_if_necessary")
- (return-type "GdkPixbuf*")
+(define-function empathy_spell_get_language_name
+ (c-name "empathy_spell_get_language_name")
+ (return-type "const-gchar*")
(parameters
- '("GdkPixbuf*" "pixbuf")
- '("gint" "max_size")
+ '("const-gchar*" "code")
)
)
-(define-function empathy_pixbuf_from_icon_name
- (c-name "empathy_pixbuf_from_icon_name")
- (return-type "GdkPixbuf*")
- (parameters
- '("const-gchar*" "icon_name")
- '("GtkIconSize" "icon_size")
- )
+(define-function empathy_spell_get_language_codes
+ (c-name "empathy_spell_get_language_codes")
+ (return-type "GList*")
)
-(define-function empathy_text_iter_forward_search
- (c-name "empathy_text_iter_forward_search")
- (return-type "gboolean")
+(define-function empathy_spell_free_language_codes
+ (c-name "empathy_spell_free_language_codes")
+ (return-type "none")
(parameters
- '("const-GtkTextIter*" "iter")
- '("const-gchar*" "str")
- '("GtkTextIter*" "match_start")
- '("GtkTextIter*" "match_end")
- '("const-GtkTextIter*" "limit")
+ '("GList*" "codes")
)
)
-(define-function empathy_text_iter_backward_search
- (c-name "empathy_text_iter_backward_search")
+(define-function empathy_spell_check
+ (c-name "empathy_spell_check")
(return-type "gboolean")
(parameters
- '("const-GtkTextIter*" "iter")
- '("const-gchar*" "str")
- '("GtkTextIter*" "match_start")
- '("GtkTextIter*" "match_end")
- '("const-GtkTextIter*" "limit")
+ '("const-gchar*" "word")
)
)
-(define-function empathy_window_get_is_visible
- (c-name "empathy_window_get_is_visible")
- (return-type "gboolean")
+(define-function empathy_spell_get_suggestions
+ (c-name "empathy_spell_get_suggestions")
+ (return-type "GList*")
(parameters
- '("GtkWindow*" "window")
+ '("const-gchar*" "word")
)
)
-(define-function empathy_window_present
- (c-name "empathy_window_present")
+(define-function empathy_spell_free_suggestions
+ (c-name "empathy_spell_free_suggestions")
(return-type "none")
(parameters
- '("GtkWindow*" "window")
- '("gboolean" "steal_focus")
+ '("GList*" "suggestions")
)
)
-(define-function empathy_window_iconify
- (c-name "empathy_window_iconify")
- (return-type "none")
+
+
+;; From empathy-contact-menu.h
+
+(define-method menu_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_menu_new")
+ (return-type "GtkWidget*")
(parameters
- '("GtkWindow*" "window")
- '("GtkStatusIcon*" "status_icon")
+ '("EmpathyContactFeatureFlags" "features")
)
)
-(define-function empathy_get_toplevel_window
- (c-name "empathy_get_toplevel_window")
- (return-type "GtkWindow*")
- (parameters
- '("GtkWidget*" "widget")
- )
+(define-method chat_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_chat_menu_item_new")
+ (return-type "GtkWidget*")
)
-(define-function empathy_url_show
- (c-name "empathy_url_show")
- (return-type "none")
- (parameters
- '("const-char*" "url")
- )
+(define-method call_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_call_menu_item_new")
+ (return-type "GtkWidget*")
)
-(define-function empathy_toggle_button_set_state_quietly
- (c-name "empathy_toggle_button_set_state_quietly")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("GCallback" "callback")
- '("gpointer" "user_data")
- '("gboolean" "active")
- )
+(define-method log_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_log_menu_item_new")
+ (return-type "GtkWidget*")
)
-(define-function empathy_link_button_new
- (c-name "empathy_link_button_new")
- (is-constructor-of "EmpathyLinkButton")
+(define-method info_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_info_menu_item_new")
(return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "url")
- '("const-gchar*" "title")
- )
)
-(define-function empathy_text_buffer_tag_set
- (c-name "empathy_text_buffer_tag_set")
- (return-type "GtkTextTag*")
- (parameters
- '("GtkTextBuffer*" "buffer")
- '("const-gchar*" "tag_name")
- '("const-gchar*" "first_property_name")
- )
- (varargs #t)
+(define-method edit_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_edit_menu_item_new")
+ (return-type "GtkWidget*")
)
+