summaryrefslogtreecommitdiffstats
path: root/python-gnome-app
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2014-05-21 09:38:29 +0100
committerDavid King <amigadave@amigadave.com>2014-05-21 09:38:29 +0100
commitef157fb26fdc7a66c25568ae21b351acd2c149b4 (patch)
tree656d163695cde510b532be5b47a74956dccec8b4 /python-gnome-app
downloadpython-gnome-app-ef157fb26fdc7a66c25568ae21b351acd2c149b4.tar.gz
python-gnome-app-ef157fb26fdc7a66c25568ae21b351acd2c149b4.tar.xz
python-gnome-app-ef157fb26fdc7a66c25568ae21b351acd2c149b4.zip
Add skeleton app, which shows an empty window
The appliction shows a window and runs forever. Closing the window does not stop the application, so it must be killed externally.
Diffstat (limited to 'python-gnome-app')
-rwxr-xr-xpython-gnome-app8
1 files changed, 8 insertions, 0 deletions
diff --git a/python-gnome-app b/python-gnome-app
new file mode 100755
index 0000000..09625d3
--- /dev/null
+++ b/python-gnome-app
@@ -0,0 +1,8 @@
+#!/usr/bin/python3
+
+from gi.repository import Gtk
+
+window = Gtk.Window()
+window.show_all()
+
+Gtk.main()