WlShellSurface QML Type
A wl_shell_surface providing desktop-style compositor-specific features to a surface. More...
Import Statement: | import QtWayland.Compositor 1.0 |
Properties
- className : string
- focusPolicy : enum
- surface : object
- title : string
Methods
- void initialize(object shell, object surface, object client, int id)
- void ping()
- void sendPopupDone()
Detailed Description
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 wl_shell_surface.
Property Documentation
This property holds the class name of the WlShellSurface.
This property holds the focus policy of the WlShellSurface.
This property holds the wl_surface associated with this WlShellSurface.
This property holds the title of the WlShellSurface.
Method Documentation
Initializes the WlShellSurface, associating it with the given shell, surface, client, and id.
Sends a ping event to the client. If the client replies to the event the pong signal will be emitted.
Sends a popup_done event to the client to indicate that the user has clicked somewhere outside the client's surfaces.