module timelinelib.wxgui.frames.mainframe.mainframe

timelinelib.wxgui.frames.mainframe.mainframe.CatsViewChangedEvent

alias of wx.lib.newevent.NewCommandEvent.<locals>._Event

timelinelib.wxgui.frames.mainframe.mainframe.EVT_CATS_VIEW_CHANGED = <wx.core.PyEventBinder object>
timelinelib.wxgui.frames.mainframe.mainframe.LabelsChangedEvent

alias of wx.lib.newevent.NewCommandEvent.<locals>._Event

timelinelib.wxgui.frames.mainframe.mainframe.EVT_LABELS_CHANGED = <wx.core.PyEventBinder object>
class timelinelib.wxgui.frames.mainframe.mainframe.MainFrame[source]

Bases: wx._core.Frame

The application main frame window contains
  • menu

  • toolbar

  • main panel

  • status bar

__init__()[source]

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

property config

The Config object, created by the main frame, that hold user settings stored in persistent storage.

property controller

The MainFrameController object , created by the main frame, containing the business logic for the MainFrame window (view).

property shortcut_controller

The ShortcutController object , created by the main frame, containing the shortcuts in the menus.

property menu_controller

The MenuController object , created by the main frame, containing menu operations.

property timeline

The MemoryDB object representing the data shown on the timeline. This object is passed in to the main frame through the function DisplayTimeline

property main_panel

The MainPanel object , created by the main frame, where the timeline and the sidebar is found.

property canvas

The TimelineCanvas object where the timeline is drawn. It is actually a property of the main_panel.

property view_properties

The ViewProperties object where the timeline is drawn. It is actually a property of the canvas object.

DisplayTimeline(timeline)[source]

Render a new timeline.

DisplayStatus(message)[source]

Set the text in the first column of the status bar.

DisplayHiddenCount(message)[source]

Set the text in the second column of the status bar.

DisplayReadonly(text)[source]

Set the text in the third column of the status bar.

EnableDisableMenus()[source]

Enable/Disable menus depending on number of selected events.

UpdateOpenRecentSubmenu()[source]

Update the submenu that has a list of recent opened timeline files.

UpdateNavigationMenuItems()[source]

Updates the naivigation menu when a timeline with another timetype than the current timeline is opened.

Exit(evt)[source]

Clean up at application exit.