Category: IGI (in-game GUI) — Trees, tabs and menus
Syntax:
igiBeginMenuBar:Int()
None
1 if the menu bar is showing.
Starts the menu bar of the current window - the window needs the IGI_WINDOW_MENUBAR flag. Add menus with igiBeginMenu, then call igiEndMenuBar.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If igiBeginMenuBar() Then
If igiBeginMenu("File") Then
If igiMenuItem("Save") Then SaveGame()
igiEndMenu()
EndIf
igiEndMenuBar()
EndIf
BambooBasic © 2026 Michael Denathorn