Module tao::global_shortcut[][src]

Expand description

UNSTABLE – The GlobalShortcut struct and associated types.

let mut hotkey_manager = ShortcutManager::new(&event_loop);
let accelerator = Accelerator::new(SysMods::Shift, KeyCode::ArrowUp);
let global_shortcut = hotkey_manager.register(accelerator)?;

Structs

Describes a global keyboard shortcut.

Object that allows you to manage a GlobalShortcut.

Enums

An error whose cause the ShortcutManager to fail.