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
46
KWin
KWin
6.2
Sway
Sway
1.9
COSMIC
COSMIC
1.0.0
Hyprland
Hyprland
0.42.0
niri
0.1.8
Weston
Weston
13
Mir
Mir
2.18
GameScope
GameScope
3.15.14
Jay
1.7.0
gtk_shell1
5
x
x
x
x
x
x
x
x
x