Replies: 1 comment
-
The |
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.
-
Hello !
I would like to ask to how can i hide the window with the possibility to restore it later ?
My use case is: there is a splash screen, then a child process is spawned with the Command::new() function.
When the child process is exited, i need to restore the previous window to its initial state.
When i call window.hide(), then window.show(), the window wont open.
I guess because the handler is droppen when i call hide() according to the docs:
Hides the window, so that it is not visible anymore. The additional strong reference on the associated component, that was created when Self::show() was called, is dropped.
I tried to change the width and height of the window to 0, then set it again, but its a hack, and sometimes just don't work.
When i want to create a new window, the application panics.
The window has to be full-screen.
Beta Was this translation helpful? Give feedback.
All reactions