Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
UserShortcuts Class Reference

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.

Detailed Description

Manages user-defined keyboard shortcuts.

This class provides methods to read and retrieve user-defined keyboard shortcuts for various actions in the application.

Warning
Unimplemented.

Definition at line 43 of file user_shortcuts.h.

Member Function Documentation

◆ get()

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.

Parameters
primaryWhether to get the primary shortcut, otherwise the secondary.

The documentation for this class was generated from the following file: