XDG surface wrapper class. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/shells/xdg/wayland_xdg_surface.hpp>
Public Member Functions | |
XDGSurface (const XDGWMBase &xdgWMBase, const WaylandSurface &waylandSurface) noexcept | |
Constructor. | |
XDGSurface (xdg_surface *nativeHandle) noexcept | |
Constructor. | |
Public Member Functions inherited from kanzi::wayland::WaylandInterface< XDGSurface, xdg_surface, xdg_surface_listener > | |
bool | addListener (enable_if_t<!is_same< L, void >::value, const L & > listener, void *data) const noexcept |
Adds a listener to Wayland object. | |
KZ_NO_DISCARD unsigned int | askVersion () const noexcept |
Requests compositor which interface version we use. | |
KZ_NO_DISCARD xdg_surface * | getNativeHandle () const noexcept |
Gets the underlying native handle. | |
Static Public Attributes | |
static const wl_interface | s_nativeInterface |
Represents the underlying native interface. | |
Additional Inherited Members | |
Public Types inherited from kanzi::wayland::WaylandInterface< XDGSurface, xdg_surface, xdg_surface_listener > | |
using | ListenerType |
Generic alias to query for appropriate listener type. | |
Static Public Member Functions inherited from kanzi::wayland::WaylandInterface< XDGSurface, xdg_surface, xdg_surface_listener > | |
static KZ_NO_DISCARD unsigned int | askVersion (xdg_surface *handle) noexcept |
Requests compositor which interface version we use. | |
XDG surface wrapper class.
|
explicitnoexcept |
Constructor.
nativeHandle | Native Wayland handle. |
|
explicitnoexcept |
Constructor.
xdgWMBase | XDGWMBase from which to construct an XDGSurface. |
waylandSurface | WaylandSurface from which to construct an XDGSurface. |
|
static |
Represents the underlying native interface.