| Home | Trees | Indices | Help |
|
|---|
|
|
CanvasWidget --+
|
TextWidget
A canvas widget that displays a single string of text.
Attributes:
color: the color of the text.
font: the font used to display the text.
justify: justification for multi-line texts. Valid
values are left, center, and
right.
width: the width of the text. If the text is wider than
this width, it will be line-wrapped at whitespace.
draggable: whether the text can be dragged by the user.
|
|||
|
|||
None
|
|
||
| (any) |
|
||
list of int
|
|
||
string
|
|
||
None
|
|
||
string
|
|
||
|
Inherited from Inherited from |
|||
|
|||
Create a new text widget.
|
Set the value of the attribute
|
|
|
|
Change the text that is displayed by this text widget.
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 19 16:48:24 2009 | http://epydoc.sourceforge.net |