Page 1 of 1

Irrlicht and GTK+

Posted: Fri Oct 21, 2005 2:16 pm
by fullmetalcoder
anyone knowing how to use Irrlicht 0.12.0 inside a GTK 2.x widget???

Posted: Fri Oct 21, 2005 3:33 pm
by hybrid
I guess that GTK also just uses simple window pointers, so just create the GTK window and pass the window pointer (native window!) to createDevice. Should work under windows, may work under Linux. Niko integrated this for Linux in the last release but I've never read about it being used.

Posted: Sat Mar 03, 2007 5:27 am
by Kochol
Hi all.
This code can run on windows.

Code: Select all

#include <gdk/gdkwin32.h>

...

HWND hwnd = (HWND)gdk_win32_drawable_get_handle(GTK_WIDGET (View)->window);

Posted: Sun Mar 04, 2007 8:55 am
by kornerr
There's nothing yet still to make them both work, unfortunately.