File:  [HATARI the Atari ST Emulator] / hatari / python-ui / tests / pygtk-hello-world.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:46:58 2019 UTC (7 years, 3 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari02100, hatari02000, hatari01900, hatari01800, hatari01700, hatari01620, hatari01610, hatari01600, hatari01500, hatari01400, hatari01310, hatari01300, HEAD
hatari 1.3.0

#!/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.