服务端装饰调色板管理器接口

此接口允许客户端更改服务端装饰的调色板。


服务端装饰调色板接口

此接口允许客户端更改服务端装饰的调色板。

set_palette(palette: string)
参数
类型
描述
palettestring
Absolute file path, or name of palette in the user's config directory
设置服务端窗口装饰的调色板

应应用于窗口装饰的配色方案。 绝对文件路径,或用户配置目录中的调色板名称。 服务端可以选择不遵循请求的样式。

release()
释放调色板对象

合成器支持

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.12.0
KWin
KWin
6.6
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.26
Muffin
Muffin
6.6.0
Mutter
Mutter
49.2
niri
niri
25.11
phoc
phoc
0.52
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
org_kde_kwin_server_decoration_palette_manager
x
x
x
x
x
1
x
x
x
x
x
x
x
x
x
x
x
x

SPDX-FileCopyrightText: 2017 David Edmundson

SPDX-License-Identifier: LGPL-2.1-or-later

Footer

© 2026 Wayland Explorer

本网站与 Wayland 官方项目无任何关联。网站所有内容均根据 Wayland 协议 XML 文件自动生成。

本网站使用的 Visual Studio Code - Codicons 遵循 CC BY 4.0 许可。