本页内容

Qt Wayland XdgShell Extension

概述

XdgShell 是一款提供典型桌面系统窗口系统功能的Shell扩展。

XdgShell 对应于 Wayland 接口,xdg_shell 。

用法

要使用此模块,请按以下方式导入:

import QtWayland.Compositor.XdgShell

XdgDecorationManagerV1

提供了一个用于协商服务器端和客户端窗口装饰的扩展

XdgOutputManagerV1

提供了一个用于以桌面导向方式描述输出设备的扩展

XdgOutputV1

在合成器中表示显示器

XdgPopup

表示 xdg 表面中与弹出窗口相关的特定部分

XdgShell

提供用于桌面风格用户界面的扩展

XdgSurface

面向 XDG 表面的桌面风格合成器特定功能

XdgToplevel

表示 xdg 表面的顶级窗口特定部分

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