Subclass of SButton
which displays a bitmap, acting like a
wx.BitmapButton
.
wx.lib.agw.shapedbutton.SBitmapTextButton
, wx.lib.agw.shapedbutton.SBitmapToggleButton
__init__ |
Default class constructor. |
DrawLabel |
Draws the bitmap in the middle of the button. |
GetBitmapDisabled |
Returns the bitmap displayed when the button is disabled. |
GetBitmapFocus |
Returns the bitmap displayed when the button has the focus. |
GetBitmapLabel |
Returns the bitmap associated with the button in the normal state. |
GetBitmapSelected |
Returns the bitmap displayed when the button is selected (pressed). |
SetBitmapDisabled |
Sets the bitmap to display when the button is disabled. |
SetBitmapFocus |
Sets the bitmap to display when the button has the focus. |
SetBitmapLabel |
Sets the bitmap to display normally. This is the only one that is |
SetBitmapSelected |
Sets the bitmap to display when the button is selected (pressed). |
Subclass of SButton
which displays a bitmap, acting like a
wx.BitmapButton
.
Default class constructor.
Parameters: |
|
---|
Draws the bitmap in the middle of the button.
Parameters: |
|
---|
Returns the bitmap displayed when the button is disabled.
Returns the bitmap displayed when the button has the focus.
Returns the bitmap associated with the button in the normal state.
Returns the bitmap displayed when the button is selected (pressed).
Sets the bitmap to display when the button is disabled.
Parameters: | bitmap – a valid wx.Bitmap object. |
---|
Sets the bitmap to display when the button has the focus.
Parameters: | bitmap – a valid wx.Bitmap object. |
---|
Sets the bitmap to display normally. This is the only one that is required.
Parameters: |
|
---|
Sets the bitmap to display when the button is selected (pressed).
Parameters: | bitmap – a valid wx.Bitmap object. |
---|