* @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 */
| 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 |