Method
ClutterBindingPoolinstall_closure
Declaration [src]
void
clutter_binding_pool_install_closure (
ClutterBindingPool* pool,
const gchar* action_name,
guint key_val,
ClutterModifierType modifiers,
GClosure* closure
)
Description [src]
A GClosure variant of clutter_binding_pool_install_action().
Installs a new action inside a ClutterBindingPool. The action
is bound to key_val and modifiers.
The same action name can be used for multiple key_val, modifiers
pairs.
When an action has been activated using clutter_binding_pool_activate()
the passed closure will be invoked.
Actions can be blocked with clutter_binding_pool_block_action()
and then unblocked using clutter_binding_pool_unblock_action().
| Available since: | 1.0 |
Parameters
action_name |
const gchar* |
The name of the action. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
key_val |
guint |
Key symbol. |
|
modifiers |
ClutterModifierType |
Bitmask of modifiers. |
|
closure |
GClosure |
A |
|
| The data is owned by the caller of the function. |