module timelinelib.wxgui.components.messagebar

timelinelib.wxgui.components.messagebar.WARNING_BG_COLOR = (251, 100, 100)
timelinelib.wxgui.components.messagebar.INFO_BG_COLOR = (251, 203, 58)
class timelinelib.wxgui.components.messagebar.MessageBar[source]

Bases: wx._core.Panel

This class is used to create (or hide) a message text displayed at the top of the Timeline window. A message comes in two flavors:

  • Information message

  • Warning message

What distinguishes the two flavors is the background color of the message text area.

__init__(parent, name=None)[source]

The name parameter is needed for testing purposes.

ShowWarningMessage(message)[source]
ShowInformationMessage(message)[source]
ShowNoMessage()[source]