BindingPool
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_binding_pool_get_type ()" ) ]
[
Version ( since =
"1.0" ) ]
public sealed class BindingPool :
Object
Container of key bindings.
The BindingPool struct is private.
Content:
Properties:
Static methods:
Creation methods:
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
this.
- 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.
- public void install_closure (string action_name, uint key_val, ModifierType modifiers, Closure closure)
- public void override_action (uint key_val, ModifierType modifiers, owned BindingActionFunc callback)
Allows overriding the action for key_val
and modifiers
inside a BindingPool.
- 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
this.
Inherited Members:
All known members inherited from class GLib.Object