1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 08:57:35 +00:00
serenity/Applications/Help
Andreas Kling 03e0ddce52 LibGUI: Some more convenience functions for constructing widgets
This patch adds two new API's:

- WidgetType& GUI::Window::set_main_widget<WidgetType>();

  This creates a new main widget for a window, assigns it, and returns
  it to you as a WidgetType&.

- LayoutType& GUI::Widget::set_layout<LayoutType>();

  Same basic idea, creates a new layout, assigns it, and returns it to
  you as a LayoutType&.
2020-03-03 22:37:48 +01:00
..
History.cpp Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
History.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
main.cpp LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
Makefile LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
ManualModel.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
ManualModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
ManualNode.h Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
ManualPageNode.cpp Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
ManualPageNode.h Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
ManualSectionNode.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ManualSectionNode.h Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00