direct.tkwidgets.EntryScale

from direct.tkwidgets.EntryScale import EntryScale, EntryScaleGroup, rgbPanel

EntryScale Class: Scale with a label, and a linked and validated entry

Inheritance diagram

Inheritance diagram of direct.tkwidgets.EntryScale

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

Bases: _Pmw.Pmw_2_0_1.lib.PmwBase.MegaWidget

Scale with linked and validated entry

__init__(self, parent=None, **kw)[source]
askForLabel(self, event=None)[source]
askForMax(self, event=None)[source]
askForMin(self, event=None)[source]
askForResolution(self, event=None)[source]
entry(self)[source]
get(self)[source]
label(self)[source]
onPress(self, *args)[source]

User redefinable callback executed on button press

onRelease(self, *args)[source]

User redefinable callback executed on button release

onReturn(self, *args)[source]

User redefinable callback executed on <Return> in entry

onReturnRelease(self, *args)[source]

User redefinable callback executed on <Return> release in entry

scale(self)[source]
set(self, newVal, fCommand=1)[source]
setMax(self, newMax)[source]
setMin(self, newMin)[source]
setResolution(self, newResolution)[source]
class EntryScaleGroup(parent=None, **kw)[source]

Bases: _Pmw.Pmw_2_0_1.lib.PmwBase.MegaToplevel

__init__(self, parent=None, **kw)[source]
get(self)[source]
getAt(self, index)[source]
onPress(self, *args)[source]

User redefinable callback executed on button press

onRelease(self, *args)[source]

User redefinable callback executed on button release

onReturn(self, *args)[source]

User redefinable callback executed on button press

onReturnRelease(self, *args)[source]

User redefinable callback executed on button press

reset(self)[source]
set(self, value, fCommand=1)[source]
setAt(self, index, value)[source]
toggleBalloon(self)[source]
rgbPanel(nodePath, callback=None)[source]