このページでは

WlShellSurface QML Type

wl_shell_surface を提供し、サーフェスに対してデスクトップスタイルのコンポジター固有の機能を実現します。詳細...

Import Statement: import QtWayland.Compositor.WlShell
In C++: QWaylandWlShellSurface

プロパティ

方法

詳細な説明

この型はWlShell 拡張機能の一部であり、既存のWaylandSurface の機能を、サーフェスのサイズ変更や移動など、デスクトップスタイルのコンポジターに特有の機能で拡張する手段を提供します。

これは、Wayland インターフェース `wl_shell_surface` に対応しています。

プロパティのドキュメント

className : string [read-only]

このプロパティには、WlShellSurface のクラス名が格納されます。

shell : WlShell [read-only]

このプロパティには、このWlShellSurface に関連付けられたシェルが格納されています。

surface : WaylandSurface [read-only]

このプロパティには、このWlShellSurface に関連付けられたwl_surface が格納されています。

title : string [read-only]

この物件は、「WlShellSurface 」の称号を有しています。

windowType : enum [read-only]

このプロパティは、WlShellSurface のウィンドウタイプを保持します。

メソッドのドキュメント

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

WlShellSurface を初期化し、指定されたshell 、surface 、およびresource に関連付けます。

void ping()

クライアントにpingイベントを送信します。クライアントがこのイベントに応答すると、pong信号が発信されます。

void sendConfigure(size s, enum edges)

クライアントに構成イベントを送信し、指定されたサイズs にサーフェスのサイズを変更するよう提案します。edges は、サーフェスがどのようにサイズ変更されたかについてのヒントを提供します。

void sendPopupDone()

ユーザーがクライアントの表示領域の外側のどこかをクリックしたことを示すため、クライアントに popup_done イベントを送信します。

© 2026 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.