.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.imagebrowser
.. highlight:: python
.. _wx.lib.imagebrowser.BitmapButton:
==========================================================================================================================================
|phoenix_title| **wx.lib.imagebrowser.BitmapButton**
==========================================================================================================================================
A generic bitmap button.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
BitmapButton:
|
|super_classes| Known Superclasses
==================================
:class:`wx.lib.buttons.GenBitmapButton`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.imagebrowser.BitmapButton.__init__` Default class constructor.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: BitmapButton(wx.lib.buttons.GenBitmapButton)
A generic bitmap button.
.. method:: __init__(self, \*args, \*\*kw)
Default class constructor.
:param wx.Window `parent`: parent window. Must not be ``None``;
:param integer `id`: window identifier. A value of -1 indicates a default value;
:param wx.Bitmap `bitmap`: the button bitmap;
:param `pos`: the control position. A value of (-1, -1) indicates a default position,
chosen by either the windowing system or wxPython, depending on platform;
:type `pos`: tuple or :class:`wx.Point`
:param `size`: the control size. A value of (-1, -1) indicates a default size,
chosen by either the windowing system or wxPython, depending on platform;
:type `size`: tuple or :class:`wx.Size`
:param integer `style`: the button style;
:param wx.Validator `validator`: the validator associated to the button;
:param string `name`: the button name.
.. seealso:: :class:`wx.Button` for a list of valid window styles.