Skip to content
Discussion options

You must be logged in to vote

The slint language is not a programming language, and it is kept that way so that the logic and UI is kept separate.

So you can fill a model from the native code.

Or you can do so with callbacks. (Example: the to-upper-case callback in https://docs.rs/slint/latest/slint/docs/recipes/index.html#global-callbacks )

Or you can just do

for letter in ["A", "B", "C", "D", "E", "F", "G", "H"] : ... 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loloof64
Comment options

Answer selected by loloof64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants