Re: gtkmm and Gstreamer 1.0

Hello Flavio,

I did not do this, but it seems that you need XID of the GtkWindow. Internet provides with the following solution:
GdkWindow* wnd = ...;
XID xid_parent = GDK_WINDOW_XWINDOW(wnd);
Here is the short description of the macros:

Kind regards,

On Tue, Feb 18, 2014 at 8:15 PM, Flavio Danesse <fdanesse gmail com> wrote:
Hello, I'm new to the list and today I would like ask a question. 

I am migrating an application made in python with gtk 3 and Gstreamer 1.0 and can not find how to do this in gtkmm: 

xid = self.drawing_area.get_property ('window'). get_xid () 

self.drawing_area is an instance of gtk.DrawingArea 
self.drawing_area.get_property ('window') is a Gdk.Window

gtkmm-list mailing list
gtkmm-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]