Replies: 1 comment 1 reply
-
Hi, sorry this took so long. You need to create a new component that has Then, store that component's model inside your parent component: struct ParentModel {
child: Controller<ChildModel>
} After that, you need to trigger an event to open the child window, inside that event, you can get a reference to the widget:
And then call ParentEvent::OpenChildWindow => {
let child_window = self.child.widget();
child_window.present()
} You can optionally add an |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to make application with multiple similar windows?
Can someone provide an example?
Beta Was this translation helpful? Give feedback.
All reactions