How to create two modules containing both Rust and two generic Slint components #6182
Unanswered
otiv-willem-vanhulle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The problem I am facing is that I have two generic Slint components:
How should the architecture for an application that uses the higher-level component and generic components look like? How do I structure my code?
I can only find very basic examples for simple widgets, but for complex hierarchical widgets I do not see how to reuse the Rust logic. In web development, most front-end components are written in Javascript, JSX or another language that combines logic with markup structure. In this way, you can compose and build functional web components from smaller components. I would like to do something similar in Slint. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions