File:  [Previous NeXT emulator] / previous / python-ui / tests / pygtk-hello-world.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:25:10 2018 UTC (8 years, 3 months ago) by root
Branches: giles, MAIN
CVS tags: branch_winuae-cpu, branch_scsi, branch_realtime, branch_mmu, branch_keyboard, branch_gilles, branch1, HEAD
Previous NeXT emulator

#!/usr/bin/env python

import gtk

class AppUI():
    def __init__(self):
        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
        self.window.connect("destroy", gtk.main_quit)
        
        label = gtk.Label("Hello World!")
        self.window.add(label)
        
    def run(self):
        self.window.show_all()
        gtk.main()
        
app = AppUI()
app.run()

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.