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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
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. |
Register a callback function with the list. This function will be called whenever the given event occurs.
|
|
Highlight the given item.
|
Remove any current highlighting, and mark the given item.
|
Deregister a callback function. If |
Remove highlighting from the given item; or from every item, if no item is given.
|
Adjust the view such that the given item is visible. If the item is already visible, then do nothing. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:53 2008 | http://epydoc.sourceforge.net |