BindingPool
Object Hierarchy:
Description:
Container of key bindings. The BindingPool struct is private.
Namespace: Clutter
Package: clutter-1.0
Content:
Properties:
Static methods:
Creation methods:
-
public BindingPool (string name)
Creates a new BindingPool that can be used to store
key bindings for an actor. The name must be a unique identifier for the binding pool, so that
find will be able to return the correct binding pool.
Methods:
-
public bool activate (uint key_val, ModifierType modifiers, Object gobject)
Activates the callback associated to the action that is bound to the key_val and
modifiers pair.
-
public void block_action (string action_name)
Blocks all the actions with name action_name inside pool.
-
public unowned string find_action (uint key_val, ModifierType modifiers)
Retrieves the name of the action matching the given key symbol and modifiers bitmask.
-
public void install_action (string action_name, uint key_val, ModifierType modifiers, owned BindingActionFunc callback)
Installs a new action inside a BindingPool. The
action is bound to key_val and modifiers.
-
public void install_closure (string action_name, uint key_val, ModifierType modifiers, owned BindingActionFunc closure)
-
public void override_action (uint key_val, ModifierType modifiers, owned Callback callback)
-
public void override_closure (uint key_val, ModifierType modifiers, Closure closure)
-
public void remove_action (uint key_val, ModifierType modifiers)
Removes the action matching the given key_val, modifiers pair, if any exists.
-
public void unblock_action (string action_name)
Unblockes all the actions with name action_name inside pool.