Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module buttons :: Class GenBitmapButton |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ |PyControl
--+ |GenButton
--+ | GenBitmapButton
ColourSelect
,
GenBitmapTextButton
,
GenBitmapToggleButton
,
ThemedGenBitmapButton
A generic bitmap button.
Method Summary | |
---|---|
__init__(self,
parent,
id,
bitmap,
pos,
size,
style,
validator,
name)
| |
DrawLabel(self,
dc,
width,
height,
dw,
dy)
| |
GetBitmapDisabled(self)
| |
GetBitmapFocus(self)
| |
GetBitmapLabel(self)
| |
GetBitmapSelected(self)
| |
Set bitmap to display when the button is disabled | |
Set bitmap to display when the button has the focus | |
Set the bitmap to display normally. | |
Set bitmap to display when the button is selected (pressed down) |
Property Summary |
---|
Class Variable Summary |
---|
Instance Method Details |
---|
SetBitmapDisabled(self, bitmap)Set bitmap to display when the button is disabled |
SetBitmapFocus(self, bitmap)Set bitmap to display when the button has the focus |
SetBitmapLabel(self, bitmap, createOthers=True)Set 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)Set bitmap to display when the button is selected (pressed down) |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:13:31 2007 | http://epydoc.sf.net |