18 lines
340 B
Python
Executable File
18 lines
340 B
Python
Executable File
|
|
import gtk
|
|
|
|
class Window(object):
|
|
def __init__(self):
|
|
self.window = gtk.Window()
|
|
self.window.set_decorated(False)
|
|
self.window.connect('destroy', self.destroy_event)
|
|
|
|
self.window.show_all()
|
|
|
|
def run(self):
|
|
gtk.main()
|
|
|
|
def destroy_event(self):
|
|
gtk.main_quit()
|
|
return False
|