Panda3D
|
Public Member Functions | |
def | __init__ (self, parent=None, kw) |
def | addPropertyToDialog (self, property, pDict) |
def | addValuatorMenuEntries (self) |
def | addValuatorPropertiesToDialog (self) |
def | createValuator (self) |
def | get (self) |
def | mouseReset (self, event) |
def | packValuator (self) |
def | reset (self) |
def | set (self, value, fCommand=1) |
def | setEntry (self, value, fCommand=1) |
def | setEntryFormat (self) |
def | setLabel (self) |
def | setState (self) |
def | validateEntryInput (self, event) |
def | zero (self) |
Public Attributes | |
adjustedValue | |
entryFormat | |
fInit | |
propertyDict | |
propertyList | |
Static Public Attributes | |
int | deadband = 5 |
float | sfBase = 3.0 |
int | sfDist = 7 |
def __init__ | ( | self, | |
parent = None , |
|||
kw | |||
) |
def addPropertyToDialog | ( | self, | |
property, | |||
pDict | |||
) |
def addValuatorMenuEntries | ( | self | ) |
Function used by subclass to add menu entries to popup menu
def addValuatorPropertiesToDialog | ( | self | ) |
Function used by subclass to add properties to property dialog
def createValuator | ( | self | ) |
Function used by subclass to create valuator geometry
def get | ( | self | ) |
Return current widget value
def mouseReset | ( | self, | |
event | |||
) |
Reset valuator to resetValue
def packValuator | ( | self | ) |
Function used by subclass to pack widget
def reset | ( | self | ) |
self.reset() Reset valuator to reset value
def set | ( | self, | |
value, | |||
fCommand = 1 |
|||
) |
Update widget's value by setting valuator, which will in turn update the entry. fCommand flag (which is passed to the valuator as commandData, which is then passed in turn to self.setEntry) controls command execution.
def setEntry | ( | self, | |
value, | |||
fCommand = 1 |
|||
) |
Update value displayed in entry, fCommand flag controls command execution
def setEntryFormat | ( | self | ) |
Change the number of significant digits in entry
def setLabel | ( | self | ) |
Update label's text
def setState | ( | self | ) |
Enable/disable widget
def validateEntryInput | ( | self, | |
event | |||
) |
Check validity of entry and if valid pass along to valuator
def zero | ( | self | ) |
self.zero() Set valuator to zero
adjustedValue |
|
static |
entryFormat |
fInit |
propertyDict |
propertyList |
|
static |
|
static |