igiBeginMenuBar

Category: IGI

Syntax:

igiBeginMenuBar:Int()



Returns

Int



Summary

Starts the menu bar of the current window - the window needs the IGI_WINDOW_MENUBAR flag.

Returns: 1 if the menu bar is showing.

View detailed documentation online



Example
If igiBeginMenuBar() Then
    If igiBeginMenu("File") Then
        If igiMenuItem("Save") Then SaveGame()
        igiEndMenu()
    EndIf
    igiEndMenuBar()
EndIf

BambooBasic © 2026 Michael Denathorn