WlShellSurface QML Type
wl_shell_surface that offers desktop-style compositor-specific features to a surface. More...
|Import Statement:||import QtWayland.Compositor 1.1|
- void initialize(WlShell shell, WaylandSurface surface, WaylandResource resource)
- void ping()
- void sendConfigure(size s, enum edges)
- void sendPopupDone()
This type is part of the WlShell 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
This property holds the window type of the WlShellSurface.
Initializes the WlShellSurface and associates it with the given shell, surface, and resource.
Sends a ping event to the client. If the client replies to the event the pong signal will be emitted.
void sendConfigure(size s, enum edges)
Sends a configure event to the client, suggesting that it resize its surface to the provided size s. The edges provide a hint about how the surface was resized.
Sends a popup_done event to the client to indicate that the user has clicked somewhere outside the client's surfaces.
© 2018 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.