module timelinelib.calendar.num.periodpicker

class timelinelib.calendar.num.periodpicker.NumPeriodPicker[source]

Bases: timelinelib.wxgui.framework.Panel

<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>

__init__(parent, config, name=None)[source]

Initialize self. See help(type(self)) for accurate signature.

GetValue()[source]
SetValue(time_period)[source]
GetStartValue()[source]
SetStartValue(time)[source]
GetEndValue()[source]
SetEndValue(time)[source]
GetShowPeriod()[source]
SetShowPeriod(show)[source]
GetShowTime()[source]
SetShowTime(show)[source]
DisableTime()[source]
class timelinelib.calendar.num.periodpicker.NumPeriodPickerController[source]

Bases: humblewx.Controller

get_value()[source]
set_value(time_period)[source]
on_period_checkbox_changed(event)[source]