module timelinelib.wxgui.components.timelinepanel

timelinelib.wxgui.components.timelinepanel.LEFT_RIGHT_SCROLL_FACTOR = 0.005
class timelinelib.wxgui.components.timelinepanel.TimelinePanelGuiCreator[source]

Bases: wx._core.Panel

__init__(parent)[source]

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

BitmapFromIcon(icon)[source]
CreateToolbar()[source]
move_selected_event_up()[source]
move_selected_event_down()[source]
class timelinelib.wxgui.components.timelinepanel.TimelinePanel[source]

Bases: timelinelib.wxgui.components.timelinepanel.TimelinePanelGuiCreator

__init__(parent, config, main_frame)[source]

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

SetDb(db)[source]
get_timeline_canvas()[source]
get_time_period()[source]
open_event_editor(event)[source]
open_milestone_editor(event)[source]
redraw_timeline()[source]
Navigate(flags=NavigationKeyEvent.IsForward) → bool[source]

Performs a keyboard navigation action starting from this window.

get_view_properties()[source]
get_sidebar_width()[source]
show_sidebar()[source]
hide_sidebar()[source]
show_label_filtering()[source]
hide_label_filtering()[source]
activated()[source]
class timelinelib.wxgui.components.timelinepanel.InputHandlerState[source]

Bases: object

__init__(canvas, main_frame, config)[source]

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

ok_to_edit()[source]
edit_ends()[source]
display_status(message)[source]
change_to_no_op()[source]
change_to_move_by_drag(event, start_drag_time)[source]
change_to_zoom_by_drag(cursor)[source]
change_to_select(cursor)[source]
change_to_resize_by_drag(event, direction)[source]
change_to_scroll_by_drag(cursor)[source]
change_to_create_period_event_by_drag(cursor)[source]