RadioButtonTile
import { RadioButtonTile, Vertical } from "@material";export component Example inherits Window { width: 140px; height: 300px; background: transparent;
property <int> selected-index: 0;
Vertical { RadioButtonTile { text: "Option 1"; checked: selected-index == 0;
radio_button_clicked => { selected-index = 0; } }
RadioButtonTile { text: "Option 2"; checked: selected-index == 1;
radio-button-clicked => { selected-index = 1; } } }}
slint

RadioButtonTile
s let people select one option from a set of options.
Properties
Section titled “Properties”checked
Section titled “checked”bool (in)
default: false
Whether the radiobutton is checked.
enabled
Section titled “enabled”bool default: true
Whether the radiobutton is enabled and can be interacted with.
Callbacks
Section titled “Callbacks”radio-button-clicked()
Section titled “radio-button-clicked()”Invoked when the radiobutton is clicked.
© 2025 SixtyFPS GmbH