Hi,

I wrote a C# binding for OpenGL (GL, GLU and glut) based on
Mono / Linux (If you are interested, see MonoGLo project
on sourceforge : http://sourceforge.net/projects/monoglo).

To open a window, I used the "glutCreateWindow" feature.
Now, on Linux, what I need is to create a new class based on
System.Windows.Forms. To create the OpenGL context on
this canvas, i need to get the X11 Window Id
("typedef XID Window;") of the canvas.

Is there a hack or a simple way to get the XID of the window ?
Thank you for your help.

S�bastien Dedieu

PS: tell me what you think of http://sourceforge.net/projects/monoglo
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to