summaryrefslogtreecommitdiff
path: root/LibGUI/GAction.h
AgeCommit message (Collapse)Author
2019-03-03Applications: Map Alt+F4 to Quit in FileManager/ProcessManager/Terminal.Andreas Kling
2019-03-02LibGUI+WindowServer: Add app-global keyboard shortcuts.Andreas Kling
This patch adds a GShortcut class. Each GAction can have a GShortcut which will cause the event loop to listen for that key combination app-globally and activate the event in case it's pressed. The shortcut will also be displayed when the action is added to a menu. Use this to hook up Alt+Up with the "open parent directory" action in the FileManager app. :^)
2019-02-25AK: Add Retained<T>, like RetainPtr, but never null.Andreas Kling
Also use some Clang attribute wizardry to get a warning for use-after-move.
2019-02-20LibGUI: Add a GToolBar class that can be populated with GActions.Andreas Kling
The same action can be added to both a menu and a toolbar. Use this to put a toolbar into FileManager. This is pretty neat. :^)
2019-02-12LibGUI: Add GAction class and make GMenu deal in actions rather than strings.Andreas Kling