private igMenuItem ( string label, string shortcut, bool selected, bool enabled ) : bool | ||
label | string | |
shortcut | string | |
selected | bool | |
enabled | bool | |
return | bool |
public static unsafe bool MenuItem(string label, string shortcut, bool selected, bool enabled) { fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label)) { return(ImGuiNative.igMenuItem(bytes, shortcut, selected, enabled)); } }
public static bool MenuItem(string label, string shortcut, bool selected, bool enabled) { return(ImGuiNative.igMenuItem(label, shortcut, selected, enabled)); }