(gtype-id "EMPATHY_TYPE_CHAT_TEXT_VIEW")
)
-(define-object ChatView
+(define-interface ChatView
(in-module "Empathy")
(c-name "EmpathyChatView")
(gtype-id "EMPATHY_TYPE_CHAT_VIEW")
(gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
)
+(define-object ContactSelector
+ (in-module "Empathy")
+ (parent "GtkComboBox")
+ (c-name "EmpathyContactSelector")
+ (gtype-id "EMPATHY_TYPE_CONTACT_SELECTOR")
+)
+
(define-object PresenceChooser
(in-module "Empathy")
(parent "GtkToggleButton")
)
)
+(define-enum Sound
+ (in-module "Empathy")
+ (c-name "EmpathySound")
+ (gtype-id "EMPATHY_TYPE_SOUND")
+ (values
+ '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
+ '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
+ '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
+ '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
+ '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
+ '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
+ '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
+ '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
+ '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
+ '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
+ '("last-empathy-sound" "LAST_EMPATHY_SOUND")
+ )
+)
+
;; From empathy-account-chooser.h
+;; From empathy-contact-selector.h
+
+(define-function contact_selector_get_type
+ (c-name "empathy_contact_selector_get_type")
+ (return-type "GType")
+)
+
+(define-function contact_selector_new
+ (c-name "empathy_contact_selector_new")
+ (is-constructor-of "EmpathyContactSelector")
+ (return-type "GtkWidget*")
+ (parameters
+ '("EmpathyContactList*" "contact_list")
+ )
+)
+
+(define-method dup_selected
+ (of-object "EmpathyContactSelector")
+ (c-name "empathy_contact_selector_dup_selected")
+ (return-type "EmpathyContact*")
+)
+
+
+
;; From empathy-contact-widget.h
(define-method widget_new
(return-type "GType")
)
-(define-function smiley_manager_new
- (c-name "empathy_smiley_manager_new")
- (is-constructor-of "EmpathySmileyManager")
+(define-function smiley_manager_dup_singleton
+ (c-name "empathy_smiley_manager_dup_singleton")
(return-type "EmpathySmileyManager*")
)
)
)
+(define-function pixbuf_from_icon_name_sized
+ (c-name "empathy_pixbuf_from_icon_name_sized")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("const-gchar*" "icon_name")
+ '("gint" "size")
+ )
+)
+
(define-function text_iter_forward_search
(c-name "empathy_text_iter_forward_search")
(return-type "gboolean")
(return-type "none")
(parameters
'("GtkWidget*" "widget")
- '("const-char*" "key")
- '("const-char*" "event_id")
- '("const-char*" "description")
+ '("EmpathySound" "sound_id")
)
)