Table of Contents

PmwContribD Source Documentation  

PmwContribD Contributed Tk Mega-Widgets

This library consists of several Pmw-based Tkinter widgets including a ProgressMeter, basic TreeNavigator and a GUI application framework for creating simple GUI apps quickly.

See the home page for more details about the package contents.

See the Pmw site for more details about Pmw.

Download

Download the latest version of PmwContribD from SourceForge .

Thanks to SourceForge Logo for hosting PmwContribD development.

Introduction

The complete documentation for all files and classes is below. This section gives a higher level description of a few components of PmwContribD to get you started.

Support Classes

Not all of the classes in the library are GUI components.

UserPrefs

A class for managing user preferences in a preferences file.

GuiAppD

An extensive, but simple, GUI application framework. Many of the powerful Tk features are available directly as methods. Many Pmw or PmwContribD widgets are available automatically (for instance PrefsDialog and HelpTree). Remove the drudge-work of creating a Tk application by subclassing GuiAppD and filling in the blanks.

Dialogs

PrefsDialog

The PrefsDialog automatically builds a GUI to let the user edit preferences managed by a UserPrefs class. Look at the Whacky Chat client sample application to see how this is used.

FontChooserDialog

The FontChooserDialog provides a UI for interactively changing a Tk font specification. The user sees a preview of the font they are selecting.

TagAttributeChooserDialog

The TagAttributeChooserDialog extends the FontChooserDialog and adds a tab for editing the extra attributes available for tag faces in the Tk Text widget.

ProgressDialog

Typical dialog for showing a ProgressBar or ProgressDial.

Widgets

MCScrolledListBox

A scrolled list with multiple columns. Supports various selection modes. Display and selection values are sequences of tuples (no formatting or parsing!).

TreeNavigator or TreeExplorer

Simple widgets to display and manipulate tree data structures.

PipeOutputWindow

A wrapper for shell commands that allows the face for each command output line to be selected based on a regular expression.

Installation

PmwContribD now uses the Distutils installation system. To install the package, run:

    % python setup.py install

with the appropriate priviledges.

Modules and Packages   

PmwContribD-r2_0_1/

README.txt.html

PmwContribD Contributed Tk Mega-Widgets

TODO.html

PmwContribD To Do List

AnimatedFileIcon

A file icon which can be used by the TreeNavigator.

AnimatedFolder

A folder icon which can be used by the TreeNavigator.

AnimatedIcon

Base class for icons to be used by the TreeNavigator.

CanvasGroup

A subclass of Canvas.Group that knows how to do bbox.

ConnectedBox

A HandledBox which can be connected to another HandledBox.

DelayedCreatePage

Subclassable version of the page for a Pmw.NoteBookR.

DisplayField

Widget to display a value with a label.

FontChooserDialog

A dialog class for choosing a font specification.

GuiAppD

GUI application framework providing many common GUI services.

HandledBox

A canvas object subclassed from ShadowBox, which adds handles.

HelpTree

Use the NavigableTree class to build a HelpTree class.

MCScrolledListBox

Multi-column scrolled list box.

NavigableTree

Tree data structure to be used with TreeNavigator widget.

OptionColorButton

Button which controls a color chooser dialog.

OptionFontButton

Button which controls a font chooser dialog.

OptionFontSelector

Font selector dialog.

OptionToggle

Special toggle button for use in option dialogs.

PipeOutputWindow

Display output of a piped command with optional colorization.

PrefsDialog

Preferences dialog used by GuiAppD.

ProgressDialog

A Pmw style dialog for showing the progress being made on a task.

ProgressMeter

A Pmw style widget for showing the progress being made on a task.

ScrolledST

Scrolled StructuredText display widget.

ShadowBox

A canvas object which draws a box around something.

SimpleTable

Defines a basic (rather memory intensive) table widget.

StructuredText

Structured Text Manipulation

Table

A Table widget for displaying tabular data.

TagAttributeChooserDialog

Dialog for defining all of the attributes of a text tag style.

TestCases

PmwContribD Source Documentation: TestCases

TreeExplorer

For exploring the contents of a tree data structure.

TreeNavigator

A Pmw style widget for navigating the contents of a tree data structure.

UserPrefs

User preference management.

colormath

Functions to compute color shadows, light and dark.

cvsversion

Get the CVS version information based on the $Name: r2_0_1 $ token.

displaygrid

A widget to display a collection of sequences in a grid.

geometrystring

Geometry string parser for Tkinter.

marquee

Utility functions/classes for dealing with marquee screen

setup

Distutils setup file for PmwContribD

ts_regex

Provide a thread-safe interface to regex

PmwContribD-r2_0_1/SampleApps/

redemo2

Extension of Guido's regular expression demonstration utility.

PmwContribD-r2_0_1/SampleApps/WhackyChat/Client/

README.txt.html

WhackyChat Instant Messaging

TODO.html

WhackyChat Client To Do List

wcc_client

GUI Client to talk to a WackyChat server.

wcc_dialog

Messaging dialog.

wcc_options

Defines options for WhackyChat client.

wcc_protocol

Class to handle protocol for wacky server.

wcc_quickwacky

Privide a command line interface to send a quick wacky message

wcc_status

Class to get status information from a WIMD connection.

PmwContribD-r2_0_1/SampleApps/WhackyChat/Server/

README.txt.html

WhackyChat Instant Messaging

TODO.html

WhackyChat Server To Do List

CommandLineApp

Base class for building command line applications.

wimd

WhackyChat server program

wimd_defaults

Default values to be used by wimd.py.

wimd_pwfile

Read a WhackyChat server password file.

wimd_server

Server and connection objects for WIMD protocol.

wimd_user_add

Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0