klyn.gui.windows.Window.isVisible
property
public override property isVisible as Boolean
Description

Native window visibility, without an explicit foreground activation request.

Setting true creates the native window when needed and displays it. Setting false hides it without releasing its resources or emitting closed. Hidden windows keep their widgets and event loop; close() ends run(). Repeated assignments of the same value have no effect. Use show() to also request activation, or run() to display and process events until closure.

Throws
  • Exception If the native GUI backend cannot display the window.
Example
window.isVisible = false
window.isVisible = true