mirror of
https://github.com/RGBCube/serenity
synced 2026-01-20 14:00:59 +00:00
This patch adds the following convenience helper:
auto tab_widget = GUI::TabWidget::construct();
auto my_widget = tab_widget->add_tab<GUI::Widget>("My tab", ...);
The above is equivalent to:
auto tab_widget = GUI::TabWidget::construct();
auto my_widget = GUI::Widget::construct(...);
tab_widget->add_widget("My tab", my_widget);
|
||
|---|---|---|
| .. | ||
| History.h | ||
| InspectorWidget.cpp | ||
| InspectorWidget.h | ||
| main.cpp | ||
| Makefile | ||