(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 GstAudioSink
+ (in-module "Empathy")
+ (parent "GstBin")
+ (c-name "EmpathyGstAudioSink")
+ (gtype-id "EMPATHY_TYPE_GST_AUDIO_SINK")
+)
+
+(define-object GstAudioSrc
+ (in-module "Empathy")
+ (parent "GstBin")
+ (c-name "EmpathyGstAudioSrc")
+ (gtype-id "EMPATHY_TYPE_GST_AUDIO_SRC")
+)
+
+(define-object GstVideoSrc
+ (in-module "Empathy")
+ (parent "GstBin")
+ (c-name "EmpathyGstVideoSrc")
+ (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC")
+)
+
(define-object PresenceChooser
(in-module "Empathy")
- (parent "GtkToggleButton")
+ (parent "GtkComboBoxEntry")
(c-name "EmpathyPresenceChooser")
(gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
)
(gtype-id "EMPATHY_TYPE_THEME_MANAGER")
)
+(define-object VideoWidget
+ (in-module "Empathy")
+ (parent "GtkDrawingArea")
+ (c-name "EmpathyVideoWidget")
+ (gtype-id "EMPATHY_TYPE_VIDEO_WIDGET")
+)
+
;; Enumerations and flags ...
(define-enum ContactListStoreSort
)
)
+(define-enum GstVideoSrcChannel
+ (in-module "Empathy")
+ (c-name "EmpathyGstVideoSrcChannel")
+ (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC_CHANNEL")
+ (values
+ '("empathy-gst-video-src-channel-contrast" "EMPATHY_GST_VIDEO_SRC_CHANNEL_CONTRAST")
+ '("empathy-gst-video-src-channel-brightness" "EMPATHY_GST_VIDEO_SRC_CHANNEL_BRIGHTNESS")
+ '("empathy-gst-video-src-channel-gamma" "EMPATHY_GST_VIDEO_SRC_CHANNEL_GAMMA")
+ '("nr-empathy-gst-video-src-channels" "NR_EMPATHY_GST_VIDEO_SRC_CHANNELS")
+ )
+)
+
+(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
(return-type "none")
(parameters
'("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "first_widget_name")
+ '("GtkBuilder*" "gui")
+ '("const-gchar*" "first_widget")
)
(varargs #t)
)
(return-type "none")
(parameters
'("McAccount*" "account")
- '("GladeXML*" "glade")
+ '("GtkBuilder*" "gui")
'("const-gchar*" "button")
'("const-gchar*" "entry")
)
+;; 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*")
+)
+
+(define-method set_visible
+ (of-object "EmpathyContactSelector")
+ (c-name "empathy_contact_selector_set_visible")
+ (return-type "none")
+ (parameters
+ '("EmpathyContactSelectorFilterFunc" "func")
+ '("gpointer" "user_data")
+ )
+)
+
+
+
;; From empathy-contact-widget.h
(define-method widget_new
+;; From empathy-audio-sink.h
+
+(define-function audio_sink_get_type
+ (c-name "empathy_audio_sink_get_type")
+ (return-type "GType")
+)
+
+(define-function audio_sink_new
+ (c-name "empathy_audio_sink_new")
+ (is-constructor-of "EmpathyAudioSink")
+ (return-type "GstElement*")
+)
+
+(define-function audio_sink_set_volume
+ (c-name "empathy_audio_sink_set_volume")
+ (return-type "none")
+ (parameters
+ '("EmpathyGstAudioSink*" "sink")
+ '("gdouble" "volume")
+ )
+)
+
+(define-function audio_sink_get_volume
+ (c-name "empathy_audio_sink_get_volume")
+ (return-type "gdouble")
+ (parameters
+ '("EmpathyGstAudioSink*" "sink")
+ )
+)
+
+
+
+;; From empathy-audio-src.h
+
+(define-function audio_src_get_type
+ (c-name "empathy_audio_src_get_type")
+ (return-type "GType")
+)
+
+(define-function audio_src_new
+ (c-name "empathy_audio_src_new")
+ (is-constructor-of "EmpathyAudioSrc")
+ (return-type "GstElement*")
+)
+
+(define-function audio_src_set_volume
+ (c-name "empathy_audio_src_set_volume")
+ (return-type "none")
+ (parameters
+ '("EmpathyGstAudioSrc*" "src")
+ '("gdouble" "volume")
+ )
+)
+
+(define-function audio_src_get_volume
+ (c-name "empathy_audio_src_get_volume")
+ (return-type "gdouble")
+ (parameters
+ '("EmpathyGstAudioSrc*" "src")
+ )
+)
+
+
+
+;; From empathy-video-src.h
+
+(define-function video_src_get_type
+ (c-name "empathy_video_src_get_type")
+ (return-type "GType")
+)
+
+(define-function video_src_new
+ (c-name "empathy_video_src_new")
+ (is-constructor-of "EmpathyVideoSrc")
+ (return-type "GstElement*")
+)
+
+(define-function video_src_get_supported_channels
+ (c-name "empathy_video_src_get_supported_channels")
+ (return-type "guint")
+ (parameters
+ '("GstElement*" "src")
+ )
+)
+
+(define-function video_src_set_channel
+ (c-name "empathy_video_src_set_channel")
+ (return-type "none")
+ (parameters
+ '("GstElement*" "src")
+ '("EmpathyGstVideoSrcChannel" "channel")
+ '("guint" "percent")
+ )
+)
+
+(define-function video_src_get_channel
+ (c-name "empathy_video_src_get_channel")
+ (return-type "guint")
+ (parameters
+ '("GstElement*" "src")
+ '("EmpathyGstVideoSrcChannel" "channel")
+ )
+)
+
+
+
+;; From empathy-video-widget.h
+
+(define-function video_widget_get_type
+ (c-name "empathy_video_widget_get_type")
+ (return-type "GType")
+)
+
+(define-function video_widget_new
+ (c-name "empathy_video_widget_new")
+ (is-constructor-of "EmpathyVideoWidget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GstBus*" "bus")
+ )
+)
+
+(define-function video_widget_new_with_size
+ (c-name "empathy_video_widget_new_with_size")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GstBus*" "bus")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-method get_element
+ (of-object "EmpathyVideoWidget")
+ (c-name "empathy_video_widget_get_element")
+ (return-type "GstElement*")
+)
+
+(define-method get_sink
+ (of-object "EmpathyVideoWidget")
+ (c-name "empathy_video_widget_get_sink")
+ (return-type "GstPad*")
+)
+
+
+
;; From empathy-images.h
(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*")
)
(return-type "none")
)
-(define-function 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 uri_regex_dup_singleton
+ (c-name "empathy_uri_regex_dup_singleton")
+ (return-type "GRegex*")
)
-(define-function glade_get_file
- (c-name "empathy_glade_get_file")
- (return-type "GladeXML*")
+(define-function builder_get_file
+ (c-name "empathy_builder_get_file")
+ (return-type "GtkBuilder*")
(parameters
'("const-gchar*" "filename")
- '("const-gchar*" "root")
- '("const-gchar*" "domain")
- '("const-gchar*" "first_required_widget")
+ '("const-gchar*" "first_object")
)
(varargs #t)
)
-(define-function glade_connect
- (c-name "empathy_glade_connect")
+(define-function builder_connect
+ (c-name "empathy_builder_connect")
(return-type "none")
(parameters
- '("GladeXML*" "gui")
+ '("GtkBuilder*" "gui")
'("gpointer" "user_data")
- '("gchar*" "first_widget")
+ '("gchar*" "first_object")
)
(varargs #t)
)
-(define-function glade_setup_size_group
- (c-name "empathy_glade_setup_size_group")
- (return-type "none")
+(define-function builder_unref_and_keep_widget
+ (c-name "empathy_builder_unref_and_keep_widget")
+ (return-type "GtkWidget*")
(parameters
- '("GladeXML*" "gui")
- '("GtkSizeGroupMode" "mode")
- '("gchar*" "first_widget")
+ '("GtkBuilder*" "gui")
+ '("GtkWidget*" "root")
)
- (varargs #t)
)
(define-function icon_name_from_account
)
)
+(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")
+ )
+)
+
+(define-function sound_play_full
+ (c-name "empathy_sound_play_full")
+ (return-type "gboolean")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("EmpathySound" "sound_id")
+ '("ca_finish_callback_t" "callback")
+ '("gpointer" "user_data")
)
)
+(define-method stop
+ (of-object "EmpathySound")
+ (c-name "empathy_sound_stop")
+ (return-type "none")
+)
+