added gstreamer and gboxed types support

This commit is contained in:
Stefan Salewski 2019-10-28 13:05:12 +01:00
commit c2b13b0b90
9 changed files with 350 additions and 3220 deletions

View file

@ -0,0 +1,16 @@
import gintro/[gtk, glib, gobject, gio, gtksource]
proc appActivate (app: Application) =
let window = newApplicationWindow(app)
window.title = "GTKSourceView"
window.defaultSize = (250, 350)
let view = newView()
window.add(view)
window.showAll
proc main =
let app = newApplication("org.gtk.example")
connect(app, "activate", appActivate)
discard app.run
main()