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

Public Member Functions

 __init__ (self, parent, id, value, minValue, maxValue, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.SL_HORIZONTAL, validator=wx.DefaultValidator, name="slider", textSize=(40, 20))
 
 bindFunc (self, updateCB)
 
 Disable (self)
 
 Enable (self)
 
 GetValue (self)
 
 onChange (self, event)
 
 onEnter (self, event)
 
 SetValue (self, value)
 

Public Attributes

 maxValue = maxValue
 
 minValue = minValue
 
 onChange
 
 onEnter
 
 textValue = None
 
# callback function sould receive event as the argument updateCB = None
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent,
id,
value,
minValue,
maxValue,
pos = wx.DefaultPosition,
size = wx.DefaultSize,
style = wx.SL_HORIZONTAL,
validator = wx.DefaultValidator,
name = "slider",
textSize = (40, 20) )

Member Function Documentation

◆ bindFunc()

bindFunc ( self,
updateCB )

◆ Disable()

Disable ( self)

◆ Enable()

Enable ( self)

◆ GetValue()

GetValue ( self)

◆ onChange()

onChange ( self,
event )

◆ onEnter()

onEnter ( self,
event )

◆ SetValue()

SetValue ( self,
value )

Member Data Documentation

◆ maxValue

maxValue = maxValue

◆ minValue

minValue = minValue

◆ onChange

onChange

◆ onEnter

onEnter

◆ textValue

textValue = None

◆ updateCB

# callback function sould receive event as the argument updateCB = None