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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.