diff options
author | David Robillard <d@drobilla.net> | 2011-12-07 02:45:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-07 02:45:20 +0000 |
commit | 388d736799e23d5a22e52751c7522147fa5293cb (patch) | |
tree | 6b64274a6cc340983541b101892085b4394a1b2c | |
parent | ab83f198624534342de6805df68dc85794421f9c (diff) | |
download | ganv-388d736799e23d5a22e52751c7522147fa5293cb.tar.gz ganv-388d736799e23d5a22e52751c7522147fa5293cb.tar.bz2 ganv-388d736799e23d5a22e52751c7522147fa5293cb.zip |
Add Python test program.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3825 a436a847-0d15-0410-975c-d299462d15a1
-rwxr-xr-x | src/ganv_test.py | 14 |
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() |