import { GroupBox , VerticalBox, CheckBox } from "std-widgets.slint";export component Example inherits Window { width: 200px; height: 100px; GroupBox { title: "Groceries"; VerticalLayout { CheckBox { text: "Bread"; checked: true ;} CheckBox { text: "Fruits"; } } }}
A GroupBox is a container that groups its children together under a common title.
GroupBox
bool default: true
true
When false, the groupbox can’t be interacted with
string default: ""
""
A text written as the title of the group box.
© 2024 SixtyFPS GmbH