1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 20:12:06 +00:00
serenity/Demos
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
..
DynamicLink LibELF: Use MAP_PRIVATE for file-backed mmaps in ELFDynamicLoader 2020-02-29 10:58:45 +01:00
Fire Userspace: Use Core::Object::add() when building interfaces 2020-02-23 11:10:52 +01:00
HelloWorld LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
WidgetGallery Userspace: Use Core::Object::add() when building interfaces 2020-02-23 11:10:52 +01:00
Makefile Build: Only look at SUBDIRS with Makefiles 2020-02-25 19:56:48 +01:00