Table of Contents

Class: PrefsDialog PmwContribD-r2_0_1/PrefsDialog.py

Preference management dialog.

Options

buttons

Names of buttons to include on the dialog.

command

Callback to execute when a button is pressed. The button name is the first argument passed, and indicates the action to take.

Base Classes   
Pmw.Dialog
Methods   
__init__
command
show
  __init__ 
__init__ (
        self,
        parent=None,
        userPrefs={},
        **kw,
        )

Create a PrefsDialog.

Arguments

parent=None

Widget to serve as parent for dialog.

userPrefs={}

Instance of a class which is a subclass of UserPrefs. The preference names and values are retrieved from here, and updates are written back out here.

  command 
command ( self,  *args )

Callback executed when button is pressed.

  show 
show ( self )

Update values and show the dialog.


Table of Contents

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