Xkl.Engine.grab_key – libxklavier Reference Manual
Packages
libxklavier
Xkl
Engine
backendName
default_group
display
features
indicators_handling
max_num_groups
num_groups
secondary_groups_mask
INT__LONG_LONG
VOID__ENUM_INT_BOOLEAN
get_instance
Engine
allow_one_switch_to_secondary_group
backup_names_prop
config_notify
delete_state
filter_events
get_backend_name
get_current_state
get_current_window
get_current_window_group
get_default_group
get_features
get_groups_names
get_indicators_handling
get_indicators_names
get_max_num_groups
get_next_group
get_num_groups
get_prev_group
get_secondary_groups_mask
get_state
get_window_title
grab_key
is_group_per_toplevel_window
is_window_from_same_toplevel_window
is_window_transparent
lock_group
new_device_notify
new_window_notify
pause_listen
resume_listen
save_state
set_default_group
set_group_per_toplevel_window
set_indicators_handling
set_secondary_groups_mask
set_window_transparent
start_listen
state_notify
stop_listen
ungrab_key
X_config_changed
X_new_device
X_state_changed
new_toplevel_window
grab_key
Description:
public
bool
grab_key
(
int
keycode,
uint
modifiers)
Grabs some key
Parameters:
this
the engine
keycode
keycode
modifiers
bitmask of modifiers
Returns:
TRUE on success