mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
LibGUI: Allow TabWidget to remove all tabs except one
This commit is contained in:
parent
ca2c81251a
commit
8a0d465fbc
Notes:
sideshowbarker
2024-07-18 07:24:30 +09:00
Author: https://github.com/SeekingBlues
Commit: 8a0d465fbc
Pull-request: https://github.com/SerenityOS/serenity/pull/9211
Reviewed-by: https://github.com/awesomekling
2 changed files with 17 additions and 0 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
}
|
||||
|
||||
void remove_tab(Widget& tab) { remove_widget(tab); }
|
||||
void remove_all_tabs_except(Widget& tab);
|
||||
|
||||
void set_tab_title(Widget& tab, const StringView& title);
|
||||
void set_tab_icon(Widget& tab, const Gfx::Bitmap*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue