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