1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
---|---|
2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial |
3 | |
4 | TestCase := Rectangle { |
5 | |
6 | } |
7 | |
8 | /* |
9 | ```cpp |
10 | TestCase::create(); |
11 | ``` |
12 | |
13 | ```rust |
14 | TestCase::new().unwrap(); |
15 | ``` |
16 | |
17 | ```js |
18 | var x = new slint.TestCase({}); |
19 | ``` |
20 | |
21 | */ |
22 |