
wx.lib.agw.shapedbutton.SBitmapTextButton¶Subclass of SButton which displays a bitmap and a label.
Class Hierarchy¶
Inheritance diagram for class SBitmapTextButton:

Control Appearance¶
wxMSW¶
wxMAC¶
wxGTK¶
Known Subclasses¶wx.lib.agw.shapedbutton.SBitmapTextToggleButton
Known Superclasses¶wx.lib.agw.shapedbutton.SBitmapButton
Methods Summary¶Default class constructor. |
|
Draws the bitmap and the text label. |
Class API¶SBitmapTextButton(SBitmapButton)¶Subclass of SButton which displays a bitmap and a label.
__init__(self, parent, id, bitmap, label, pos=wx.DefaultPosition, size=wx.DefaultSize)¶Default class constructor.
parent – the SBitmapTextButton parent. Must not be None;
id – window identifier. A value of -1 indicates a default value;
bitmap – the button bitmap (if any);
label – the button text label;
pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform.