Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module stattext :: Class GenStaticText |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ |PyControl
--+ | GenStaticText
HyperLinkCtrl
Method Summary | |
---|---|
__init__(self,
parent,
ID,
label,
pos,
size,
style,
name)
| |
Overridden base class virtual. | |
Overridden base class virtual. | |
Overridden base class virtual. | |
OnEraseBackground(self,
event)
| |
OnPaint(self,
event)
| |
Sets the static text font and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag. | |
Sets the static text label and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag. | |
Overridden base class virtual. |
Property Summary |
---|
Class Variable Summary | |
---|---|
int |
labelDelta = 1 |
Instance Method Details |
---|
AcceptsFocus(self)Overridden base class virtual.
|
DoGetBestSize(self)Overridden base class virtual. Determines the best size of the control based on the label size and the current font.
|
GetDefaultAttributes(self)Overridden base class virtual. By default we should use the same font/colour attributes as the native StaticText.
|
SetFont(self, font)Sets the static text font and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag.
|
SetLabel(self, label)Sets the static text label and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag.
|
ShouldInheritColours(self)Overridden base class virtual. If the parent has non-default colours then we want this control to inherit them.
|
Class Variable Details |
---|
labelDelta
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:53 2007 | http://epydoc.sf.net |