Sorry for my ignorance, but can not get it to work.this:# include <gdkmm/window.h>int xid_parent = GDK_WINDOW_XWINDOW(drawing.get_window());Returns GDK_WINDOW_XWINDOW is not definedOn the other hand, I do not understand your example:XID xid_parent = GDK_WINDOW_XWINDOW xid_parent (wnd);
Because XID It is not a data type.2014-02-18 17:28 GMT-02:00 Vest V. <vest 84 gmail com>:
Kind regards,Hello Flavio,I did not do this, but it seems that you need XID of the GtkWindow. Internet provides with the following solution:
Here is the short description of the macros: http://developer.gimp.org/api/2.0/gdk/gdk-X-Window-System-Interaction.html#GDK-WINDOW-XWINDOW:CAPSGdkWindow* wnd = ...;
XID xid_parent = GDK_WINDOW_XWINDOW(wnd);
VestOn 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 ()Note:self.drawing_area is an instance of gtk.DrawingAreaself.drawing_area.get_property ('window') is a Gdk.Window
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list