mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 04:45:13 +00:00
Python: Add support for exporting multiple components
This commit is contained in:
parent
a3435d218f
commit
0c7d2062a5
10 changed files with 76 additions and 51 deletions
|
@ -9,7 +9,7 @@ export global MyGlobal {
|
|||
}
|
||||
}
|
||||
|
||||
export component App {
|
||||
export component App inherits Window {
|
||||
in-out property <string> hello: "World";
|
||||
callback say-hello(string) -> string;
|
||||
callback say_hello_again(string) -> string;
|
||||
|
@ -37,3 +37,5 @@ export component App {
|
|||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
export component Diag inherits Window { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue