mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
marshalling can be done at compile-time
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# Test the dialogs module
|
||||
|
||||
import dialogs, gtk2
|
||||
|
||||
gtk2.nimrod_init()
|
||||
|
||||
var x = chooseFilesToOpen(nil)
|
||||
for a in items(x):
|
||||
writeln(stdout, a)
|
||||
|
||||
info(nil, "start with an info box")
|
||||
warning(nil, "now a warning ...")
|
||||
error(nil, "... and an error!")
|
||||
|
||||
writeln(stdout, chooseFileToOpen(nil))
|
||||
writeln(stdout, chooseFileToSave(nil))
|
||||
writeln(stdout, chooseDir(nil))
|
||||
Reference in New Issue
Block a user