module timelinelib.wxgui.dialogs.timeeditor.view

class timelinelib.wxgui.dialogs.timeeditor.view.TimeEditorDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<TimePicker

name=”time_picker” time_type=”$(time_type)” config=”$(config)” border=”ALL”

/> <DialogButtonsOkCancelSizer

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

/>

</BoxSizerVertical>

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

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

SetTime(time)[source]
GetTime()[source]
Close(force=False) → bool[source]

This function simply generates a wxCloseEvent whose handler usually tries to close the window.

timelinelib.wxgui.dialogs.timeeditor.view.open_time_editor_dialog(main_frame, time_type, initial_time, handle_new_time_fn, title)[source]