 wx.lib.ogl.bmpshape.BitmapShape¶
 wx.lib.ogl.bmpshape.BitmapShape¶The wx.BitmapShape class draws a bitmap (non-resizable).
 Class Hierarchy¶
 Class Hierarchy¶ Inheritance diagram for class BitmapShape:
Inheritance diagram for class BitmapShape:
 Known Superclasses¶
 Known Superclasses¶wx.lib.ogl.basic.RectangleShape
 Methods Summary¶
 Methods Summary¶| Default class constructor. | |
| Get the associated bitmap. | |
| Return the bitmap filename. | |
| The draw handler. | |
| Set the associated bitmap. | |
| Set the bitmap filename. | |
| Set the size. | 
 Class API¶
 Class API¶The wx.BitmapShape class draws a bitmap (non-resizable).
Default class constructor.
Get the associated bitmap.
Return the bitmap filename.
The draw handler.
Set the associated bitmap.
bitmap – a wx.Bitmap instance
Note
You can delete the bitmap from the calling application, since reference counting will take care of holding on to the internal bitmap data.
Set the bitmap filename.
f (str) – the bitmap file name
Set the size.
w – the width
h – the height
recursive – not used