Egui::HotkeyAction
Inherits Struct < Value < Object
The semantic event a hotkey (or a menu click) fires. Apps define
their actions as constants and poll them with
Context#consume_action — one place handles the action no matter
whether it came from a key press or a menu.
Constructors
new(name : String)
SourceInstance methods
==(other : HotkeyAction) : Bool
Sourcename
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.