Skip to content

GroupBox

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"; }
}
}
}
slint
groupbox example

A GroupBox is a container that groups its children together under a common title.

Properties

enabled

bool default: true

When false, the groupbox can’t be interacted with

title

string default: ""

A text written as the title of the group box.


© 2024 SixtyFPS GmbH