Local variables and loops in functions and callbacks #4838
-
Hello! Are there any plans to add the possibility of using local variables in functions and callbacks? Is it possible to implement loops in Slint functions and callbacks? Is it would be possible to access functions of Conditional Elements from the parent container function? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In general, we're trying to keep the Slint language as not a programming language, but rather a description language.
This is something that makes sense: #2752 |
Beta Was this translation helpful? Give feedback.
In general, we're trying to keep the Slint language as not a programming language, but rather a description language.
For this reason, we don't want a turing complete language. So I'd rather not add loops.
More complex things needs to be done in native code.
This is something that makes sense: #2752