I'm trying to make GLWidget work with the latest everything. Internally it creates custom graphics context (http://www.opentk.com/book/export/html/1057) which requires native window handle.
It used to run like this IntPtr windowHandle = gdk_x11_drawable_get_xid(GdkWindow.Handle); bool ownHandle = true; bool isControl = true; windowInfo = OpenTK.Platform.Utilities.CreateMacOSCarbonWindowInfo(windowHandle, ownHandle, isControl); but now there is no gdk_x11_drawable_get_xid. Even the library (libgdk-x11-2.0.so.0) is missing. I got the impression Gtk# is now built against Quartz, and not X11. But I'm pretty new to both of those systems, and could be completely wrong. Now, my question is, how do I get native window handle under Quartz? -- View this message in context: http://mono.1490590.n4.nabble.com/Native-GtkWindow-handle-on-MAX-OS-X-Lion-tp3832218p3832218.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
