natiny_window_get_alive

C
bool natiny_window_get_alive(NatinyWindow id);

Checks whether a window is still open.

Parameters

Name Type Description
id NatinyWindow Window handle from natiny_window_create

Returns

Type Description
bool true if the window is open, false otherwise

Example

C
bool open = natiny_window_get_alive(win);