Function gtk_layer_shell::functions::set_keyboard_mode
source · pub fn set_keyboard_mode(window: &impl IsA<Window>, mode: KeyboardMode)
Available on crate feature
v0_6
only.Expand description
Sets if/when window
should receive keyboard events from the compositor, see
GtkLayerShellKeyboardMode for details.
Default is KeyboardMode::None
window
A layer surface.
mode
The type of keyboard interactivity requested.