Package Gnumed :: Package timelinelib :: Package calendar :: Package num :: Module periodpicker :: Class NumPeriodPicker
[frames] | no frames]

Class NumPeriodPicker

source code

           wx.Panel --+    
                      |    
humblewx.GuiCreator --+    
                      |    
  wxgui.framework.Panel --+
                          |
                         NumPeriodPicker


<BoxSizerVertical>
    <BoxSizerHorizontal>
        <TimePicker
            name="start_time"
            time_type="$(time_type)"
            config="$(config)"
        />
        <Spacer />
        <StaticText
            label="$(to_label)"
            name="to_label"
            align="ALIGN_CENTER_VERTICAL"
        />
        <Spacer />
        <TimePicker
            name="end_time"
            time_type="$(time_type)"
            config="$(config)"
        />
    </BoxSizerHorizontal>
    <Spacer />
    <BoxSizerHorizontal>
        <CheckBox
            name="period_checkbox"
            event_EVT_CHECKBOX="on_period_checkbox_changed"
            label="$(period_checkbox_text)" />
    </BoxSizerHorizontal>
</BoxSizerVertical>

Instance Methods
 
__init__(self, parent, config, name=None) source code
 
GetValue(self) source code
 
SetValue(self, time_period) source code
 
GetStartValue(self) source code
 
SetStartValue(self, time) source code
 
GetEndValue(self) source code
 
SetEndValue(self, time) source code
 
GetShowPeriod(self) source code
 
SetShowPeriod(self, show) source code
 
GetShowTime(self) source code
 
SetShowTime(self, show) source code
 
DisableTime(self) source code
Method Details

__init__(self, parent, config, name=None)
(Constructor)

source code 
Overrides: wxgui.framework.Panel.__init__