igiCollapsingHeader

Category: IGI (in-game GUI) — Trees, tabs and menus

Syntax:

igiCollapsingHeader:Int(label:String)


Parameters

Returns

1 if the section is open.



Summary

A full-width header that opens and closes a section. Unlike igiTreeNode there is nothing to call afterwards.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.



Example
If igiCollapsingHeader("Audio") Then
    volume = igiSliderInt("Volume", volume, 0, 100)
EndIf

BambooBasic © 2026 Michael Denathorn