Panda3D
Loading...
Searching...
No Matches
ObjectPropUI Class Reference
Inheritance diagram for ObjectPropUI:
ObjectPropUICheck ObjectPropUICombo ObjectPropUIEntry ObjectPropUIRadio ObjectPropUISlider ObjectPropUISpinner

Public Member Functions

 __init__ (self, parent, label)
 
 bindFunc (self, inFunc, outFunc, valFunc=None)
 
 getValue (self)
 
 onKey (self, evt)
 
 setValue (self, value)
 

Public Attributes

 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

Base class for ObjectPropUIs,
It consists of label area and ui area.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent,
label )

Member Function Documentation

◆ bindFunc()

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

Reimplemented in ObjectPropUISlider.

◆ getValue()

getValue ( self)

Reimplemented in ObjectPropUICombo, and ObjectPropUIRadio.

◆ onKey()

onKey ( self,
evt )

◆ setValue()

setValue ( self,
value )

Member Data Documentation

◆ eventType

eventType

◆ label

label = wx.StaticText(self.labelPane, label=label)

◆ labelPane

labelPane = wx.Panel(self)

◆ labelSizer

labelSizer = wx.BoxSizer(wx.HORIZONTAL)

◆ onKey

onKey

◆ parent

parent = parent

◆ setKeyButton

setKeyButton = wx.BitmapButton(self.labelPane, -1, bmpKey, size = (15,15),style = wx.BU_AUTODRAW)

◆ uiPane

uiPane = wx.Panel(self)