GlobalHotkeyManager.register

Register new global hotkey with initialized GlobalHotkey object. This function will throw if it failed to register hotkey (i.e. hotkey is invalid or already taken).

  1. void register(GlobalHotkey gh)
  2. void register(const(char)[] akey, void delegate() ahandler)
    class GlobalHotkeyManager
    static
    void
    register
    (
    const(char)[] akey
    ,
    void delegate
    ()
    ahandler
    )
Suggestion Box / Bug Report