slint 1.3.1

GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT

import { VerticalBox, Button } from "std-widgets.slint";
export Recipe := Window {
    property <int> counter: 0;
    callback button_pressed <=> button.clicked;
    VerticalBox {
        button := Button {
            text: "Button, pressed \{root.counter} times";
        }
    }
}