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 |
このプロパティは、WlShellSurface のクラス名を保持します。
shell : WlShell |
このプロパティは、このWlShellSurface に関連付けられたシェルを保持します。
surface : WaylandSurface |
このプロパティは、このWlShellSurface に関連付けられているwl_surface
を保持します。
title : string |
このプロパティはWlShellSurface のタイトルを保持します。
windowType : enum |
このプロパティは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 イベントをクライアントに送り、ユーザがクライアントのサーフェス外のどこかをクリックしたことを示します。
© 2025 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.