Home | Trees | Index | Help |
|
---|
Package wx :: Class StaticText |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ | StaticText
Proxy of C++ StaticText class
Method Summary | |
---|---|
Control |
Create a Control. |
bool |
Do the 2nd phase and create the GUI control. |
VisualAttributes |
Get the default attributes for this class. (Static method) |
This functions wraps the control's label so that each of its lines becomes at most width pixels wide if possible (the lines are broken at words boundaries so it might not be the case if words are too long). |
Property Summary | |
---|---|
thisown : The membership flag |
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
label=EmptyString,
pos=DefaultPosition,
size=DefaultSize,
style=0,
name=StaticTextNameStr)
|
Create(self, parent, id=-1, label=EmptyString, pos=DefaultPosition, size=DefaultSize, style=0, name=StaticTextNameStr)Do the 2nd phase and create the GUI control.
|
Wrap(self, width)This functions wraps the control's label so that each of its lines becomes at most width pixels wide if possible (the lines are broken at words boundaries so it might not be the case if words are too long). If width is negative, no wrapping is done.
|
Static Method Details |
---|
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes. The variant parameter is only relevant under Mac currently and is
ignore under other platforms. Under Mac, it will change the size of
the returned font. See
|
Property Details |
---|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:10:49 2007 | http://epydoc.sf.net |