# PyGUI

# A
Graphical Application Framework
for
Python

by Greg Ewing

`greg@cosc.canterbury.ac.nz`

## Introduction

- Overview
- Terminology
- Event Handling
- Tutorial

## Framework Classes

Classes making up the foundation of the model-view architecture and message handling system.

- class Application
- class Document
- class Window
- class Model
- class View
- class MessageHandler

## Topics

Discussions of various matters which don't fit neatly under the heading of any particular class or function.

- Coordinates, Points and Rectangles
- Actions
- Menu Setup
- Using the View class

## Visual Classes

Classes representing user interface components which appear on the screen.

- class Component
- class Frame
- class ScrollFrame
- class View
- class GLView (NEW in 1.5)
- class Window
- class Control
- class Label
- class Picture (not yet implemented)
- class Button
- class CheckBox
- class RadioButton
- class TextField
- class Dialog
- class ModalDialog

## Menu Classes

Classes for creating and manipulating menus.

- class Menu

## Graphics Classes

Classes concerned with user-defined drawing.

- class Canvas
- class Color
- class Font
- class Image
- class Pixmap

## Support Classes

- class Event
- class RadioGroup
- class FileRef
- class DirRef
- class ViewBase

## Functions

- Color functions
- Point and rectangle functions
- application()
- Alert functions
- File dialog functions

## Submodules

- StdColors
- StdFonts
- Geometry

## Example Code

- blobedit.py