Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Action Widgets

UButton

  • file: src/widget/button.rs
  • applies button styling through UNode and UInteractionColors

UIconButton

  • file: src/widget/icon_btn.rs
  • follows the same button model with icon font support

UToggle

  • file: src/widget/toggle.rs
  • implements a switch with knob animation

UCheckbox

  • file: src/widget/checkbox.rs
  • simple click-driven check state

URadioButton

  • file: src/widget/radio.rs
  • supports single-choice group behavior

Live Example

  • use cargo run --example widgets_controls for UButton, UCheckbox, UToggle, URadioGroup, and URadioButton in one screen