module timelinelib.wxgui.dialogs.eraeditor.view

class timelinelib.wxgui.dialogs.eraeditor.view.EraEditorDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<StaticBoxSizerVertical label=”$(groupbox_text)” border=”ALL” >
<FlexGridSizer rows=”0” columns=”2” border=”ALL”>
<StaticText

label=”$(when_text)” align=”ALIGN_CENTER_VERTICAL”

/> <PeriodPicker

time_type=”$(time_type)” config=”$(config)” name=”period_picker”

/> <Spacer /> <BoxSizerHorizontal >

<CheckBox

align=”ALIGN_CENTER_VERTICAL” label=”$(ends_today_text)” name=”cbx_ends_today”

/>

</BoxSizerHorizontal> <StaticText

label=”$(name_text)” align=”ALIGN_CENTER_VERTICAL”

/> <TextCtrl name=”txt_name” /> <StaticText

label=”$(colour_text)” align=”ALIGN_CENTER_VERTICAL”

/> <ColourSelect

name=”colorpicker” align=”ALIGN_CENTER_VERTICAL” width=”60” height=”30”

/>

</FlexGridSizer>

</StaticBoxSizerVertical> <DialogButtonsOkCancelSizer

border=”LEFT|RIGHT|BOTTOM” event_EVT_BUTTON__ID_OK=”on_ok”

/>

</BoxSizerVertical>

__init__(parent, title, time_type, config, era)[source]

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

GetPeriod()[source]
SetPeriod(time_period)[source]
GetEndsToday()[source]
SetEndsToday(value)[source]
GetName() → String[source]

Returns the window’s name.

SetName(name)[source]

Sets the window’s name.

GetColor()[source]
SetColor(new_color)[source]
DisplayInvalidPeriod(message)[source]
DisplayInvalidName(message)[source]
DisplayInvalidColor(message)[source]