diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-03 18:04:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-03 18:04:58 +0800 |
commit | ee1ceba3cacd37be2bb9b9fa117029126e35e91a (patch) | |
tree | 08a0f0a7f0d52d99b4de09e289f84ee94235051a /python/pyempathygtk/pyempathygtk.defs | |
parent | 028b73a7c053c8a53de8153030ea225bd31bac7d (diff) | |
download | gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar.gz gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar.bz2 gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar.lz gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar.xz gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.tar.zst gsoc2013-empathy-ee1ceba3cacd37be2bb9b9fa117029126e35e91a.zip |
Update python bindings
svn path=/trunk/; revision=2419
Diffstat (limited to 'python/pyempathygtk/pyempathygtk.defs')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 35bc8c9f1..c4cc1e29c 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -90,6 +90,27 @@ (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") @@ -125,6 +146,13 @@ (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 @@ -1263,6 +1291,91 @@ +;; 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*") +) + + + +;; 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*") +) + + + +;; 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*") +) + + + +;; 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 |