Class XdgWmBase

create desktop-style surfaces

class XdgWmBase
  : wayland.client.core.WlProxy ;

The xdg_wm_base interface is exposed as a global object enabling clients to turn their wl_surfaces into windows in a desktop environment. It defines the basic functionality needed for clients and the compositor to create windows that can be dragged, resized, maximized, etc, as well as creating transient windows such as popup menus.

Properties

NameTypeDescription
iface[get] immutable(wayland.client.core.WlProxyInterface)Interface object that creates XdgWmBase objects.
onPing[set] void delegate(XdgWmBase, uint)check if the client is alive

Methods

NameDescription
createPositioner () create a positioner object
destroy () destroy xdg_wm_base
getXdgSurface (surface) create a shell surface from a surface
pong (serial) respond to a ping event

Enums

NameDescription
Error

Aliases

NameDescription
OnPingEventDg Event delegate signature of XdgWmBase.onPing.