Skip to main content

accelerator_valid

Function accelerator_valid 

Source
pub fn accelerator_valid(keyval: Key, modifiers: ModifierType) -> bool
Expand description

accelerator. But, you can’t, for instance, use the GDK_KEY_Control_L keyval as an accelerator.

§keyval

a GDK keyval

§modifiers

modifier mask

§Returns

true if the accelerator is valid