GTK Shell

gtk-shell

gtk_shell1

version 5
Gtk specific extensions

gtk_shell is a protocol extension providing additional features for clients implementing it.

get_gtk_surface(gtk_surface: new_id<gtk_surface1>, surface: object<wl_surface>)
Argument
Type
Description
gtk_surfacenew_id<gtk_surface1>
surfaceobject<wl_surface>
set_startup_id(startup_id: string)
Argument
Type
Description
startup_idstringallow null
system_bell(surface: object<gtk_surface1>)
Argument
Type
Description
surfaceobject<gtk_surface1>allow null
notify_launch(startup_id: string)
Argument
Type
Description
startup_idstring
capabilities(capabilities: uint)
Argument
Type
Description
capabilitiesuint

gtk_surface1

version 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)
Argument
Type
Description
application_idstringallow null
app_menu_pathstringallow null
menubar_pathstringallow null
window_object_pathstringallow null
application_object_pathstringallow null
unique_bus_namestringallow null
present(time: uint)
Argument
Type
Description
timeuint
request_focus(startup_id: string)
Argument
Type
Description
startup_idstringallow null
release
Type: destructorsince 4
release()
titlebar_gesture(serial: uint, seat: object<wl_seat>, gesture: uint<gtk_surface1.gesture>)
Argument
Type
Description
serialuint
seatobject<wl_seat>
gestureuint<gtk_surface1.gesture>
configure(states: array)
Argument
Type
Description
statesarray
configure_edges(constraints: array)
Argument
Type
Description
constraintsarray
Argument
Value
Description
tiled1
tiled_topsince 22
tiled_rightsince 23
tiled_bottomsince 24
tiled_leftsince 25
error { invalid_gesture } 
Argument
Value
Description
invalid_gesture0

Compositor Support

Mutter
Mutter
45.4
KWin
KWin
6.0.1
Sway
Sway
1.9
Hyprland
Hyprland
0.35
Weston
Weston
13
Mir
Mir
...
GameScope
GameScope
...
gtk_shell1
5
x
x
x
x
x
x