1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 20:12:06 +00:00
serenity/Applications
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
..
About LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
Browser LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
Calculator LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
ChanViewer LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
DisplayProperties LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
FileManager LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
FontEditor LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
Help LibGUI: Some more convenience functions for constructing widgets 2020-03-03 22:37:48 +01:00
HexEditor LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
IRCClient AK: Make quick_sort() a little more ergonomic 2020-03-03 16:02:58 +01:00
PaintBrush PaintBrush: Pledge "thread" so that GUI::FilePicker works 2020-02-28 19:48:29 +01:00
Piano LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
QuickShow LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
SoundPlayer LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
SystemMenu LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
SystemMonitor SystemMonitor: Unbreak the in-table progress bars showing disk usage 2020-03-02 23:05:04 +01:00
Taskbar LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
Terminal Terminal: Put PAGER=more in the default environment 2020-02-29 18:48:39 +01:00
TextEditor TextEditor: Pledge "thread" since it's needed by GUI::FilePicker 2020-02-24 19:51:22 +01:00
Welcome LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
Makefile Build: Only look at SUBDIRS with Makefiles 2020-02-25 19:56:48 +01:00