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

Public Member Functions

 __init__ (self, parent, label, value, minValue, maxValue)
 
 bindFunc (self, inFunc, outFunc, valFunc=None)
 
- Public Member Functions inherited from ObjectPropUI
 __init__ (self, parent, label)
 
 getValue (self)
 
 onKey (self, evt)
 
 setValue (self, value)
 

Public Attributes

 ui
 
- Public Attributes inherited from ObjectPropUI
 eventType
 
 label = wx.StaticText(self.labelPane, label=label)
 
 labelPane = wx.Panel(self)
 
 labelSizer = wx.BoxSizer(wx.HORIZONTAL)
 
 onKey
 
 parent = parent
 
 setKeyButton = wx.BitmapButton(self.labelPane, -1, bmpKey, size = (15,15),style = wx.BU_AUTODRAW)
 
 uiPane = wx.Panel(self)
 

Detailed Description

 UI for float value properties 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent,
label,
value,
minValue,
maxValue )

Member Function Documentation

◆ bindFunc()

bindFunc ( self,
inFunc,
outFunc,
valFunc = None )

Reimplemented from ObjectPropUI.

Member Data Documentation

◆ ui

ui
Initial value:
= WxSlider(self.uiPane, -1, value, minValue, maxValue,
pos = (0,0), size=(140, -1),
style=wx.SL_HORIZONTAL | wx.SL_LABELS)