window.go
func (w *Window) SetVisible(visible bool) {
	if w.hidden == visible {
		w.hidden = !visible
		if w.hidden {
			w.SetModal(false)
			if WindowManager().topWindow() == w {
				WindowManager().moveActiveWindowToBottom()
			}
		} else {
			WindowManager().activateWindow(w)
		}
	}
}
func (w *Window) SetVisible(visible bool) {
	if w.hidden == visible {
		w.hidden = !visible
		if w.hidden {
			w.SetModal(false)
			if WindowManager().topWindow() == w {
				WindowManager().moveActiveWindowToBottom()
			}
		} else {
			WindowManager().activateWindow(w)
		}
	}
}
func ( w * Window ) SetVisible ( visible bool ) { if w . hidden == visible { w . hidden = ! visible if w . hidden { w . SetModal ( false ) if WindowManager ( ) . topWindow ( ) == w { WindowManager ( ) . moveActiveWindowToBottom ( ) } } else { WindowManager ( ) . activateWindow ( w ) } } }
// SetVisible allows to temporarily remove the window from screen
// and show it later without reconstruction
SetVisible allows to temporarily remove the window from screen and show it later without reconstruction