igiWindowIsOpen

Category: IGI

Syntax:

igiWindowIsOpen:Int()



Returns

Int



Summary

For a window opened with IGI_WINDOW_CLOSEBOX: tells you the user clicked its X.

Returns: 0 on the frame the window's X was clicked, otherwise 1.

View detailed documentation online



Example
If showHelp Then
    igiBeginEx("Help", -1, -1, 0, 0, IGI_WINDOW_CLOSEBOX)
    If Not igiWindowIsOpen() Then showHelp = False
    igiText("Arrow keys move")
    igiEnd()
EndIf

BambooBasic © 2026 Michael Denathorn