compilation cache: tests now part of test suite
This commit is contained in:
parent
5e5e4abfee
commit
2d54b85089
19 changed files with 250 additions and 46 deletions
14
tests/rodfiles/gtkex1.nim
Executable file
14
tests/rodfiles/gtkex1.nim
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import
|
||||
cairo, glib2, gtk2
|
||||
|
||||
proc destroy(widget: pWidget, data: pgpointer) {.cdecl.} =
|
||||
main_quit()
|
||||
|
||||
var
|
||||
window: pWidget
|
||||
nimrod_init()
|
||||
window = window_new(WINDOW_TOPLEVEL)
|
||||
discard signal_connect(window, "destroy",
|
||||
SIGNAL_FUNC(gtkex1.destroy), nil)
|
||||
show(window)
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue