4 from .plugins.message_view
import MessageView
7 """Basic listener for the timeline. The current message can be accessed using 11 def __init__(self, timeline, topic, signal_viewed, signal_cleared):
13 :param timeline: the timeline that this object is attached to 14 :param topic: the topic that this object is interested in 15 :param signal_viewed: the signal that should be emitted when the message being viewed changes 16 :param signal_cleared: the signal that should be emitted when the message being viewed is cleared 18 super(DynamicTimelineListener, self).
__init__(timeline, topic)
24 """Called whenever the message is updated. Updates the stored message and emits 27 self.
msg = msg_details
29 self.signal_viewed.emit()
32 self.signal_cleared.emit()
def message_viewed(self, msg_details)
def __init__(self, timeline, topic, signal_viewed, signal_cleared)
def message_cleared(self)