1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-20 14:00:59 +00:00
serenity/Applications/Browser
Andreas Kling 6c5100b644 LibGUI: Add helper for constructing new TabWidget tabs
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);
2020-02-23 12:27:53 +01:00
..
History.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InspectorWidget.cpp LibGUI: Add helper for constructing new TabWidget tabs 2020-02-23 12:27:53 +01:00
InspectorWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
main.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Makefile LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00