LibGUI: Allow TabWidget to remove all tabs except one

This commit is contained in:
TheFightingCatfish 2021-08-06 10:01:32 +08:00 committed by Andreas Kling
commit 8a0d465fbc
Notes: sideshowbarker 2024-07-18 07:24:30 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -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*);