(gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
)
+(define-object Conf
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyConf")
+ (gtype-id "EMPATHY_TYPE_CONF")
+)
+
(define-object ContactListStore
(in-module "Empathy")
(parent "GtkTreeStore")
(gtype-id "EMPATHY_TYPE_THEME_MANAGER")
)
-(define-object Spinner
- (in-module "Ephy")
- (parent "GtkWidget")
- (c-name "EphySpinner")
- (gtype-id "EPHY_TYPE_SPINNER")
-)
-
;; Enumerations and flags ...
(define-enum ChatViewBlock
)
)
+(define-flags ContactListFeatures
+ (in-module "Empathy")
+ (c-name "EmpathyContactListFeatures")
+ (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
+ (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")
+ '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
+ )
+)
+
(define-flags ContactWidgetFlags
(in-module "Empathy")
(c-name "EmpathyContactWidgetFlags")
-;; From empathy-account-widget-generic.h
+;; From empathy-account-widget.h
+
+(define-function empathy_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 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-function empathy_account_widget_generic_new
(c-name "empathy_account_widget_generic_new")
)
)
-
-
-;; From empathy-account-widget-jabber.h
-
-(define-function empathy_account_widget_jabber_new
- (c-name "empathy_account_widget_jabber_new")
- (is-constructor-of "EmpathyAccountWidgetJabber")
+(define-function empathy_account_widget_salut_new
+ (c-name "empathy_account_widget_salut_new")
+ (is-constructor-of "EmpathyAccountWidgetSalut")
(return-type "GtkWidget*")
(parameters
'("McAccount*" "account")
)
)
-
-
-;; From empathy-account-widget-msn.h
-
(define-function empathy_account_widget_msn_new
(c-name "empathy_account_widget_msn_new")
(is-constructor-of "EmpathyAccountWidgetMsn")
)
)
-
-
-;; From empathy-account-widget-salut.h
-
-(define-function empathy_account_widget_salut_new
- (c-name "empathy_account_widget_salut_new")
- (is-constructor-of "EmpathyAccountWidgetSalut")
+(define-function empathy_account_widget_jabber_new
+ (c-name "empathy_account_widget_jabber_new")
+ (is-constructor-of "EmpathyAccountWidgetJabber")
(return-type "GtkWidget*")
(parameters
'("McAccount*" "account")
;; From empathy-call-window.h
-(define-function empathy_call_window_show
- (c-name "empathy_call_window_show")
+(define-function empathy_call_window_new
+ (c-name "empathy_call_window_new")
+ (is-constructor-of "EmpathyCallWindow")
(return-type "GtkWidget*")
(parameters
'("EmpathyTpCall*" "call")
+;; From empathy-conf.h
+
+(define-function empathy_conf_get_type
+ (c-name "empathy_conf_get_type")
+ (return-type "GType")
+)
+
+(define-function empathy_conf_get
+ (c-name "empathy_conf_get")
+ (return-type "EmpathyConf*")
+)
+
+(define-function empathy_conf_shutdown
+ (c-name "empathy_conf_shutdown")
+ (return-type "none")
+)
+
+(define-method notify_add
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_notify_add")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "key")
+ '("EmpathyConfNotifyFunc" "func")
+ '("gpointer" "data")
+ )
+)
+
+(define-method notify_remove
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_notify_remove")
+ (return-type "gboolean")
+ (parameters
+ '("guint" "id")
+ )
+)
+
+(define-method set_int
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_set_int")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("gint" "value")
+ )
+)
+
+(define-method get_int
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_get_int")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("gint*" "value")
+ )
+)
+
+(define-method set_bool
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_set_bool")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("gboolean" "value")
+ )
+)
+
+(define-method get_bool
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_get_bool")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("gboolean*" "value")
+ )
+)
+
+(define-method set_string
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_set_string")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("const-gchar*" "value")
+ )
+)
+
+(define-method get_string
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_get_string")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("gchar**" "value")
+ )
+)
+
+(define-method set_string_list
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_set_string_list")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("GSList*" "value")
+ )
+)
+
+(define-method get_string_list
+ (of-object "EmpathyConf")
+ (c-name "empathy_conf_get_string_list")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("GSList**" "value")
+ )
+)
+
+
+
;; From empathy-contact-dialogs.h
(define-function empathy_subscription_dialog_show
-;; From empathy-contact-groups.h
-
-(define-function empathy_contact_groups_get_all
- (c-name "empathy_contact_groups_get_all")
- (return-type "none")
-)
-
-(define-function empathy_contact_group_get_expanded
- (c-name "empathy_contact_group_get_expanded")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "group")
- )
-)
-
-(define-function empathy_contact_group_set_expanded
- (c-name "empathy_contact_group_set_expanded")
- (return-type "none")
- (parameters
- '("const-gchar*" "group")
- '("gboolean" "expanded")
- )
-)
-
-
-
;; From empathy-contact-list-store.h
(define-function empathy_contact_list_store_get_type
)
)
+(define-method get_show_groups
+ (of-object "EmpathyContactListStore")
+ (c-name "empathy_contact_list_store_get_show_groups")
+ (return-type "gboolean")
+)
+
+(define-method set_show_groups
+ (of-object "EmpathyContactListStore")
+ (c-name "empathy_contact_list_store_set_show_groups")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_groups")
+ )
+)
+
(define-method get_is_compact
(of-object "EmpathyContactListStore")
(c-name "empathy_contact_list_store_get_is_compact")
(return-type "EmpathyContactListView*")
(parameters
'("EmpathyContactListStore*" "store")
+ '("EmpathyContactListFeatures" "features")
)
)
-(define-method set_interactive
+(define-method set_features
(of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_set_interactive")
+ (c-name "empathy_contact_list_view_set_features")
(return-type "none")
(parameters
- '("gboolean" "interactive")
+ '("EmpathyContactListFeatures" "features")
)
)
-(define-method get_interactive
+(define-method get_features
(of-object "EmpathyContactListView")
- (c-name "empathy_contact_list_view_get_interactive")
- (return-type "gboolean")
+ (c-name "empathy_contact_list_view_get_features")
+ (return-type "EmpathyContactListFeatures")
)
(define-method get_selected
)
)
+(define-function empathy_contact_widget_set_contact
+ (c-name "empathy_contact_widget_set_contact")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("EmpathyContact*" "contact")
+ )
+)
+
(define-function empathy_contact_widget_set_account_filter
(c-name "empathy_contact_widget_set_account_filter")
(return-type "none")
-;; From empathy-gtk-enum-types.h
-
-(define-function empathy_contact_widget_flags_get_type
- (c-name "empathy_contact_widget_flags_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_contact_list_store_sort_get_type
- (c-name "empathy_contact_list_store_sort_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_contact_list_store_col_get_type
- (c-name "empathy_contact_list_store_col_get_type")
- (return-type "GType")
-)
-
-(define-function empathy_chat_view_block_get_type
- (c-name "empathy_chat_view_block_get_type")
- (return-type "GType")
-)
-
-
-
;; From empathy-images.h
(define-function empathy_log_window_show
(c-name "empathy_log_window_show")
- (return-type "none")
+ (return-type "GtkWidget*")
(parameters
'("McAccount*" "account")
'("const-gchar*" "chat_id")
-;; From empathy-status-presets.h
-
-(define-function empathy_status_presets_get_all
- (c-name "empathy_status_presets_get_all")
- (return-type "none")
-)
-
-(define-function empathy_status_presets_get
- (c-name "empathy_status_presets_get")
- (return-type "GList*")
- (parameters
- '("McPresence" "state")
- '("gint" "max_number")
- )
-)
-
-(define-function empathy_status_presets_set_last
- (c-name "empathy_status_presets_set_last")
- (return-type "none")
- (parameters
- '("McPresence" "state")
- '("const-gchar*" "status")
- )
-)
-
-(define-function empathy_status_presets_remove
- (c-name "empathy_status_presets_remove")
- (return-type "none")
- (parameters
- '("McPresence" "state")
- '("const-gchar*" "status")
- )
-)
-
-(define-function empathy_status_presets_reset
- (c-name "empathy_status_presets_reset")
- (return-type "none")
-)
-
-(define-function empathy_status_presets_get_default_state
- (c-name "empathy_status_presets_get_default_state")
- (return-type "McPresence")
-)
-
-(define-function empathy_status_presets_get_default_status
- (c-name "empathy_status_presets_get_default_status")
- (return-type "const-gchar*")
-)
-
-(define-function empathy_status_presets_set_default
- (c-name "empathy_status_presets_set_default")
- (return-type "none")
- (parameters
- '("McPresence" "state")
- '("const-gchar*" "status")
- )
-)
-
-(define-function empathy_status_presets_clear_default
- (c-name "empathy_status_presets_clear_default")
- (return-type "none")
-)
-
-
-
;; From empathy-theme-boxes.h
(define-function empathy_theme_boxes_get_type
)
)
-(define-function empathy_icon_name_for_presence_state
- (c-name "empathy_icon_name_for_presence_state")
- (return-type "const-gchar*")
- (parameters
- '("McPresence" "state")
- )
-)
-
(define-function empathy_icon_name_for_presence
(c-name "empathy_icon_name_for_presence")
(return-type "const-gchar*")
(parameters
- '("EmpathyPresence*" "presence")
+ '("McPresence" "presence")
)
)
(varargs #t)
)
-
-
-;; From ephy-spinner.h
-
-(define-function ephy_spinner_get_type
- (c-name "ephy_spinner_get_type")
- (return-type "GType")
-)
-
-(define-function ephy_spinner_new
- (c-name "ephy_spinner_new")
- (is-constructor-of "EphySpinner")
- (return-type "GtkWidget*")
-)
-
-(define-method start
- (of-object "EphySpinner")
- (c-name "ephy_spinner_start")
- (return-type "none")
-)
-
-(define-method stop
- (of-object "EphySpinner")
- (c-name "ephy_spinner_stop")
- (return-type "none")
-)
-
-(define-method set_size
- (of-object "EphySpinner")
- (c-name "ephy_spinner_set_size")
- (return-type "none")
- (parameters
- '("GtkIconSize" "size")
- )
-)
-
-
-
-;; From stamp-empathy-gtk-enum-types.h
-
-