summaryrefslogtreecommitdiff
path: root/examples/demo/demos/test.py
blob: 4bd7684cd4c3aaec4f3e91ca2711201b09324169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
title = "Test Demo"
description = "Dude this is a test"


from gi.repository import Gtk


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


def main(demoapp=None):
    window = Gtk.Window()
    window.connect_after('destroy', _quit)
    window.show_all()
    Gtk.main()