How to set out property struct as text input in slint to rust #5015
Unanswered
MohaBeacon
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Not sure what you're asking for, but you should be able to do something like let app = AppWindow::new().unwrap();
app.set_userdetails(Userdetails{ user: "foo".into(), pass: "bar".into() });
app.run().unwrap(); I haven't tried it locally, but it should work. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I guess my question is related to two way bindings - as i need to use the struct field in both text and the call back |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions