Re: Getting an X11 handle from a GTK window handle

2006-04-05 Thread Shachar Shemesh
Shachar Shemesh wrote: >but if anyone has an >authorative answer that is guarenteed not to change over versions, that >would be preferable. > > Oops, No sooner asked than answered. The GTK manual has this line (http://developer.gnome.org/doc/API/2.0/gtk/gtk-x11.html) > To mix low-level Xlib r

Getting an X11 handle from a GTK window handle

2006-04-05 Thread Shachar Shemesh
Hi all, Does anyone happen to know (I have not exhusted all of the usual research directions) how to get the X11 Window id from a GTK window structure? I'm fairly sure that a quick look at the GTK source and a bit of manual casting will provide an answer, but if anyone has an authorative answer t