1 | #![allow (deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/crashes"# ] |
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 | |
5 | |
6 | Foo := Rectangle { |
7 | public function show() { x.show(); } |
8 | x := PopupWindow { } |
9 | } |
10 | |
11 | Bar := Rectangle { |
12 | |
13 | TouchArea { |
14 | clicked => { x.show(); f.show(); } |
15 | } |
16 | |
17 | Rectangle { |
18 | Rectangle { |
19 | Rectangle { |
20 | x := PopupWindow {} |
21 | } |
22 | } |
23 | } |
24 | |
25 | f := Foo {} |
26 | } |
27 | |
28 | } |
29 | |