1. Henning Schröder
  2. ttgui

Source

ttgui / test.py

from tobject import TApplication, TWidget, TLabel, TPoint, TSize


app = TApplication()
app.desktop().show()
win = TWidget()
win.move(TPoint(10, 10))
win.resize(TSize(60, 15))
l = TLabel(win)
l.setText("Hello, world")
win.show()

while app.event_loop.processEvent():
    pass
app.desktop().console.getchar(wait=True)
app.desktop().console.close()