Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unregistering Hotkeys #21

Open
NoahKamara opened this issue Jan 1, 2020 · 2 comments
Open

Unregistering Hotkeys #21

NoahKamara opened this issue Jan 1, 2020 · 2 comments

Comments

@NoahKamara
Copy link

Hey,
I'm writing an OS X app where a user can create sets of hotkeys and then switch the sets so I need to be able to unregister 'non-active' Hotkeys. Is there a way to do this?

@NoahKamara
Copy link
Author

My current solution is to just do
hotkey.isPaused = true but Im not sure this is a 'good' solution

@martinlexow
Copy link

It seems there’s no need to unregister a hot key:

You don’t need to think about when handlers are registered and unregistered. This all happens automatically based on the HotKey object’s lifecycle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants