InputMap.Map method (1 of 3)
Maps the given sequences to a command; the first becomes the primary/display sequence.
public InputMap Map(Command command, KeySequence primarySequence, params KeySequence[] alternativeSequences)See Also
Section titled “See Also”- class Command
- struct KeySequence
- class InputMap
- namespace Aprillz.MewUI
InputMap.Map method (2 of 3)
Section titled “InputMap.Map method (2 of 3)”Maps a sequence to a local callback that is not part of command presentation.
public InputMap Map(KeySequence sequence, Action execute, Func<bool>? canExecute = null)See Also
Section titled “See Also”- struct KeySequence
- class InputMap
- namespace Aprillz.MewUI
InputMap.Map method (3 of 3)
Section titled “InputMap.Map method (3 of 3)”Maps the given sequences to a command invoked with data as its argument, so one command can answer to several sequences that differ only in the value they pass.
public InputMap Map(Command command, object? data, KeySequence primarySequence, params KeySequence[] alternativeSequences)See Also
Section titled “See Also”- class Command
- struct KeySequence
- class InputMap
- namespace Aprillz.MewUI