module timelinelib.wxgui.dialogs.editcategory.view

class timelinelib.wxgui.dialogs.editcategory.view.EditCategoryDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<FlexGridSizer rows=”6” 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=”$(color_text)” /> <ColourSelect name=”colorpicker” align=”ALIGN_CENTER_VERTICAL” width=”60” height=”30” /> <StaticText align=”ALIGN_CENTER_VERTICAL” label=”$(progress_color_text)” /> <ColourSelect name=”progresscolorpicker” align=”ALIGN_CENTER_VERTICAL” width=”60” height=”30” /> <StaticText align=”ALIGN_CENTER_VERTICAL” label=”$(done_color_text)” /> <ColourSelect name=”donecolorpicker” align=”ALIGN_CENTER_VERTICAL” width=”60” height=”30” /> <StaticText align=”ALIGN_CENTER_VERTICAL” label=”$(font_color_text)” /> <ColourSelect name=”fontcolorpicker” align=”ALIGN_CENTER_VERTICAL” width=”60” height=”30” /> <StaticText align=”ALIGN_CENTER_VERTICAL” label=”$(parent_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, category)[source]

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

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

Returns the window’s name.

SetName(name)[source]

Sets the window’s name.

GetColor()[source]
SetColor(new_color)[source]
GetProgressColor()[source]
SetProgressColor(new_color)[source]
GetDoneColor()[source]
SetDoneColor(new_color)[source]
GetFontColor()[source]
SetFontColor(new_color)[source]
GetParent() → Window[source]

Returns the parent of the window, or NULL if there is no parent.

SetParent(parent)[source]
HandleInvalidName(name)[source]
HandleUsedName(name)[source]
GetEditedCategory()[source]