diff options
Diffstat (limited to 'src/ganv_test.py')
-rwxr-xr-x | src/ganv_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ganv_test.py b/src/ganv_test.py index 8ba784d..1488224 100755 --- a/src/ganv_test.py +++ b/src/ganv_test.py @@ -9,6 +9,13 @@ win.connect("destroy", lambda obj: Gtk.main_quit()) canvas = Ganv.Canvas.new(1024, 768) module = Ganv.Module(canvas=canvas, label="Test") +iport = Ganv.Port(module=module, + is_input=True, + label="In") +oport = Ganv.Port(module=module, + is_input=False, + label="In") + win.add(canvas) win.show_all() win.present() |