direct.tkwidgets.Valuator
from direct.tkwidgets.Valuator import Valuator, ValuatorGroup, ValuatorGroupPanel, lightRGBPanel, rgbPanel
Undocumented Module
Inheritance diagram
- class Valuator(parent=None, **kw)[source]
Bases:
MegaWidget
- addValuatorPropertiesToDialog(self)[source]
Function used by subclass to add properties to property dialog
- deadband = 5
Base class for widgets used to interactively adjust numeric values
- set(self, value, fCommand=1)[source]
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.
- setEntry(self, value, fCommand=1)[source]
Update value displayed in entry, fCommand flag controls command execution
- sfBase = 3.0
- sfDist = 7
- class ValuatorGroupPanel(parent=None, **kw)[source]
Bases:
MegaToplevel
- get(this, *args, **kw)
- getAt(this, *args, **kw)
- grid_configure(this, *args, **kw)
- grid_forget(this, *args, **kw)
- grid_info(this, *args, **kw)
- grid_remove(this, *args, **kw)
- info(this, *args, **kw)
- location(this, *args, **kw)
- pack(this, *args, **kw)
- pack_configure(this, *args, **kw)
- pack_forget(this, *args, **kw)
- pack_info(this, *args, **kw)
- place(this, *args, **kw)
- place_configure(this, *args, **kw)
- place_forget(this, *args, **kw)
- place_info(this, *args, **kw)
- set(this, *args, **kw)
- setAt(this, *args, **kw)