BindingPool
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_binding_pool_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class BindingPool : Object
Container of key bindings.
The BindingPool struct is private.
Content:
Properties:
Static methods:
- public static unowned BindingPool find (string name)
Finds the BindingPool with name
.
- public static unowned BindingPool get_for_class (void* klass)
Retrieves the BindingPool for the given
Object class and, eventually, creates it.
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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref