import pygtk
import gtk

if __name__ == "__main__":
    window = gtk.Window()
    window.set_position(gtk.WIN_POS_CENTER_ALWAYS)
    window.show_all()

    def destroy_gtk(widget):
        gtk.main_quit()

    window.connect('destroy', destroy_gtk)

    gtk.main()
