GTK Shell
- external
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_surface | new_id<gtk_surface1> | |
surface | object<wl_surface> |
set_startup_id(startup_id: string)
Argument | Type | Description |
---|---|---|
startup_id | stringallow null |
system_bell(surface: object<gtk_surface1>)
Argument | Type | Description |
---|---|---|
surface | object<gtk_surface1>allow null |
gtk_shell1::notify_launch
since 3
notify_launch(startup_id: string)
Argument | Type | Description |
---|---|---|
startup_id | string |
capability { global_app_menu, global_menu_bar, desktop_icons }
Argument | Value | Description |
---|---|---|
global_app_menu | 1 | |
global_menu_bar | 2 | |
desktop_icons | 3 |
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_id | stringallow null | |
app_menu_path | stringallow null | |
menubar_path | stringallow null | |
window_object_path | stringallow null | |
application_object_path | stringallow null | |
unique_bus_name | stringallow null |
set_modal()
unset_modal()
gtk_surface1::request_focus
since 3
request_focus(startup_id: string)
Argument | Type | Description |
---|---|---|
startup_id | stringallow null |
gtk_surface1::release
Type: destructorsince 4
release()
titlebar_gesture(serial: uint, seat: object<wl_seat>, gesture: uint<gtk_surface1.gesture>)
Argument | Type | Description |
---|---|---|
serial | uint | |
seat | object<wl_seat> | |
gesture | uint<gtk_surface1.gesture> |
configure_edges(constraints: array)
Argument | Type | Description |
---|---|---|
constraints | array |
state { tiled, tiled_top, tiled_right, tiled_bottom, tiled_left }
Argument | Value | Description |
---|---|---|
tiled | 1 | |
tiled_topsince 2 | 2 | |
tiled_rightsince 2 | 3 | |
tiled_bottomsince 2 | 4 | |
tiled_leftsince 2 | 5 |
edge_constraint { resizable_top, resizable_right, resizable_bottom, resizable_left }
Argument | Value | Description |
---|---|---|
resizable_top | 1 | |
resizable_right | 2 | |
resizable_bottom | 3 | |
resizable_left | 4 |
gtk_surface1::gesture
since 5
gesture { double_click, right_click, middle_click }
Argument | Value | Description |
---|---|---|
double_click | 1 | |
right_click | 2 | |
middle_click | 3 |
Compositor Support
Mutter 46 | KWin 6.2 | Sway 1.9 | COSMIC 1.0.0 | Hyprland 0.42.0 | niri 0.1.8 | Weston 13 | Mir 2.18 | GameScope 3.15.14 | Jay 1.7.0 | |
---|---|---|---|---|---|---|---|---|---|---|
gtk_shell1 | 5 | x | x | x | x | x | x | x | x | x |