A generic bitmap button.
BitmapButton
(wx.lib.buttons.GenBitmapButton)¶A generic bitmap button.
__init__
(self, *args, **kw)¶Default class constructor.
parent (wx.Window) – parent window. Must not be None
;
id (integer) – window identifier. A value of -1 indicates a default value;
bitmap (wx.Bitmap) – the button bitmap;
pos (tuple or wx.Point
) – the control position. A value of (-1, -1) indicates a default position,
chosen by either the windowing system or wxPython, depending on platform;
size (tuple or wx.Size
) – the control size. A value of (-1, -1) indicates a default size,
chosen by either the windowing system or wxPython, depending on platform;
style (integer) – the button style;
validator (wx.Validator) – the validator associated to the button;
name (string) – the button name.
See also
wx.Button
for a list of valid window styles.