zwp_keyboard_shortcuts_inhibit_manager_v1¤
wayland.zwp_keyboard_shortcuts_inhibit_manager_v1 ¤
Context object for keyboard grab_manager
A global interface used for inhibiting the compositor keyboard shortcuts.
Methods:
-
destroy
–Destroy the keyboard shortcuts inhibitor object
-
inhibit_shortcuts
–Create a new keyboard shortcuts inhibitor object
error ¤
-
already_inhibited
–The shortcuts are already inhibited for this surface
destroy ¤
destroy() -> None
Destroy the keyboard shortcuts inhibitor object
Destroy the keyboard shortcuts inhibitor manager.
inhibit_shortcuts ¤
inhibit_shortcuts(
surface: wl_surface, seat: wl_seat
) -> zwp_keyboard_shortcuts_inhibitor_v1
Create a new keyboard shortcuts inhibitor object
Create a new keyboard shortcuts inhibitor object associated with the given surface for the given seat.
If shortcuts are already inhibited for the specified seat and surface, a protocol error "already_inhibited" is raised by the compositor.
Parameters:
-
surface
¤wl_surface
) –The surface that inhibits the keyboard shortcuts behavior
-
seat
¤wl_seat
) –The
wl_seat
for which keyboard shortcuts should be disabled
Returns:
-
zwp_keyboard_shortcuts_inhibitor_v1
(zwp_keyboard_shortcuts_inhibitor_v1
) –The created object