#include <hikogui/GUI/gui_system.hpp>
|
|
static os_handle | instance |
| |
◆ make_unique()
Make a gui_system instance.
This will instantiate a gui_system instance appropriate for the current operating system.
- Parameters
-
| delegate | An optional delegate. |
- Returns
- A unique pointer to a gui_system instance.
◆ make_window()
template<typename WidgetType , typename... Args>
Create a new window with an embedded widget.
- Template Parameters
-
| WidgetType | The widget to construct in the window. |
- Parameters
-
| label | The label for the window. The label is also passed to the widget. |
| args | The arguments that are forwarded to the constructor of the window's widget. |
- Returns
- A shared_ptr to the new window and a reference to the widget.
◆ request_reconstrain()
| void v1::gui_system::request_reconstrain |
( |
| ) |
|
|
noexcept |
Request all windows to constrain.
◆ selected_theme
The name of the selected theme.
The documentation for this class was generated from the following file: