mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGUI: Add a GToolBar class that can be populated with GActions.
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. :^)
This commit is contained in:
parent
4804609b7e
commit
b704d3d295
Notes:
sideshowbarker
2024-07-19 15:40:07 +09:00
Author: https://github.com/awesomekling
Commit: b704d3d295
24 changed files with 196 additions and 44 deletions
|
@ -15,7 +15,7 @@ public:
|
|||
|
||||
GAction* action_at(size_t);
|
||||
|
||||
void add_action(OwnPtr<GAction>&&);
|
||||
void add_action(RetainPtr<GAction>&&);
|
||||
void add_separator();
|
||||
|
||||
Function<void(unsigned)> on_item_activation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue