Skip to content

Documentation / imgui / ImGui / MenuItem

Function: MenuItem() ​

Call Signature ​

MenuItem(label, shortcut?, selected?, enabled?): boolean

Defined in: libs/imgui/src/imgui.ts:6492

Parameters ​

label ​

string

shortcut? ​

string

selected? ​

boolean

enabled? ​

boolean

Returns ​

boolean

Call Signature ​

MenuItem(label, shortcut, p_selected, enabled?): boolean

Defined in: libs/imgui/src/imgui.ts:6498

Parameters ​

label ​

string

shortcut ​

string

p_selected ​

ImScalar<boolean> | ImAccess<boolean>

enabled? ​

boolean

Returns ​

boolean

Released under the MIT License.