Window creation: Difference between revisions
Content added Content deleted
(Updated to work with X11 binding 1.1 and Nim<version 1.4: changed import statement; changed name of deprecated types, etc. Eliminated global vars.) |
(Corrected misplaced closing tag.) |
||
Line 1,188: | Line 1,188: | ||
=== gtk2 === |
=== gtk2 === |
||
This is example 9 from the Araq/Nim github repository (modified to include a quit button) |
This is example 9 from the Araq/Nim github repository (modified to include a quit button) |
||
<lang nim |
<lang nim> |
||
import gdk2, glib2, gtk2 |
import gdk2, glib2, gtk2 |
||