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.
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.
|
|