ButtonBase (hwx.gui)¶
Abstract base class for all buttons.
- Inherits:
Public Methods¶
setProperties (self, kwds)
Property Details¶
-
accel
()
Keyboard accelerator to execute the command (ie ‘Ctrl-r’).
-
autoRepeat
()¶
Returns and sets if button will auto-repeat if the user holds it down.
-
checkable
()
Returns and sets if button can be toggled/checked (depending on rendering)
-
checked
()
Returns and sets if button has been toggled/checked. Only works if it is checkable.
-
flat
()
Returns and sets if button has a flat borderless appearance.
-
icon
()
Icon file name.
-
text
()
Text to display.