www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - A candidate for GUI

Well , it extremely small and just require STL , which is not available in D
now . But I hope when DTL release , it can be ported to D with some little
effort .
http://smartwin.sourceforge.net/

A good GUI template abstraction :) , at now we , inho , can look at this
first . Though it focus on Windows , but with Wine who knows ? .
Sourcecode about 289K
http://smartwin.sourceforge.net/codesamples.html : 500 codelines for a CRM
system.

#include "SmartWin.h"
#include "MainWindow.h"
int main( SmartWin::Application & app )
{
   MainWindow * main = new MainWindow();
   main->size( 0, 0, 800, 600 );
   return app.run();
}

The author told that he want to fill a gap between Qt,wxWidgets and MFC .
Seems its event handling system is as good as the event handlers from
Steward Gordon framework , or DFC .
May 30 2004