Re: GtkWindow from X window id

2008-04-10 Thread Tristan Van Berkom
On Thu, Apr 10, 2008 at 3:15 PM, Brian J. Tarricone <[EMAIL PROTECTED]> wrote: > Xavier Toth wrote: > > Is it possible to retrieve a GtkWindow using the native X window id? > > Something like this might work: > > GdkWindow *window = gdk_window_lookup(xid); > GtkWidget *widget = gdk_window_get_u

Re: GtkWindow from X window id

2008-04-10 Thread Brian J. Tarricone
Xavier Toth wrote: > Is it possible to retrieve a GtkWindow using the native X window id? Something like this might work: GdkWindow *window = gdk_window_lookup(xid); GtkWidget *widget = gdk_window_get_user_data(window); Of course that only works if 'xid' corresponds to a GtkWindow that you your

GtkWindow from X window id

2008-04-10 Thread Xavier Toth
Is it possible to retrieve a GtkWindow using the native X window id? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list