summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ganv_test.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ganv_test.py b/src/ganv_test.py
new file mode 100755
index 0000000..1d08ba4
--- /dev/null
+++ b/src/ganv_test.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+from gi.repository import Ganv, Gtk
+
+win = Gtk.Window()
+win.set_title("Ganv Python Test")
+win.connect("destroy", lambda obj: Gtk.main_quit())
+
+canvas = Ganv.Canvas.new(1024, 768)
+
+win.add(canvas)
+win.show_all()
+win.present()
+Gtk.main()