-
Notifications
You must be signed in to change notification settings - Fork 651
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
Feature request: keyboard events from Window (keyboard shortcuts) #66
Comments
Keyboard shortcuts will come when I figure out how to do menu syntax; the two will be tied together. (I'm not sure what a good syntax would be; if you have any ideas let me know.) |
Here is an idea of mine, loosely based on the corresponding Qt Quick interface.
One weakness of this approach is that adding a new property to MenuItem would break all code written this way (using field names in the literals would help...). |
Ctrl-O is now andlabs/libui#321. Enter on a window is a different thing I have to think about under what conditions it doesn't Just Work... |
@andlabs if windows part is the only issue preventing you from implementing key events handling in the entry i have it in the libui part. |
It would be great if there was a way to detect keyboard when the application window has focus, not just when an Area has focus. The use cases I have in mind.
The text was updated successfully, but these errors were encountered: