Skip to main content

bindings_activate

Function bindings_activate 

Source
pub fn bindings_activate(
    object: &impl IsA<Object>,
    keyval: u32,
    modifiers: ModifierType,
) -> bool
Expand description

Find a key binding matching keyval and modifiers and activate the binding on object.

§object

object to activate when binding found

§keyval

key value of the binding

§modifiers

key modifier of the binding

§Returns

true if a binding was found and activated