ZxdgToplevelV6

toplevel surface

This interface defines an xdg_surface role which allows a surface to, among other things, set window-like properties such as maximize, fullscreen, and minimize, set application-specific metadata like title and id, and well as trigger user interactive operations such as interactive resize and move.

final
class ZxdgToplevelV6 : WlProxy {}

Members

Aliases

OnCloseEventDg
alias OnCloseEventDg = void delegate(ZxdgToplevelV6 zxdgToplevelV6)

Event delegate signature of ZxdgToplevelV6.onClose.

OnConfigureEventDg
alias OnConfigureEventDg = void delegate(ZxdgToplevelV6 zxdgToplevelV6, int width, int height, wl_array* states)

Event delegate signature of ZxdgToplevelV6.onConfigure.

Enums

ResizeEdge
enum ResizeEdge

edge values for resizing

State
enum State

types of state on the surface

Functions

destroy
void destroy()

destroy the xdg_toplevel

move
void move(WlSeat seat, uint serial)

start an interactive move

resize
void resize(WlSeat seat, uint serial, uint edges)

start an interactive resize

setAppId
void setAppId(string appId)

set application ID

setFullscreen
void setFullscreen(WlOutput output)

set the window as fullscreen on a monitor

setMaxSize
void setMaxSize(int width, int height)

set the maximum size

setMaximized
void setMaximized()

maximize the window

setMinSize
void setMinSize(int width, int height)

set the minimum size

setMinimized
void setMinimized()

set the window as minimized

setParent
void setParent(ZxdgToplevelV6 parent)

set the parent of this surface

setTitle
void setTitle(string title)

set surface title

showWindowMenu
void showWindowMenu(WlSeat seat, uint serial, int x, int y)

show the window menu

unsetFullscreen
void unsetFullscreen()
Undocumented in source. Be warned that the author may not have intended to support it.
unsetMaximized
void unsetMaximized()

unmaximize the window

Manifest constants

destroyOpCode
enum destroyOpCode;

Op-code of ZxdgToplevelV6.destroy.

destroySinceVersion
enum destroySinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.destroy.

moveOpCode
enum moveOpCode;

Op-code of ZxdgToplevelV6.move.

moveSinceVersion
enum moveSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.move.

onCloseSinceVersion
enum onCloseSinceVersion;

xdg_shell_unstable_v6 protocol version introducing ZxdgToplevelV6.onClose.

onConfigureSinceVersion
enum onConfigureSinceVersion;

xdg_shell_unstable_v6 protocol version introducing ZxdgToplevelV6.onConfigure.

resizeOpCode
enum resizeOpCode;

Op-code of ZxdgToplevelV6.resize.

resizeSinceVersion
enum resizeSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.resize.

setAppIdOpCode
enum setAppIdOpCode;

Op-code of ZxdgToplevelV6.setAppId.

setAppIdSinceVersion
enum setAppIdSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setAppId.

setFullscreenOpCode
enum setFullscreenOpCode;

Op-code of ZxdgToplevelV6.setFullscreen.

setFullscreenSinceVersion
enum setFullscreenSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setFullscreen.

setMaxSizeOpCode
enum setMaxSizeOpCode;

Op-code of ZxdgToplevelV6.setMaxSize.

setMaxSizeSinceVersion
enum setMaxSizeSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setMaxSize.

setMaximizedOpCode
enum setMaximizedOpCode;

Op-code of ZxdgToplevelV6.setMaximized.

setMaximizedSinceVersion
enum setMaximizedSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setMaximized.

setMinSizeOpCode
enum setMinSizeOpCode;

Op-code of ZxdgToplevelV6.setMinSize.

setMinSizeSinceVersion
enum setMinSizeSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setMinSize.

setMinimizedOpCode
enum setMinimizedOpCode;

Op-code of ZxdgToplevelV6.setMinimized.

setMinimizedSinceVersion
enum setMinimizedSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setMinimized.

setParentOpCode
enum setParentOpCode;

Op-code of ZxdgToplevelV6.setParent.

setParentSinceVersion
enum setParentSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setParent.

setTitleOpCode
enum setTitleOpCode;

Op-code of ZxdgToplevelV6.setTitle.

setTitleSinceVersion
enum setTitleSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.setTitle.

showWindowMenuOpCode
enum showWindowMenuOpCode;

Op-code of ZxdgToplevelV6.showWindowMenu.

showWindowMenuSinceVersion
enum showWindowMenuSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.showWindowMenu.

unsetFullscreenOpCode
enum unsetFullscreenOpCode;

Op-code of ZxdgToplevelV6.unsetFullscreen.

unsetFullscreenSinceVersion
enum unsetFullscreenSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.unsetFullscreen.

unsetMaximizedOpCode
enum unsetMaximizedOpCode;

Op-code of ZxdgToplevelV6.unsetMaximized.

unsetMaximizedSinceVersion
enum unsetMaximizedSinceVersion;

Version of xdg_shell_unstable_v6 protocol introducing ZxdgToplevelV6.unsetMaximized.

ver
enum ver;

Version of xdg_shell_unstable_v6.zxdg_toplevel_v6

Properties

iface
immutable(WlProxyInterface) iface [@property getter]

Interface object that creates ZxdgToplevelV6 objects.

onClose
OnCloseEventDg onClose [@property setter]

surface wants to be closed

onConfigure
OnConfigureEventDg onConfigure [@property setter]

suggest a surface change

Meta