module timelinelib.wxgui.dialogs.editcontainer.view

class timelinelib.wxgui.dialogs.editcontainer.view.EditContainerDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<FlexGridSizer columns=”2” growableColumns=”1” proportion=”1” border=”ALL”>
<StaticText

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

/> <TextCtrl

name=”txt_name” width=”150”

/> <StaticText

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

/> <CategoryChoice

name=”category_choice” allow_add=”True” timeline=”$(db)” align=”ALIGN_CENTER_VERTICAL”

/>

</FlexGridSizer> <DialogButtonsOkCancelSizer

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

/>

</BoxSizerVertical>

__init__(parent, title, db, container=None)[source]

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

PopulateCategories()[source]
GetName() → String[source]

Returns the window’s name.

SetName(name)[source]

Sets the window’s name.

GetCategory()[source]
SetCategory(category)[source]
DisplayInvalidName(message)[source]
GetEditedContainer()[source]