direct.tkwidgets.Floater
from direct.tkwidgets.Floater import Floater, FloaterGroup, FloaterWidget
- Floater Class: Velocity style controller for floating point values with
a label, entry (validated), and scale
Inheritance diagram
- class FloaterWidget(parent=None, **kw)[source]
Bases:
MegaWidget
- setNumDigits(self)[source]
Adjust minimum exponent to use in velocity task based upon the number of digits to be displayed in the result
- updateFloaterSF(self, event)[source]
Update velocity scale factor based of mouse distance from origin