DesktopGlobalShortcutStatus enum

Namespace Runic.Platform in Runic.Platform 0.23.0

public enum DesktopGlobalShortcutStatus

Whether a global shortcut is bound, as DesktopGlobalShortcutBinding.Status reports.

Remarks

This set is open: a minor release may add values, so handle unknown values.

Values

Unbound

Unbound = 0

No key is assigned: the action has no preferred shortcut, or on Linux the user left it unassigned. The default value, so a binding that does not set DesktopGlobalShortcutBinding.Status reports no key.

Bound

Bound = 1

The key starts the action.

Conflict

Conflict = 2

Another application, or another action of this one, already uses the key.

Refused

Refused = 3

The platform does not allow the key as a global shortcut: a key the system or the focused control keeps, such as F12 on Windows or Ctrl+C, a combination macOS rejects, or a character the current keyboard layout cannot type.