RenderWindow.isOpen

Tell whether or not the window is open.

This function returns whether or not the window exists. Note that a hidden window (setVisible(false)) is open (therefore this function would return true).

class RenderWindow
override
bool
isOpen
(
)

Return Value

Type: bool

true if the window is open, false if it has been closed

Meta