mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
5e7dffcf4d
Original commit message from CVS: * gst/*: Move interfaces over here, make it build, remove gstreamer.py
41 lines
911 B
Scheme
41 lines
911 B
Scheme
;; -*- scheme -*-
|
|
; object definitions ...
|
|
(define-object XWindowListener
|
|
(in-module "Gst")
|
|
(parent "GObject")
|
|
(c-name "GstXWindowListener")
|
|
(gtype-id "GST_TYPE_XWINDOW_LISTENER")
|
|
)
|
|
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
;; From /opt/gnome/include/gstreamer-0.7/gst/xwindowlistener/xwindowlistener.h
|
|
|
|
(define-function gst_x_window_listener_get_type
|
|
(c-name "gst_x_window_listener_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function gst_x_window_listener_new
|
|
(c-name "gst_x_window_listener_new")
|
|
(is-constructor-of "GstXWindowListener")
|
|
(return-type "GstXWindowListener*")
|
|
(parameters
|
|
'("gchar*" "display")
|
|
'("MapWindowFunc" "map_window_func")
|
|
'("SetWindowFunc" "set_window_func")
|
|
'("gpointer" "private_data")
|
|
)
|
|
)
|
|
|
|
(define-method set_xid
|
|
(of-object "GstXWindowListener")
|
|
(c-name "gst_x_window_listener_set_xid")
|
|
(return-type "none")
|
|
(parameters
|
|
'("XID" "id")
|
|
)
|
|
)
|
|
|
|
|