A generic bitmap button.
lib.buttons.GenBitmapTextButton, lib.buttons.GenBitmapToggleButton, lib.buttons.ThemedGenBitmapButton
__init__ | |
DrawLabel | |
GetBitmapDisabled | |
GetBitmapFocus | |
GetBitmapLabel | |
GetBitmapSelected | |
SetBitmapDisabled | Set bitmap to display when the button is disabled |
SetBitmapFocus | Set bitmap to display when the button has the focus |
SetBitmapLabel | Set the bitmap to display normally. |
SetBitmapSelected | Set bitmap to display when the button is selected (pressed down) |
A generic bitmap button.
Set bitmap to display when the button is disabled
Set bitmap to display when the button has the focus
Set the bitmap to display normally. This is the only one that is required. If createOthers is True, then the other bitmaps will be generated on the fly. Currently, only the disabled bitmap is generated.
Set bitmap to display when the button is selected (pressed down)