You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into a situation where I want to create a new window from within a controller and set the current window as the parent to the new window. I feel like I have most of the steps except how to set the owner and grab the window reference of the current controller. What I have is: new_stage.init_owner = stage.get_window
I noticed in the code that the stage and scene accessors in controller is only a writer and not a reader. How does one get the reference of these? I'm having trouble figuring this out with current documentation.
The text was updated successfully, but these errors were encountered:
I've run into a situation where I want to create a new window from within a controller and set the current window as the parent to the new window. I feel like I have most of the steps except how to set the owner and grab the window reference of the current controller. What I have is:
new_stage.init_owner = stage.get_window
I noticed in the code that the
stage
andscene
accessors in controller is only a writer and not a reader. How does one get the reference of these? I'm having trouble figuring this out with current documentation.The text was updated successfully, but these errors were encountered: