Code Examples

Documentation
More GtkD documentation will be added later.

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 RC1 is due out 8/1/2008! Will you be ready?

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: Preview 9 (6/30/2008)
A new pre-release of gtkD for DMD 1.0/2.0 is now available: gtkD-pre9.zip
Preview 9 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.10). Please note that this version does not contain the gtksourceview 1.x library anymore (upgraded to gtksourceview 2.x). If you are using sourceview and a version of GtkD prior to pre8, you will need to upgrade to use this library set.

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

Download GtkD
Latest:
Old:

Links