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

Public Member Functions

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

Public Attributes

 eventType = wx.EVT_CHOICE
 
 label = wx.StaticText(self.labelPane, label=label)
 
 labelPane = wx.Panel(self)
 
 labelSizer = wx.BoxSizer(wx.HORIZONTAL)
 
 parent = parent
 
 uiAmPm = wx.Choice(self.uiPane, -1, choices=['AM', 'PM'])
 
 uiHour = wx.Choice(self.uiPane, -1, choices=[str(x) for x in range(1, 13)])
 
 uiMin = wx.Choice(self.uiPane, -1, choices=[str(x) for x in range(0, 60, 15)])
 
 uiPane = wx.Panel(self)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent,
label,
value )

Member Function Documentation

◆ bindFunc()

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

◆ getValue()

getValue ( self)

◆ setValue()

setValue ( self,
value )

Member Data Documentation

◆ eventType

eventType = wx.EVT_CHOICE

◆ label

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

◆ labelPane

labelPane = wx.Panel(self)

◆ labelSizer

labelSizer = wx.BoxSizer(wx.HORIZONTAL)

◆ parent

parent = parent

◆ uiAmPm

uiAmPm = wx.Choice(self.uiPane, -1, choices=['AM', 'PM'])

◆ uiHour

uiHour = wx.Choice(self.uiPane, -1, choices=[str(x) for x in range(1, 13)])

◆ uiMin

uiMin = wx.Choice(self.uiPane, -1, choices=[str(x) for x in range(0, 60, 15)])

◆ uiPane

uiPane = wx.Panel(self)