Ideal D GUI Toolkit

Diggory diggsey at googlemail.com
Wed May 22 18:09:17 PDT 2013


I've been looking at GtkD and it seems very complete and up to 
date in terms of exposing the Gtk+ API and wrapping it, but 
there's still a lot of Dification that could be done which would 
make it much closer to an ideal gui toolkit:

- Compile time implementation of GtkBuilder
- Instead of connecting up signals using strings specified in 
glade, use @Handles attribute to easily hook up to events from D 
code
- Generator to easily convert a D class into a custom widget for 
glade, completing the circle
- Automated setup so it's easier to get started using GtkD and 
glade

Advantages:
- Relatively small amount of work required
- Could be made to support most of the features suggested so far, 
potentially even hardware acceleration using the experimental 
opengl back-end
- Lots of potential for Dification
- GtkD already works well
- Cross platform

Disadvantages:
- Gtk+ is a fairly large dependency
- It's not D, although on the other hand it's not C++ either :P


More information about the Digitalmars-d mailing list