Welcome

What is gtkD
Screenshots
sourceforge Page
Contacts

Downloads

gtkD Windows
gtkD Linux

Developers

Tutorial
Diffs to GTK
Events
Class Hierarchy
Class Index
Class List
OpenGL

Links

Site pages
Links
Acknowledgments

  What is gtkD

gtkD is a D language OO graphical user interface binding and wrapping GTK+
D can interface with C so any graphics toolkit with a C API can be used directly from D, this includes GTK+.
gtkD is released under the LGPL license

  Status

gtkD is a work in progress but it is perfectly usable with all GTK+ widgets having most of the usefull bindings.
(see disclamers on the license).

  gtkD code looks like this


Linux

Windows 2000

Windows XP

/*
 * This file is part of gtkD.
 *
 * gtkD is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * gtkD is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with gtkD; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

module gtk.HelloWorld;

private import gtk.MainWindow;
private import gtk.Label;
private import gtk.GtkD;

class HelloWorld : MainWindow
{
    this()
    {
        super("GtkD");
        setBorderWidth(10);
        add(new Label("Hello World"));
        showAll();
    }
}

private import gtkc.Loader;

void main(char[][] args)
{
    
    Linker.dumpFailedLoads();
    
    Gtk.init(args);
    new HelloWorld();
    Gtk.main();

}

  What people are saying about DUI

"D needs a good GUI and DUI can provide it"
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/12901

"Currently, it seems that DUI is the strongest project in this area."
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/12903

"[DUI] is great to use"
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.dtl/314

News

gtkD beta 1

gtkD beta 1 is on the forge, just needs to be packaged

2007/01/04

project renamed to gtkD

2007/01/03

New installer

Duit can now be installed both on window or linux with a simple GUI installer

2007/01/01

Duit for dmd 1.004

2007/01/01

older news

older news

2007/01/01


SourceForge.net Logo DSource.org Logo digitalmars.com Logo