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.2 is out! Download it now!

what is new on GtkD:
* fully automated binding/wrapping
* Cairo, Gda, Gl, and Gstreamer support
* works with Phobos and Tango
* works with D 1.0 and D 2.0
* wraps GTK+ 2.16.x API

Attention GtkD Users: The class called GtkD was renamed to Main in Pre-release 9 and in the SVN. This was done to mimic the methodology of other GTK+ wrappers to make the transition to D/GtkD much smoother. 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.2 (5/1/2009)
The third release of GtkD for DMD 1.0/2.0 is now available: gtkD-1.2.zip
GtkD 1.2 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 one of the official GTK+ installers: (version 2.12.11 for GtkD 1.0) or (version 2.14.7 for GtkD 1.1) or (version 2.16.1-1 for GtkD 1.2).

Mac OS X Users: use the new OS X native GTK+ installer (beta) from www.gtk-osx.org. Currently you will need GtkD from the svn trunk to get it to work. See also Mac OS X Notes.

Download GtkD
Latest:
Old:

Links