Appendix C: GUI Library Functions

C.1 Overview

Graphical user interfaces (GUIs) may be developed in Python using the GUI library.* Unlike many other GUI libraries, this library keeps simple things simple and makes complicated things possible.

C.2 GUI Display

To build a GUI, you have to create at least one display (window).

  • Display objects are application windows. They contain other GUI objects (widgets and graphics objects). A program may have several displays open. Displays may contain any number of GUI objects, but they cannot contain another display.

Once a display has been created, you populate it by placing various GUI widgets and graphics objects on it. The library provides various GUI widgets and graphics objects.

The origin (0, 0) ...

Get Making Music with Computers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.