MCPcopy Create free account
hub / github.com/KLayout/klayout / get_shortcuts

Function get_shortcuts

src/laybasic/laybasic/layAbstractMenu.h:905–910  ·  view source on GitHub ↗

* @brief Gets the keyboard shortcuts * @param with_defaults Returns the default shortcuts if true. Otherwise returns the effective shortcut. * @return a hash with menu paths for keys and key binding for values */

Source from the content-addressed store, hash-verified

903 * @return a hash with menu paths for keys and key binding for values
904 */
905 std::map<std::string, std::string> get_shortcuts (bool with_defaults)
906 {
907 std::map<std::string, std::string> b;
908 get_shortcuts (std::string (), b, with_defaults);
909 return b;
910 }
911
912 /**
913 * @brief Gets the root node of the menu

Callers 1

get_shortcutsMethod · 0.85

Calls 1

stringFunction · 0.50

Tested by

no test coverage detected