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
5Foo := Rectangle {
6 public function show() { x.show(); }
7 x := PopupWindow { }
8}
9
10Bar := Rectangle {
11
12 TouchArea {
13 clicked => { x.show(); f.show(); }
14 }
15
16 Rectangle {
17 Rectangle {
18 Rectangle {
19 x := PopupWindow {}
20 }
21 }
22 }
23
24 f := Foo {}
25}
26
27