Prev: Text-edit Object Up: stdwin Top: Top

8.1.7. Example

Here is a minimal example of using STDWIN in Python. It creates a window and draws the string ``Hello world'' in the top left corner of the window. The window will be correctly redrawn when covered and re-exposed. The program quits when the close icon or menu item is requested.