Mercurial > projects > doodle
view gui.d @ 0:e907d2c54ec3
Initial import
author | David Bryant <daveb@acres.com.au> |
---|---|
date | Wed, 13 May 2009 15:42:39 +0930 |
parents | |
children | c18e3f93d114 |
line wrap: on
line source
module gui; import canvas; import handler; import gtk.Main; import gtk.MainWindow; import tk.geometry; import tk.types; import tk.events; void main(string[] args) { Main.init(args); auto window = new MainWindow("Title"); auto event_handler = new ToolStack(); auto canvas = new Canvas(event_handler); window.add(canvas); window.showAll(); Main.run(); }