| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
ColorizedList
An abstract base class for displaying a colorized list of items. Subclasses should define:
Note:
Typically, you will want to register a callback for
'select' that calls mark on the given item.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Construct a new list.
|
Set up any colortags that will be used by this colorized list. E.g.: >>> textwidget.tag_config('terminal', foreground='black') |
Return a list of (text, colortag) tuples that make up the colorized representation of the item. Colorized representations may not span multiple lines. I.e., the text strings returned may not contain newline characters. |
|
Remove highlighting from the given item; or from every item, if no item is given.
|
Highlight the given item.
|
Remove any current highlighting, and mark the given item.
|
Adjust the view such that the given item is visible. If the item is already visible, then do nothing. |
Register a callback function with the list. This function will be called whenever the given event occurs.
|
Deregister a callback function. If |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 11 14:39:46 2011 | http://epydoc.sourceforge.net |