|
Panda3D
|
Public Member Functions | |
| __init__ (self, propertyDict, propertyList=None, parent=None, title='Widget Properties') | |
| apply (self) | |
| body (self, master) | |
| buttonbox (self) | |
| cancel (self, event=None) | |
| destroy (self) | |
| intOrNone (self, val) | |
| modified (self, widget, entry, property, type, fNone) | |
| ok (self, event=None) | |
| realOrNone (self, val) | |
| validateChanges (self) | |
Public Attributes | |
| list | balloonList = None |
| cancel = 5) | |
| initial_focus = self.body(body) | |
| dict | modifiedDict = {} |
| ok | |
| parent = parent | |
| dict | propertyDict = propertyDict |
| propertyList = propertyList | |
Class to open dialogs to adjust widget properties.
| __init__ | ( | self, | |
| propertyDict, | |||
| propertyList = None, | |||
| parent = None, | |||
| title = 'Widget Properties' ) |
Initialize a dialog.
Arguments:
propertyDict -- a dictionary of properties to be edited
parent -- a parent window (the application window)
title -- the dialog title
| apply | ( | self | ) |
process the data This method is called automatically to process the data, *after* the dialog is destroyed. By default, it does nothing.
| body | ( | self, | |
| master ) |
create dialog body. return entry that should have initial focus. This method should be overridden, and is called by the __init__ method.
| buttonbox | ( | self | ) |
add standard button box buttons.
| cancel | ( | self, | |
| event = None ) |
| destroy | ( | self | ) |
Destroy the window
| intOrNone | ( | self, | |
| val ) |
| modified | ( | self, | |
| widget, | |||
| entry, | |||
| property, | |||
| type, | |||
| fNone ) |
| ok | ( | self, | |
| event = None ) |
| realOrNone | ( | self, | |
| val ) |
| validateChanges | ( | self | ) |
| list balloonList = None |
| cancel = 5) |
| initial_focus = self.body(body) |
| dict modifiedDict = {} |
| ok |
| parent = parent |
| dict propertyDict = propertyDict |
| propertyList = propertyList |