mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
WIP: pure qualifier for callback and functions
This commit is contained in:
parent
8a09043e63
commit
1cbd61145e
34 changed files with 366 additions and 93 deletions
|
@ -8,7 +8,7 @@ export MainWindow := Window {
|
|||
preferred-width: 800px;
|
||||
preferred-height: 600px;
|
||||
|
||||
callback render_plot(float /* pitch */, float /* yaw */, float /* amplitude */) -> image;
|
||||
pure callback render_plot(float /* pitch */, float /* yaw */, float /* amplitude */) -> image;
|
||||
|
||||
property <float> pitch: 0.15;
|
||||
property <float> yaw: 0.5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue