![]() |
GTK+ window -> XID fails
i have GTK+ window
Quote:
Quote:
Quote:
Quote:
what's can be wrong? |
Re: GTK+ window -> XID fails
I think "drawing" is not a GdkWindow; after realising it, you should call gtk_widget_get_window on it and use the XID macro on that
|
Re: GTK+ window -> XID fails
realize the image.
Then: XID winxid=GDK_WINDOW_XID(GTK_WIDGET(drawing)->window); Note that GdkWindow is not the same as GtkWindow. |
All times are GMT. The time now is 20:15. |
vBulletin® Version 3.8.8