Skip to content

Data Interop with Rust #5454

Answered by ogoffart
Lucien950 asked this question in General
Jun 21, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Yes, this is currently how Slint work. You need to have all access through the root or through a global.
For bigger project you usually have a global for the logic for some component. The callback can take an id argument so that the logic can distinguish between instance.

Is there plans to improve this?

Yes, we're looking into solution such as #2031

Replies: 1 comment 1 reply

Comment options

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

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