Home | Trees | Indices | Help |
|
---|
|
object --+ | 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.
|
|||
(any) |
|
||
|
|||
string
|
|
||
None
|
|
||
list of int
|
|
||
None
|
|
||
string
|
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Create a new text widget.
|
repr(x)
|
Set the value of the attribute
|
|
Change the text that is displayed by this text widget.
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:53 2008 | http://epydoc.sourceforge.net |