test.py 279 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
title = "Test Demo"
description = "Dude this is a test"
is_fully_bound = True

from gi.repository import Gtk

def _quit(*args):
    Gtk.main_quit()

10
def main(demoapp=None):
11 12 13 14
    window = Gtk.Window()
    window.connect_after('destroy', _quit)
    window.show_all()
    Gtk.main()