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 | SubSubCompo := Rectangle { } |
5 | SubCompo := SubSubCompo {} |
6 | |
7 | export TestCase := Window { |
8 | SubCompo {} |
9 | } |
10 | |
11 | /* |
12 | ```cpp |
13 | auto handle = TestCase::create(); |
14 | const TestCase &instance = *handle; |
15 | slint_testing::send_mouse_click(&instance, 5., 5.); |
16 | ``` |
17 | |
18 | ```rust |
19 | let instance = TestCase::new().unwrap(); |
20 | slint_testing::send_mouse_click(&instance, 5., 5.); |
21 | ``` |
22 | |
23 | */ |
24 | |