|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Manages user-defined keyboard shortcuts. More...
#include <src/gui/backend/backend/settings/user_shortcuts.h>
Public Member Functions | |
| const std::string & | get (bool primary, const std::string &action, const std::string &default_shortcut) const |
Returns a shortcut for the given action, or default_shortcut if not found. | |
Manages user-defined keyboard shortcuts.
This class provides methods to read and retrieve user-defined keyboard shortcuts for various actions in the application.
Definition at line 43 of file user_shortcuts.h.
| const std::string & UserShortcuts::get | ( | bool | primary, |
| const std::string & | action, | ||
| const std::string & | default_shortcut ) const |
Returns a shortcut for the given action, or default_shortcut if not found.
| primary | Whether to get the primary shortcut, otherwise the secondary. |