1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/examples"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5export struct MyStruct := {
6 foo: int,
7 bar: string,
8}
9
10SampleComponent := Window {
11 property<int> counter;
12 property<string> user_name;
13 callback hello;
14 // ... maybe more elements here
15}
16}
17