Code Examples

Helpful Resources

Welcome to GtkD

GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license.

Gtk+ is a highly usable, feature rich toolkit for creating graphical user interfaces which boasts cross platform compatibility and an easy to use API.

GtkD 1.0 is out! Download it now!

what is new on gtkD:
* fully automated binding/wrapping
* no dependences on other libraries (read: no dool, no String class)
* package structure and naming closer to Gtk+ (very close in fact)
* a more complete wrapping of gtk
* cairo support
* works with Phobos and Tango
* works with D 1.0 and D 2.0

Attention GtkD Users: GtkD was renamed to Main in Pre-release 9 and in the SVN. You will need to reflect these changes in your code when you initialize GtkD. Please refer to the Code Examples page to see how.

Latest Release: 1.0 (9/15/2008)
The first release of GtkD for DMD 1.0/2.0 is now available: gtkD-1.0.zip
1.0 works with both Phobos and Tango, and works with both D 1.0 and D 2.0. The syntax is now closer to what you'd expect with other GTK wrappers.

Linux Users: be sure to have the latest GTK libraries installed!

Windows Users: please use the official GTK installer (download version 2.12).

Let's give a big thanks to DDev for hosting/preparing the GtkD releases!

Download GtkD
Latest:
Old:

Links