// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial import { VerticalBox, Button } from "std-widgets.slint"; export Recipe := Window { property counter: 0; callback button_pressed <=> button.clicked; VerticalBox { button := Button { text: "Button, pressed \{root.counter} times"; } } }