phoenix_title wx.lib.imagebrowser.BitmapButton

A generic bitmap button.


class_hierarchy Class Hierarchy

Inheritance diagram for class BitmapButton:

method_summary Methods Summary

__init__

Default class constructor.


api Class API

class BitmapButton(wx.lib.buttons.GenBitmapButton)

A generic bitmap button.


Methods

__init__(self, *args, **kw)

Default class constructor.

Parameters
  • 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.