Package nltk :: Package app :: Module chartparser_app :: Class EdgeList
[hide private]
[frames] | no frames]

type EdgeList

source code

             object --+    
                      |    
draw.util.ColorizedList --+
                          |
                         EdgeList

Instance Methods [hide private]
 
_init_colortags(self, textwidget, options)
Set up any colortags that will be used by this colorized list.
source code
 
_item_repr(self, item)
Return a list of (text, colortag) tuples that make up the colorized representation of the item.
source code

Inherited from draw.util.ColorizedList: __init__, add_callback, focus, get, grid, mark, markonly, pack, remove_callback, set, unmark, view

Class Variables [hide private]
  ARROW = '\xde'
Method Details [hide private]

_init_colortags(self, textwidget, options)

source code 

Set up any colortags that will be used by this colorized list. E.g.:

>>> textwidget.tag_config('terminal', foreground='black')
Overrides: draw.util.ColorizedList._init_colortags
(inherited documentation)

_item_repr(self, item)

source code 

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.

Overrides: draw.util.ColorizedList._item_repr
(inherited documentation)