wx._controls.BitmapButton
A Button that contains a bitmap. A bitmap button can be supplied with a
single bitmap, and wxWidgets will draw all button states using this bitmap. If
the application needs more control, additional bitmaps for the selected state,
unpressed focused state, and greyed-out state may be supplied.
Create(args, kwargs)
Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=BU_AUTODRAW, Validator validator=DefaultValidator,
String name=ButtonNameStr) -> bool
Acutally create the GUI BitmapButton for 2-phase creation.
GetBitmapDisabled(args, kwargs)
GetBitmapDisabled(self) -> Bitmap
Returns the bitmap for the disabled state.
GetBitmapFocus(args, kwargs)
GetBitmapFocus(self) -> Bitmap
Returns the bitmap for the focused state.
GetBitmapLabel(args, kwargs)
GetBitmapLabel(self) -> Bitmap
Returns the label bitmap (the one passed to the constructor).
GetBitmapSelected(args, kwargs)
GetBitmapSelected(self) -> Bitmap
Returns the bitmap for the selected state.
GetMarginX(args, kwargs)
GetMarginX(self) -> int
GetMarginY(args, kwargs)
GetMarginY(self) -> int
SetBitmapDisabled(args, kwargs)
SetBitmapDisabled(self, Bitmap bitmap)
Sets the bitmap for the disabled button appearance.
SetBitmapFocus(args, kwargs)
SetBitmapFocus(self, Bitmap bitmap)
Sets the bitmap for the button appearance when it has the keyboard focus.
SetBitmapLabel(args, kwargs)
SetBitmapLabel(self, Bitmap bitmap)
Sets the bitmap label for the button. This is the bitmap used for the
unselected state, and for all other states if no other bitmaps are provided.
SetBitmapSelected(args, kwargs)
SetBitmapSelected(self, Bitmap bitmap)
Sets the bitmap for the selected (depressed) button appearance.
SetMargins(args, kwargs)
SetMargins(self, int x, int y)
[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to
[operator 'repr']
Usage: repr(a)