[Gtk-sharp-list] How to get X11 window (for OpenGL rendering)?

J. Perkins jason@sim8.com
Fri, 16 Apr 2004 00:01:42 -0400


Disclaimer: I know almost nothing about Gtk or Gtk#. I am learning, slowly.

I have a C++ rendering system that I am trying to wrap with C# and Gtk#. 
  It wants an X11 Window to render into. Googling makes it look like it 
is possible to get an X11 window from a Gtk window, but I don't see 
anything in Gtk# that looks like it would work. Is this possible?

FYI, I can't use the various Gtk-GL addons for this application, since 
this system creates and manages its own GL context under the hood. I've 
looked at some of the C sources, but again I don't see how they 
translate to Gtk#

Help much appreciated,

Jason