WlShellSurface QML Type

提供 wl_shell_surface that offers desktop-style compositor-specific features to a surface. 更多...

import 语句: import QtWayland.Compositor.WlShell
实例化: QWaylandWlShellSurface

特性

方法

详细描述

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 .

特性文档编制

[read-only] className : string

This property holds the class name of the WlShellSurface .


[read-only] shell : WlShell

This property holds the shell associated with this WlShellSurface .


[read-only] surface : WaylandSurface

此特性保持 wl_surface associated with this WlShellSurface .


[read-only] title : string

This property holds the title of the WlShellSurface .


[read-only] windowType : enum

This property holds the window type of the WlShellSurface .


方法文档编制

void initialize ( WlShell shell , WaylandSurface surface , WaylandResource resource )

初始化 WlShellSurface and associates it with the given shell , surface ,和 resource .


void ping ()

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 sedges provide a hint about how the surface was resized.


void sendPopupDone ()

Sends a popup_done event to the client to indicate that the user has clicked somewhere outside the client's surfaces.