igiBeginTabItem

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

Syntax:

igiBeginTabItem:Int(label:String)


Parameters

Returns

1 if this is the open tab.



Summary

One tab. When it returns 1, show that tab's contents and then call igiEndTabItem.

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



Example
If igiBeginTabItem("Audio") Then
    music = igiCheckbox("Music", music)
    igiEndTabItem()
EndIf

BambooBasic © 2026 Michael Denathorn