-
Notifications
You must be signed in to change notification settings - Fork 2
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
Using ⌥ in hotkeys? #5
Comments
General note on stability/readyness: I wouldn't recommend this crate to anyone yet. I think we need to, on macOS at least, set This can be done if you use |
Hey, thanks for letting me know. Just as a precursor to what I'm about to say, I'm new to rust (I've written 5 lines total) and I'm trying to help the Neovide project implement a native OSX menu. They use winit, and the default winit menu is preventing certain hotkeys from being captured (like So far I have disabled the default winit menu, and now I'm setting off to rebuild the menu using this crate and so far it seems to work pretty good, aside form overwriting the actual hotkey combinations. I think for the use case of Neovide, it can be a very simple menu. Essentially I want to re-create About, Hide ( So if you do not recommend this library (yet), can you roughly outline the steps I might take to do something like this above, as if i were a golden retriever? I checked out Thank you for any help, if you feel like it, although of course no obligation. Thanks!! |
If you only want macOS support, then you should use GenerallyI think the best code examples would probably be to find Objective-C examples on how to programmatically create and configure menus in AppKit (probably loads out there, haven't really checked). Once you've found code to do that, you could port it to using Concretely
Another example can be found in I hope that helps! |
Cool, thank you! I appreciate it. This gives me a great direction. |
Hey, I'm looking to do a "Hide others" hotkey which is usually
⌥+⌘+H
I see command looks like its already added
Is there a way I can use this specific key?
The text was updated successfully, but these errors were encountered: