first try
This commit is contained in:
parent
045ec51e97
commit
0ea089d432
21 changed files with 108883 additions and 2 deletions
16
examples/t0.nim
Normal file
16
examples/t0.nim
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# nim c t0.nim
|
||||
import gintro/gtk
|
||||
|
||||
proc bye(w: Window) =
|
||||
mainQuit()
|
||||
echo "Bye..."
|
||||
|
||||
proc main =
|
||||
gtk.init()
|
||||
let window = newWindow()
|
||||
window.title = "First Test"
|
||||
window.connect("destroy", bye)
|
||||
window.showAll
|
||||
gtk.main()
|
||||
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue