wx.AnyButton¶A class for common button functionality used as the base for the various button classes.
Class Hierarchy¶
Inheritance diagram for class AnyButton:
Known Subclasses¶
Methods Summary¶Return the bitmap shown by the button. |
|
Returns the bitmap used when the mouse is over the button. |
|
Returns the bitmap used for the disabled state. |
|
Returns the bitmap used for the focused state. |
|
Returns the bitmap for the normal state. |
|
Get the margins between the bitmap and the text of the button. |
|
Returns the bitmap used when the button is pressed. |
|
Sets the bitmap to display in the button. |
|
Sets the bitmap to be shown when the mouse is over the button. |
|
Sets the bitmap for the disabled button appearance. |
|
Sets the bitmap for the button appearance when it has the keyboard focus. |
|
Sets the bitmap label for the button. |
|
Set the margins between the bitmap and the text of the button. |
|
Set the position at which the bitmap is displayed. |
|
Sets the bitmap for the selected (depressed) button appearance. |
Properties Summary¶See |
|
See |
|
See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
AnyButton() -> None
A class for common button functionality used as the base for the various button classes.
None
Return the bitmap shown by the button.
The returned bitmap may be invalid only if the button doesn’t show any images.
Added in version 2.9.1.
See also