[][src]Module pushrod::widget::toggle_button_widget

Toggle Button component: draws a clickable box on the screen, triggering an on_selected callback where appropriate.

Structs

ToggleButtonWidget

Draws a toggleable button on the screen. The selected state of this object can be set ahead of time by toggling CONFIG_SELECTED. This Widget generates WidgetSelected events when toggled. The toggle state can be retrieved by reading the CONFIG_SELECTED state of this Widget.