Documentation

UI::MenuItem

Function

bool UI::MenuItem(const string&in label, const string&in shortcut = "", bool selected = false, bool enabled = true)

Clickable menu item. Returns true when clicked.

string label

string shortcut

bool selected

bool enabled

Returns bool