XdgSurface QML Type
|Import Statement:||import QtWayland.Compositor 1.1|
- popup : XdgPopup
- shell : XdgShell
- surface : WaylandSurface
- toplevel : XdgToplevel
- windowGeometry : rect
- windowType : enum
- void initialize(object xdgShell, object surface, object client, int id)
This type is part of the XdgShell extension and provides a way to extend the functionality of an existing WaylandSurface with features specific to desktop-style compositors, such as resizing and moving the surface.
It corresponds to the Wayland interface
popup : XdgPopup
toplevel : XdgToplevel
windowGeometry : rect
This property holds the window geometry of the QWaylandXdgSurface. The window geometry describes the window's visible bounds from the user's perspective. The geometry includes title bars and borders if drawn by the client, but excludes drop shadows. It is meant to be used for aligning and tiling windows.
This property holds the window type of the XdgSurface.
void initialize(object xdgShell, object surface, object client, int id)
Initializes the XdgSurface, associating it with the given xdgShell, surface, client, and id.
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.