PyGUI
A
Graphical Application Framework
for
Python
by Greg Ewing
greg.ewing@canterbury.ac.nz
Discussion
Tutorials
Framework Classes
Classes making up the foundation of the model-view architecture and
message handling system.
Abstract Classes
These
classes define properties and methods that other PyGUI classes have in
common. They are for internal use by the PyGUI framework only. You
should not instantiate these classes or derive your own classes
directly from them.
Window Classes
Components that appear as top-level windows on the desktop.
User-Defined View Classes
Components with drawing and input-handling methods that you can override.Control Classes
Components for displaying and editing values.
Layout Classes
Components for arranging other components.
Text Editing Classes
Components for displaying and editing text.Menu Classes
Classes for creating and manipulating menus and menu items.
Graphics Classes
Classes concerned with drawing 2D graphics in user-defined views.
Support Classes
Non-graphical classes used behind the scenes.
OpenGL Classes
Classes concerned with 3D drawing using OpenGL.
Printing Classes
Classes related to printing support.Functions
Stand-alone functions at the top level of the GUI package.
Submodules
Functionality provided as submodules of the GUI package.
- StdColors - Predefined Color objects
- StdFonts - Predefined Font objects
- StdCursors - Predefined Cursor objects
- StdMenus - Constructing standard Menus and MenuBars
- Alerts - Various kinds of alert boxes
- FileDialogs - Dialogs for requesting old and new file and directory names
- Resources - Functions for finding and loading resources bundled with an application
- Geometry - Calculations with points and rectangles
- Printing - Classes and functions related to printing
- GL - OpenGL facilities
- Numerical - NumPy interface
- PIL - Python Imaging Library interface
Example Code