ToggleButton#
API - kivymd.uix.behaviors.toggle_behavior
#
- class kivymd.uix.behaviors.toggle_behavior.MDToggleButtonBehavior(**kwargs)#
This mixin class provides
togglebutton
behavior. Please see thetogglebutton behaviors module
documentation for more information.New in version 1.8.0.
- background_normal#
Color of the button in
rgba
format for the ‘normal’ state.background_normal
is aColorProperty
and is defaults to None.
- background_down#
Color of the button in
rgba
format for the ‘down’ state.background_down
is aColorProperty
and is defaults to None.
- font_color_normal#
Color of the font’s button in
rgba
format for the ‘normal’ state.font_color_normal
is aColorProperty
and is defaults to None.
- font_color_down#
Color of the font’s button in
rgba
format for the ‘down’ state.font_color_down
is aColorProperty
and is defaults to [1, 1, 1, 1].