Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module shapedbutton :: Class SBitmapButton |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |SButton
--+ | SBitmapButton
SBitmapTextButton
,
SBitmapToggleButton
Method Summary | |
---|---|
Default class constructor. | |
Draws the bitmap in the middle of the button. | |
Returns the bitmap displayed when the button is disabled. | |
Returns the bitmap displayed when the button has the focus. | |
GetBitmapLabel(self)
| |
Returns the bitmap displayed when the button is selected (pressed). | |
Sets the bitmap to display when the button is disabled. | |
Sets the bitmap to display when the button has the focus. | |
Sets the bitmap to display normally. | |
Sets the bitmap to display when the button is selected (pressed). |
Property Summary |
---|
Instance Method Details |
---|
__init__(self,
parent,
id,
bitmap,
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1))
|
DrawLabel(self, dc, width, height, dw=0, dh=0)Draws the bitmap in the middle of the button.
|
GetBitmapDisabled(self)Returns the bitmap displayed when the button is disabled. |
GetBitmapFocus(self)Returns the bitmap displayed when the button has the focus. |
GetBitmapSelected(self)Returns the bitmap displayed when the button is selected (pressed). |
SetBitmapDisabled(self, bitmap)Sets the bitmap to display when the button is disabled. |
SetBitmapFocus(self, bitmap)Sets the bitmap to display when the button has the focus. |
SetBitmapLabel(self, bitmap, createothers=True)Sets the bitmap to display normally. This is the only one that is required. If "createothers" is true, then the other bitmaps will be generated on the fly. Currently, only the disabled bitmap is generated. |
SetBitmapSelected(self, bitmap)Sets the bitmap to display when the button is selected (pressed). |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:55 2009 | http://epydoc.sf.net |