GTK Shell
- external
gtk_shell1
版本 5
GTK 特定的扩展
gtk_shell 是一个协议扩展,为实现它的客户端提供额外功能。
get_gtk_surface(gtk_surface: new_id<gtk_surface1>, surface: object<wl_surface>)
参数 | 类型 | 描述 |
|---|---|---|
| gtk_surface | new_id<gtk_surface1> | |
| surface | object<wl_surface> |
system_bell(surface: object<gtk_surface1>)
参数 | 类型 | 描述 |
|---|---|---|
| surface | object<gtk_surface1>允许为空 |
capability { global_app_menu, global_menu_bar, desktop_icons }
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_id | string允许为空 | |
| app_menu_path | string允许为空 | |
| menubar_path | string允许为空 | |
| window_object_path | string允许为空 | |
| application_object_path | string允许为空 | |
| unique_bus_name | string允许为空 |
set_modal()
unset_modal()
gtk_surface1::release
类型: destructor起始版本 4
release()
titlebar_gesture(serial: uint, seat: object<wl_seat>, gesture: uint<gtk_surface1.gesture>)
参数 | 类型 | 描述 |
|---|---|---|
| serial | uint | |
| seat | object<wl_seat> | |
| gesture | uint<gtk_surface1.gesture> |
state { tiled, tiled_top, tiled_right, tiled_bottom, tiled_left }
参数 | 值 | 描述 |
|---|---|---|
| tiled | 1 | |
| tiled_top起始版本 2 | 2 | |
| tiled_right起始版本 2 | 3 | |
| tiled_bottom起始版本 2 | 4 | |
| tiled_left起始版本 2 | 5 |
edge_constraint { resizable_top, resizable_right, resizable_bottom, resizable_left }
gtk_surface1::gesture
起始版本 5
gesture { double_click, right_click, middle_click }
合成器支持
Cage | COSMIC | GameScope | Hyprland | Jay | KWin | Labwc | Louvre | Mir | Muffin | Mutter | niri | phoc | river | Sway | Treeland | Wayfire | Weston | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gtk_shell1 | x | x | x | x | x | x | x | x | x | 6 | 6 | x | 3 | x | x | x | 3 | x |