Window creation: Difference between revisions

Corrected misplaced closing tag.
(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:
=== gtk2 ===
This is example 9 from the Araq/Nim github repository (modified to include a quit button)
<lang nim></lang>
import gdk2, glib2, gtk2
 
Anonymous user