GTK Shell

gtk_shell1

版本 5
GTK 特定的扩展

gtk_shell 是一个协议扩展,为实现它的客户端提供额外功能。

get_gtk_surface(gtk_surface: new_id<gtk_surface1>, surface: object<wl_surface>)
参数
类型
描述
gtk_surfacenew_id<gtk_surface1>
surfaceobject<wl_surface>
set_startup_id(startup_id: string)
参数
类型
描述
startup_idstring允许为空
system_bell(surface: object<gtk_surface1>)
参数
类型
描述
surfaceobject<gtk_surface1>允许为空
notify_launch(startup_id: string)
参数
类型
描述
startup_idstring
capabilities(capabilities: uint)
参数
类型
描述
capabilitiesuint

gtk_surface1

版本 5

set_dbus_properties(application_id: string, app_menu_path: string, menubar_path: string, window_object_path: string, application_object_path: string, unique_bus_name: string)
参数
类型
描述
application_idstring允许为空
app_menu_pathstring允许为空
menubar_pathstring允许为空
window_object_pathstring允许为空
application_object_pathstring允许为空
unique_bus_namestring允许为空
present(time: uint)
参数
类型
描述
timeuint
request_focus(startup_id: string)
参数
类型
描述
startup_idstring允许为空
release
类型: destructor起始版本 4
release()
titlebar_gesture(serial: uint, seat: object<wl_seat>, gesture: uint<gtk_surface1.gesture>)
参数
类型
描述
serialuint
seatobject<wl_seat>
gestureuint<gtk_surface1.gesture>
configure(states: array)
参数
类型
描述
statesarray
configure_edges(constraints: array)
参数
类型
描述
constraintsarray
参数
描述
tiled1
tiled_top起始版本 22
tiled_right起始版本 23
tiled_bottom起始版本 24
tiled_left起始版本 25
error
起始版本 5
error { invalid_gesture } 
参数
描述
invalid_gesture0

合成器支持

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
gtk_shell1
x
x
x
x
x
x
x
x
x
6
6
x
3
x
x
x
3
x

Footer

© 2026 Wayland Explorer

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

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