urwid¶
Some handy Urwid utilities.
Take care only to import this where we already have a dependency on Urwid, e.g. in the browser implementation modules.
Some of these are taken pretty exactly from Urwid examples.
Todo
Not got these things working yet, but they’ll be useful in the long run
-
class
DialogDisplay
(original_widget, text, height=0, width=0, body=None)[source]¶ Bases:
urwid.wimp.PopUpLauncher
-
palette
= [('body', 'black', 'light gray', 'standout'), ('border', 'black', 'dark blue'), ('shadow', 'white', 'black'), ('selectable', 'black', 'dark cyan'), ('focus', 'white', 'dark blue', 'bold'), ('focustext', 'light gray', 'dark blue')]¶
-