Package wx :: Package lib :: Module stattext :: Class GenStaticText
[show private | hide private]
[frames | no frames]

Type GenStaticText

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
               Control --+    
                         |    
                 PyControl --+
                             |
                            GenStaticText

Known Subclasses:
HyperLinksCtrl

Method Summary
  __init__(self, parent, ID, label, pos, size, style, name)
  AcceptsFocus(self)
Overridden base class virtual.
  DoGetBestSize(self)
Overridden base class virtual.
  GetDefaultAttributes(self)
Overridden base class virtual.
  OnEraseBackground(self, event)
  OnPaint(self, event)
  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.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
int labelDelta = 1                                                                     

Instance Method Details

AcceptsFocus(self)

Overridden base class virtual.
Overrides:
wx._core.Window.AcceptsFocus

DoGetBestSize(self)

Overridden base class virtual. Determines the best size of the button based on the label size.

GetDefaultAttributes(self)

Overridden base class virtual. By default we should use the same font/colour attributes as the native StaticText.
Overrides:
wx._core.Window.GetDefaultAttributes

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.
Overrides:
wx._core.Window.SetFont

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.
Overrides:
wx._core.Control.SetLabel

ShouldInheritColours(self)

Overridden base class virtual. If the parent has non-default colours then we want this control to inherit them.
Overrides:
wx._core.Window.ShouldInheritColours

Class Variable Details

labelDelta

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.1 on Thu Apr 28 23:21:56 2005 http://epydoc.sf.net