newsGNU FreeDink - News

 
 

WDE update

Item posted by Sylvain Beucler <Beuc> on Sat 01 Mar 2008 10:19:07 PM UTC.

It took me a while to figure it all, but I now have the basic technical infrastructure for WinDinkedit.

Here's a screenshot of the editor engine within a PyGtk GUI:
http://freedink.beuc.net/screenshots/wde_pygtk.png

This now allows for efficient development.

Technical details: the GUI is done with the Gtk2 library, the Glade3 interface builder, and the Python programming language, while the internal engine remains in C++ and SDL. Pygame is also used to initialize SDL, this way we may manipulate the SDL window from Python if need be.

Python and C++ are tied together through GObject-based bindings (as PyGtk does), and Gtk and SDL are coupled using a brand new PyGtkSDL widget by yours truly (using the SDL_WINDOWID technique + close Gtk integration).

I may switch from C++ to C+GObject for the engine internals in the near future.

Back to the top

Powered by Savane 3.14-8aba.
Corresponding source code