==================== ButtonBase (hwx.gui) ==================== Abstract base class for all buttons. Inherits: - :ref:`Widget (hwx.gui)` ---------- Properties ---------- +-------------+-------------+-------------+ | accel_ | autoRepeat_ | checkable_ | +-------------+-------------+-------------+ | checked_ | flat_ | icon_ | +-------------+-------------+-------------+ | text_ | | +-------------+---------------------------+ -------------- Public Methods -------------- +-----------------------------+ | setProperties_ (self, kwds) | +-----------------------------+ ---------------- Property Details ---------------- .. _accel: .. method:: accel Keyboard accelerator to execute the command (ie 'Ctrl-r'). .. _autoRepeat: .. method:: autoRepeat Returns and sets if button will auto-repeat if the user holds it down. .. _checkable: .. method:: checkable Returns and sets if button can be toggled/checked (depending on rendering) .. _checked: .. method:: checked Returns and sets if button has been toggled/checked. Only works if it is checkable. .. _flat: .. method:: flat Returns and sets if button has a flat borderless appearance. .. _icon: .. method:: icon Icon file name. .. _text: .. method:: text Text to display. -------------- Method Details -------------- .. _setProperties: .. method:: setProperties(self, kwds) Ensure proper order of setting properties. :param kwds: A dict so the order of the properties are set is unpredictable checkable must be set before checked, or checked will not take effect.