igiBeginTabBar

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

Syntax:

igiBeginTabBar:Int(id:String)


Parameters

Returns

1 if the tab bar is showing.



Summary

Starts a row of tabs. When it returns 1, add tabs with igiBeginTabItem and then call igiEndTabBar.

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



Example
If igiBeginTabBar("tabs") Then
    If igiBeginTabItem("Video") Then
        igiText("...")
        igiEndTabItem()
    EndIf
    igiEndTabBar()
EndIf

BambooBasic © 2026 Michael Denathorn