Egui::ContextMenu::Item
Inherits Reference < Object
One clickable row. action, when set, both supplies the live
shortcut hint (whatever ctx.hotkeys binds right now) and makes
the row trigger on the hotkey while the menu is open; hotkey
is a static hint for rows without an action.
Constructors
new(label : String, icon : Symbol | Nil, action : HotkeyAction | Nil, hotkey : String | Nil, handler : -> | Nil)
SourceInstance methods
action
Sourcehandler
Sourcehotkey
Sourceicon
Sourcelabel
Source