Package wx :: Module gizmos :: Class StaticPicture
[frames | no frames]

Type StaticPicture

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
               Control --+
                         |
                        StaticPicture


Proxy of C++ StaticPicture class
Method Summary
Control __init__(self, parent, id, pos, size, style, validator, name)
Create a Control.
  __repr__(self)
bool Create(self, parent, id, pos, size, style, validator, name)
Do the 2nd phase and create the GUI control.
int GetAlignment(self)
Bitmap GetBitmap(self)
  GetCustomScale(self, OUTPUT, OUTPUT)
Icon GetIcon(self)
int GetScale(self)
  SetAlignment(self, align)
  SetBitmap(self, bmp)
  SetCustomScale(self, sx, sy)
  SetIcon(self, icon)
  SetScale(self, scale)

Instance Method Details

__init__(self, parent, id=-1, label=wxNullBitmap, pos=DefaultPosition, size=DefaultSize, style=0, name=StaticPictureNameStr)
(Constructor)

Create a Control. Normally you should only call this from a subclass' __init__ as a plain old wx.Control is not very useful.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
validator
           (type=Validator)
name
           (type=String)
Returns:
Control
Overrides:
wx.Control.__init__ (inherited documentation)

Create(self, parent, id=-1, label=wxNullBitmap, pos=DefaultPosition, size=DefaultSize, style=0, name=StaticPictureNameStr)

Do the 2nd phase and create the GUI control.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
validator
           (type=Validator)
name
           (type=String)
Returns:
bool
Overrides:
wx.Control.Create (inherited documentation)

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:25:48 2005 http://epydoc.sf.net