Panda3D
Loading...
Searching...
No Matches
Floater Class Reference
Inheritance diagram for Floater:
Valuator

Public Member Functions

 __init__ (self, parent=None, **kw)
 
 createValuator (self)
 
 packValuator (self)
 
- Public Member Functions inherited from Valuator
 __init__ (self, parent=None, **kw)
 
 addPropertyToDialog (self, property, pDict)
 
 addValuatorMenuEntries (self)
 
 addValuatorPropertiesToDialog (self)
 
 get (self)
 
 mouseReset (self, event)
 
 reset (self)
 
 set (self, value, fCommand=1)
 
 setEntry (self, value, fCommand=1)
 
 setEntryFormat (self)
 
 setLabel (self)
 
 setState (self)
 
 validateEntryInput (self, event)
 
 zero (self)
 

Protected Attributes

 _valuator
 
- Protected Attributes inherited from Valuator
 _label
 

Additional Inherited Members

- Public Attributes inherited from Valuator
 adjustedValue = value
 
str entryFormat = "%." + "%df" % self['numDigits']
 
int fInit = 1
 
 propertyDict
 
- Static Public Attributes inherited from Valuator
int deadband = 5
 
float sfBase = 3.0
 
int sfDist = 7
 
- Protected Member Functions inherited from Valuator
 _mouseDown (self)
 
 _mouseUp (self)
 
 _popupPropertiesDialog (self)
 
 _popupValuatorMenu (self, event)
 
 _postCallback (self)
 
 _preCallback (self)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent = None,
** kw )

Member Function Documentation

◆ createValuator()

createValuator ( self)
 Function used by subclass to create valuator geometry 

Reimplemented from Valuator.

◆ packValuator()

packValuator ( self)
 Function used by subclass to pack widget 

Reimplemented from Valuator.

Member Data Documentation

◆ _valuator

_valuator
protected
Initial value:
= self.createcomponent('valuator',
(('floater', 'valuator'),),
None,
FloaterWidget,
(self.interior(),),
command = self.setEntry,
value = self['value'])