summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/MenuItem.h
AgeCommit message (Collapse)Author
2022-12-10LibGUI+WindowServer: Add "visible" state to GUI actionsAndreas Kling
This patch adds a visibility state to GUI::Action. All actions default to being visible. When invisible, they do not show up in toolbars on menus (and importantly, they don't occupy any space). This can be used to hide/show context-sensitive actions dynamically without rebuilding menus and toolbars. Thanks to Tim Slater for assuming that action visibility was a thing, which gave me a reason to implement it! :^)
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-01-09LibGUI+WindowServer: Flash menubar menu when using a keyboard shortcutbugreport0
Briefly flash the menubar menu containing the keyboard shortcut action to give the user immediate visual feedback on their interaction with the system.
2021-10-06LibGUI: Add missing headersBen Wiederhake
2021-05-08LibGUI: Make Action::set_text() update any associated menu itemsAndreas Kling
Now you can change the text of an action and it will actually show up in the menu. :^)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling