igiBeginMainMenuBar

Category: IGI

Syntax:

igiBeginMainMenuBar:Int()



Returns

Int



Summary

Starts a menu bar across the top of the screen - common in editors and debug tools.

Returns: 1 if the bar is showing.

View detailed documentation online



Example
If igiBeginMainMenuBar() Then
    If igiBeginMenu("Debug") Then
        If igiMenuItem("Reset level") Then ResetLevel()
        igiEndMenu()
    EndIf
    igiEndMainMenuBar()
EndIf

BambooBasic © 2026 Michael Denathorn