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 . |
Inherited from AbstractContainerWidget :
__repr__ ,
child ,
set_child
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
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|
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 |
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 |