added GTK4 support
This commit is contained in:
parent
d7aa177796
commit
fd6cda7fe8
18 changed files with 320 additions and 451 deletions
|
|
@ -1,16 +0,0 @@
|
|||
# nim c t0.nim
|
||||
import gintro/[gtk, gobject]
|
||||
|
||||
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