module timelinelib.wxgui.components.statusbaradapter

class timelinelib.wxgui.components.statusbaradapter.StatusBarAdapter[source]

Bases: object

This class is used to update texts in the application status bar. It is “owned” by the MainFrame class. All messages to be displayed in the status bar should be passed in to one of the MainFrame functions:

The status bar is divided into three columns.

The first column is used to display info about objects under the cursor. i.e. timeline and events.

The second column is used to display the number of hidden events.

The third column is used to signal if a timeline is set into read-onl mode.

HIDDEN_EVENT_COUNT_COLUMN = 1
READ_ONLY_COLUMN = 2
__init__(wx_status_bar)[source]

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

set_text(text)[source]

Set text in the first column of the status bar.

set_hidden_event_count_text(text)[source]

Set text in the second column of the status bar.

set_read_only_text(text)[source]

Set text in the third column of the status bar.