mirror of
https://github.com/RGBCube/serenity
synced 2026-01-17 14:40: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);
|
||
|---|---|---|
| .. | ||
| DirectoryView.cpp | ||
| DirectoryView.h | ||
| FileUtils.cpp | ||
| FileUtils.h | ||
| main.cpp | ||
| Makefile | ||
| PropertiesDialog.cpp | ||
| PropertiesDialog.h | ||