| Home | Trees | Index | Help |
|
|---|
| Package nltk_lite :: Package draw :: Class ScrollWatcherWidget |
|
object--+ |CanvasWidget--+ | ScrollWatcherWidget
Canvas's
scrollregion to always include the bounding boxes of all of its children.
The scroll-watcher widget will only increase the size of the
Canvas's scrollregion; it will never decrease it.
| Method Summary | |
|---|---|
Create a new scroll-watcher widget. | |
None
|
Add a new canvas widget to the scroll-watcher. |
None
|
Remove a canvas widget from the scroll-watcher. |
Inherited from 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__
| |
| Method Details |
|---|
__init__(self,
canvas,
*children,
**attribs)
Create a new scroll-watcher widget.
|
add_child(self, canvaswidget)Add a new canvas widget to the scroll-watcher. The scroll-watcher will ensure that the new canvas widget is always contained in its canvas's scrollregion.
|
remove_child(self, canvaswidget)Remove a canvas widget from the scroll-watcher. The scroll-watcher will no longer ensure that the new canvas widget is always contained in its canvas's scrollregion.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 | http://epydoc.sf.net |