From cd5471c28d66fb2bf37cbb5aaa1550d231028fa6 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Thu, 27 May 2021 19:01:37 -0400 Subject: [PATCH] init python --- control_seekat_demo.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 control_seekat_demo.py diff --git a/control_seekat_demo.py b/control_seekat_demo.py new file mode 100644 index 0000000..66ff9c4 --- /dev/null +++ b/control_seekat_demo.py @@ -0,0 +1,10 @@ +import gi +gi.require_version("Gtk", "3.0") +from gi.repository import Gtk + +if __name__ == "__main__": + builder = Gtk.Builder() + builder.add_from_file("gui.glade") + builder.get_object("win").connect("destroy", Gtk.main_quit) + builder.get_object("win").show_all() + Gtk.main()