Open
Description
Is your feature request related to a problem? Please describe.
Sometimes, a window is opened by a button, and should be hidden by clicking the same button.
Describe the solution you'd like
A function that makes the window and all components within it temporarily invisible and inactive.
Describe alternatives you've considered
It is possible to just move the window position out of the visible screen, it works, but that's not elegant.