Package nltk_lite :: Package contrib :: Package fst :: Module fst :: Class FSTWidget
[hide private]
[frames] | no frames]

Class FSTWidget

source code

        object --+        
                 |        
 draw.CanvasWidget --+    
                     |    
draw_graph.GraphWidget --+
                         |
                        FSTWidget

Instance Methods [hide private]
 
__init__(self, canvas, fst, **attribs)
Create a new canvas widget.
source code
 
mark_state(self, state, color='green2') source code
 
unmark_state(self, state) source code
 
mark_arc(self, arc) source code
 
unmark_arc(self, arc) source code

Inherited from draw_graph.GraphWidget: add_edge, add_node, arrange, destroy_edge, destroy_node, remove_edge, remove_node

Inherited from draw.CanvasWidget: __getitem__, __repr__, __setitem__, bbox, bind_click, bind_drag, canvas, child_widgets, destroy, height, hidden, hide, manage, move, moveto, parent, show, tags, unbind_click, unbind_drag, update, width

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, canvas, fst, **attribs)
(Constructor)

source code 

Create a new canvas widget. This constructor should only be called by subclass constructors; and it should be called only after the subclass has constructed all graphical canvas objects and registered all child widgets.

Overrides: draw_graph.GraphWidget.__init__
(inherited documentation)