direct.tkwidgets.Slider

from direct.tkwidgets.Slider import Slider, SliderWidget
Slider Class: Velocity style controller for floating point values with

a label, entry (validated), and min/max slider

Inheritance diagram

Inheritance diagram of direct.tkwidgets.Slider

class Slider(parent=None, **kw)[source]

Bases: direct.tkwidgets.Valuator.Valuator

Valuator widget which includes an min/max slider and an entry for setting floating point values in a range

__init__(self, parent=None, **kw)[source]
createValuator(self)[source]
packValuator(self)[source]
setMax(self)[source]
setMin(self)[source]
class SliderWidget(parent=None, **kw)[source]

Bases: _Pmw.Pmw_2_0_1.lib.PmwBase.MegaWidget

__init__(self, parent=None, **kw)[source]
destroy(self)[source]
get()[source]

Get current slider value

highlightWidget(self, event)[source]
restoreWidget(self, event)[source]
set(value, fCommand=1)[source]

Set slider to new value, execute command if fCommand == 1

setBackground(self)[source]
setBorderwidth(self)[source]
setMax(self)[source]
setMin(self)[source]
setNumDigits(self)[source]
setRelief(self)[source]
updateIndicator(self, value)[source]