lookatme.widgets.clickable_text module
This module contains code for ClickableText
-
class lookatme.widgets.clickable_text.ClickableText(markup, align='left', wrap='space', layout=None)[source]
Bases: urwid.widget.Text
Allows clickable/changing text to be part of the Text() contents
-
mouse_event(size, event, button, x, y, focus)[source]
Handle mouse events!
-
signals = ['click', 'change']
-
class lookatme.widgets.clickable_text.LinkIndicatorSpec(link_label, link_target, orig_spec)[source]
Bases: urwid.display_common.AttrSpec
Used to track a link within an urwid.Text instance