mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibGUI: Allow TabWidget to remove all tabs except one
This commit is contained in:
parent
ca2c81251a
commit
8a0d465fbc
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