aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-03-17 02:23:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-17 02:23:34 +0800
commitfe80038817061e18efd8a1a08edaf94ed56160fe (patch)
treeeb2ca723d775cdf206527ab7ea8986eac54eb0f3 /python/pyempathygtk
parent71d4d7a68f28e9ba05806d80bebb0d8d99ca82f8 (diff)
downloadgsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar.gz
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar.bz2
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar.lz
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar.xz
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.tar.zst
gsoc2013-empathy-fe80038817061e18efd8a1a08edaf94ed56160fe.zip
Update python bindings
From: Xavier Claessens <xclaesse@gmail.com> svn path=/branches/gnome-2-26/; revision=2695
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs61
1 files changed, 61 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index 2c5515da8..c75c93efd 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -233,6 +233,18 @@
)
)
+(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")
@@ -1336,6 +1348,23 @@
(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
@@ -1351,6 +1380,33 @@
(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
@@ -1688,6 +1744,11 @@
(return-type "none")
)
+(define-function uri_regex_dup_singleton
+ (c-name "empathy_uri_regex_dup_singleton")
+ (return-type "GRegex*")
+)
+
(define-function glade_get_file_simple
(c-name "empathy_glade_get_file_simple")
(return-type "none")