hg clone http://hg.dsource.org/projects/dwt-linux
hg clone http://hg.dsource.org/projects/dwt-win
module main;
import dwt.widgets.Display;
import dwt.widgets.Shell;
void main ()
{
Display display = new Display;
Shell shell = new Shell(display);
shell.setText = "Hello DWT World";
shell.open;
while (!shell.isDisposed)
if (!display.readAndDispatch)
display.sleep;
display.dispose;
}
[main.d]