WlShellSurface QML Type
Provides a wl_shell_surface
that offers desktop-style compositor-specific features to a surface. 更多...
Import Statement: | import QtWayland.Compositor 1.0 |
开始支持版本: | Qt 5.8 |
属性
- className : string
- shell : object
- surface : object
- title : string
- windowType : enum
方法
- void initialize(object shell, object surface, object client, int id)
- void ping()
- 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 wl_shell_surface
.
属性
This property holds the class name of the WlShellSurface.
This property holds the shell associated with this WlShellSurface.
This property holds the wl_surface
associated with this WlShellSurface.
This property holds the title of the WlShellSurface.
This property holds the window type of the WlShellSurface.
成员
Initializes the WlShellSurface with id and associates it with the given shell, surface, and client.
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.