|
|
1.1 ! root 1: #!/usr/bin/env python ! 2: ! 3: import gtk ! 4: ! 5: class AppUI(): ! 6: def __init__(self): ! 7: self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) ! 8: self.window.connect("destroy", gtk.main_quit) ! 9: ! 10: label = gtk.Label("Hello World!") ! 11: self.window.add(label) ! 12: ! 13: def run(self): ! 14: self.window.show_all() ! 15: gtk.main() ! 16: ! 17: app = AppUI() ! 18: app.run()
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.