[Gtk-sharp-list] How to get X11 window (for OpenGL rendering)?
Fri, 16 Apr 2004 18:22:23 -0400
Bruno Fernandez-Ruiz wrote:
> I think what you need is to use the macro:
> You can take a look in the CVS of GtkGL# (module "gtkgl-sharp", password
Thanks for the info, this got me to an acceptable solution. P/Invoke
wasn't an option, so I hunted around the GDK headers and came up with this:
static extern int gdk_x11_drawable_get_xid(IntPtr drawable);
...which does the job nicely. Thanks for the help!