mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Add Platform.os as well as a rudimentary test
This commit is contained in:
parent
904bc56e62
commit
f983cf0b19
16 changed files with 172 additions and 27 deletions
|
@ -518,6 +518,11 @@ export global TextInputInterface {
|
|||
in property <bool> text-input-focused;
|
||||
}
|
||||
|
||||
export global Platform {
|
||||
out property <string> os;
|
||||
out property <string> style-name;
|
||||
}
|
||||
|
||||
export component NativeButton {
|
||||
in property <string> text;
|
||||
in property <image> icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue