igiCollapsingHeader

A full-width header that opens and closes a section. Takes label (The header's text). Returns: 1 if the section is open.

IGI

Parameters & Returns

Parameters

label String

Returns

Int

Quick Summary

A full-width header that opens and closes a section. Takes label (The header's text). Returns: 1 if the section is open.

Technical Exegesis...

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.

Returns: 1 if the section is open.

Example

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