window = Gtk.Window(title='Hello World')
window.connect('destroy', lambda w: Gtk.main_quit())
window.add(Gtk.Label('Hello World!'))
window.show_all()
Gtk.main()
Proper way of building Gtk3 applications in Python