| Home | Trees | Index | Help |
|
|---|
| Package nltk_lite :: Package draw :: Class OvalWidget |
|
object --+
|
CanvasWidget --+
|
AbstractContainerWidget --+
|
OvalWidget
A canvas widget that places a oval around a child widget.
Attributes:fill: The color used to fill the interior of the
oval.
outline: The color used to draw the outline of the
oval.
width: The width of the outline of the oval.
margin: The number of pixels space left between the
child and the oval.
draggable: whether the text can be dragged by the
user.
| Method Summary | |
|---|---|
Create a new oval widget. | |
| (any) |
Return the value of the attribute attr. |
None
|
Set the value of the attribute attr to
value. |
list of int
|
Return a list of canvas tags for all graphical elements managed by this canvas widget, not including graphical elements managed by its child widgets. |
None
|
Update this canvas widget in response to a change in one of its children. |
Inherited from AbstractContainerWidget:
__repr__,
child,
set_child,
_manage
Inherited from CanvasWidget:
bbox,
bind_click,
bind_drag,
canvas,
child_widgets,
destroy,
height,
hidden,
hide,
manage,
move,
moveto,
parent,
show,
tags,
unbind_click,
unbind_drag,
update,
width,
_add_child_widget,
_remove_child_widget
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
| |
| Instance Variable Summary | |
|---|---|
Inherited from CanvasWidget:
__callbacks,
__canvas,
__children,
__drag_x,
__drag_y,
__draggable,
__parent,
__press,
__updating
|
| Class Variable Summary | |
|---|---|
float |
RATIO = 1.4142135623730949 |
| Method Details |
|---|
__init__(self,
canvas,
child,
**attribs)
Create a new oval widget.
|
__getitem__(self,
attr)
|
__setitem__(self,
attr,
value)
Set the value of the attribute |
_tags(self)
|
_update(self, child)Update this canvas widget in response to a change in one of its children.
|
| Class Variable Details |
|---|
RATIO
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 | http://epydoc.sf.net |