Skip to content

GUI Library

from gui import *

Graphical User Interfaces (GUIs) may be developed in PythonMusic using the GUI library.

Unlike many other GUI libraries, this library has been designed to “make simple things simple, and complex things possible…” (see Alan Kay).

Contents Description
Display Windows to hold graphics objects and drawings.
Shapes Simple, geometric graphics objects.
Controls Interactive control widgets.
Text Labels and widgets for drawing text.
Icon An image loaded from a file.
Group A collection of GUI objects that move, resize, and rotate together.
Color RGB color objects and functions for color manipulation.
Events Functions for responding to mouse and keyboard events.