MCPcopy Create free account
hub / github.com/SpartanJ/eepp / addKeyBinding

Method addKeyBinding

src/eepp/ui/uiwindow.cpp:1788–1790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1786}
1787
1788void UIWindow::addKeyBinding( const KeyBindings::Shortcut& shortcut, const std::string& command ) {
1789 mKeyBindings.addKeybind( shortcut, command );
1790}
1791
1792void UIWindow::replaceKeyBindingString( const std::string& shortcut, const std::string& command ) {
1793 mKeyBindings.replaceKeybindString( shortcut, command );

Callers 3

displayHealthMethod · 0.45
processPickerMethod · 0.45
createDecoratedWindowMethod · 0.45

Calls 1

addKeybindMethod · 0.80

Tested by 1

createDecoratedWindowMethod · 0.36