Represents a Wayland shell class interface boilerplate. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/shells/abstract_wayland_shell.hpp>
Public Member Functions | |
bool | bringToFront () const noexcept |
Displays the window on top of all other windows. | |
KZ_NO_DISCARD optional< string > | getWindowTitle () noexcept |
Gets the current window title. | |
bool | hideWindow () noexcept |
Hides the window. | |
bool | makeFullscreen () const noexcept |
Enters the full-screen mode. | |
bool | makeMaximized () const noexcept |
Resizes the window to take up the entire screen. | |
bool | makeMinimized () noexcept |
Minimizes the window. | |
bool | makeRegular () const noexcept |
Exits the full-screen mode. | |
bool | setWindowTitle (string_view title) const noexcept |
Sets the window title. | |
bool | showWindow () noexcept |
Shows the hidden window. | |
Represents a Wayland shell class interface boilerplate.
Uses CRTP pattern. The user is encouraged to derive from it and pass itself as a template parameter.
T | CRTP derived class. |
|
inlinenoexcept |
Enters the full-screen mode.
|
inlinenoexcept |
Exits the full-screen mode.
|
inlinenoexcept |
Resizes the window to take up the entire screen.
|
inlinenoexcept |
Minimizes the window.
|
inlinenoexcept |
Displays the window on top of all other windows.
|
inlinenoexcept |
Shows the hidden window.
|
inlinenoexcept |
Hides the window.
|
inlinenoexcept |
Sets the window title.
title | Text to set as the window title. |
|
inlinenoexcept |
Gets the current window title.