mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
LibGUI: Handle Action keyboard shortcuts in Widget keydown
Widgets can now prevent shortcut Actions from being called, which allows text input keydown handlers to override single key shortcuts.
This commit is contained in:
parent
8e7c7e0a2a
commit
967dfa7956
6 changed files with 72 additions and 13 deletions
|
@ -234,6 +234,8 @@ public:
|
|||
|
||||
void set_always_on_top(bool always_on_top = true);
|
||||
|
||||
void propagate_shortcuts_up_to_application(KeyEvent& event, Widget* widget);
|
||||
|
||||
protected:
|
||||
Window(Core::Object* parent = nullptr);
|
||||
virtual void wm_event(WMEvent&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue