WlShellSurface QML Type
デスクトップスタイルのコンポジター固有の機能をサーフェスに提供するwl_shell_surface を提供します。詳細...
| Import Statement: | import QtWayland.Compositor.WlShell |
| In C++: | QWaylandWlShellSurface |
プロパティ
- className : string
- shell : WlShell
- surface : WaylandSurface
- title : string
- windowType : enum
方法
- void initialize(WlShell shell, WaylandSurface surface, WaylandResource resource)
- void ping()
- void sendConfigure(size s, enum edges)
- void sendPopupDone()
詳細な説明
この型は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)
クライアントにconfigureイベントを送信し、サーフェスを指定されたサイズにリサイズするよう促す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.