Wayland shell surface wrapper class.
More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/shells/core/wayland_shell_surface.hpp>
|
using | ListenerType = wl_shell_surface_listener |
| Generic alias to query for appropriate listener type. More...
|
|
static KZ_NO_DISCARD unsigned int | askVersion (wl_shell_surface *handle) noexcept |
| Requests compositor which interface version we use. More...
|
|
Wayland shell surface wrapper class.
- Since
- Kanzi 3.9.8
kanzi::wayland::WaylandShellSurface::WaylandShellSurface |
( |
wl_shell_surface * |
shellSurfaceHandle | ) |
|
|
explicitnoexcept |
Constructor.
- Parameters
-
shellSurfaceHandle | Native Wayland handle. |
kanzi::wayland::WaylandShellSurface::WaylandShellSurface |
( |
const WaylandShell & |
waylandShell, |
|
|
const WaylandSurface & |
waylandSurface |
|
) |
| |
|
explicitnoexcept |
Constructor.
- Parameters
-
waylandShell | Wayland shell. |
waylandSurface | Wayland surface. |
void kanzi::wayland::WaylandShellSurface::setTopLevel |
( |
| ) |
const |
|
noexcept |
Maps a surface as a toplevel surface.
void kanzi::wayland::WaylandShellSurface::setMaximized |
( |
| ) |
const |
|
noexcept |
Resizes a window to take up the entire screen.
void kanzi::wayland::WaylandShellSurface::setFullscreen |
( |
| ) |
const |
|
noexcept |
Enters the full-screen mode.
void kanzi::wayland::WaylandShellSurface::setTitle |
( |
string_view |
title | ) |
const |
|
noexcept |
Sets the window title.
- Parameters
-
title | Text to set as the window title. |
- Returns
- On success, true, otherwise false.
const wl_interface kanzi::wayland::WaylandShellSurface::s_nativeInterface |
|
static |
Represents the underlying native interface.
The documentation for this class was generated from the following file: