API Reference › App › App.window_show
method

App.window_show

App.window_show() -> void

Puts a window hidden by App.window_hide back on screen, in front and focused, as it was. Safe to call on a window that is already showing, when there is no window, and headless, where it lowers to nothing.

``ludic skip program Demo { entry { App.window_hide() wait_for_the_game() App.window_show() } } ``

On macOS makeKeyAndOrderFront: and the application is activated. On Windows ShowWindow(SW_SHOW) and SetForegroundWindow; Windows may refuse the focus to a program that is not in the foreground, in which case the window comes back and its taskbar button flashes instead.

← All symbols