Anonymous user
GUI component interaction: Difference between revisions
Other corrections to compile with Nim 1.4.
(Updated to compile with Nim 1.4.) |
(Other corrections to compile with Nim 1.4.) |
||
Line 2,195:
{{libheader|Gtk2}}
<lang nim>import
gtk2
var valu: int = 0
Line 2,248:
try:
valu = parseInt($entry_fld.get_text())
except
valu = 0
entry_fld.set_text($valu)
|