Package nltk_lite :: Package draw :: Module cfg :: Class ProductionList
[show private | hide private]
[frames | no frames]

Type ProductionList

   object --+    
            |    
ColorizedList --+
                |
               ProductionList


Method Summary
  _init_colortags(self, textwidget, options)
Set up any colortags that will be used by this colorized list.
  _item_repr(self, item)
Return a list of (text, colortag) tuples that make up the colorized representation of the item.
Inherited from ColorizedList: __init__, add_callback, focus, get, grid, mark, markonly, pack, remove_callback, set, unmark, view, _buttonpress, _fire_callback, _init_itemframe, _keypress
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
str ARROW = '\xde'

Method Details

_init_colortags(self, textwidget, options)

Set up any colortags that will be used by this colorized list. E.g.:
>>> textwidget.tag_config('terminal', foreground='black')
Overrides:
nltk_lite.draw.ColorizedList._init_colortags (inherited documentation)

_item_repr(self, item)

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:
nltk_lite.draw.ColorizedList._item_repr (inherited documentation)

Class Variable Details

ARROW

Type:
str
Value:
'\xde'                                                                 

Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 http://epydoc.sf.net