GObject.Object
Clutter.BindingPool
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBindingPool |
Class : | BindingPool |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
name : String
The unique name of the ClutterBindingPool.
The unique name of the ClutterBindingPool.
|
Clutter.BindingPool |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.BindingPool
(Object properties)
Create a new Clutter.BindingPool
Create a new Clutter.BindingPool
|
||
Create a new Clutter.BindingPool
Create a new Clutter.BindingPool
|
||
Finds the ClutterBindingPool with name.
Finds the ClutterBindingPool with name.
|
Clutter.BindingPool | |
Retrieves the ClutterBindingPool for the given GObject class and, eventually, creates it.
Retrieves the ClutterBindingPool for the given GObject class and, eventually, creates it. This function is a wrapper around clutter_binding_pool_new() and uses the class type name as the unique name for the binding pool. Calling this function multiple times will return the same ClutterBindingPool. A binding pool for a class can also be retrieved using clutter_binding_pool_find() with the class type name: |[ pool = clutter_binding_pool_find (G_OBJECT_TYPE_NAME (instance)); ]|
|
Clutter.BindingPool | |
Activates the callback associated to the action that is bound to the key_val and modifiers pair.
Activates the callback associated to the action that is bound to the key_val and modifiers pair. The callback has the following signature: |[ void (* callback) (GObject *gobject, const gchar *action_name, guint key_val, ClutterModifierType modifiers, gpointer user_data); ]| Where the GObject instance is gobject and the user data is the one passed when installing the action with clutter_binding_pool_install_action(). If the action bound to the key_val, modifiers pair has been blocked using clutter_binding_pool_block_action(), the callback will not be invoked, and this function will return FALSE.
|
Clutter.BindingPool | |
block_action
(String action_name)
:
none
Blocks all the actions with name action_name inside pool.
Blocks all the actions with name action_name inside pool.
|
Clutter.BindingPool | |
Retrieves the name of the action matching the given key symbol and modifiers bitmask.
Retrieves the name of the action matching the given key symbol and modifiers bitmask.
|
Clutter.BindingPool | |
install_action
(String action_name, Number key_val, ModifierType modifiers, Function callback, void* data, Function notify)
:
none
Installs a new action inside a ClutterBindingPool.
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 callback will be invoked (with data). Actions can be blocked with clutter_binding_pool_block_action() and then unblocked using clutter_binding_pool_unblock_action().
|
Clutter.BindingPool | |
install_closure
(String action_name, Number key_val, ModifierType modifiers, Closure closure)
:
none
A GClosure variant of clutter_binding_pool_install_action().
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().
|
Clutter.BindingPool | |
override_action
(Number key_val, ModifierType modifiers, Function callback, void* data, Function notify)
:
none
Allows overriding the action for key_val and modifiers inside a ClutterBindingPool.
Allows overriding the action for key_val and modifiers inside a ClutterBindingPool. See clutter_binding_pool_install_action(). When an action has been activated using clutter_binding_pool_activate() the passed callback will be invoked (with data). Actions can be blocked with clutter_binding_pool_block_action() and then unblocked using clutter_binding_pool_unblock_action().
|
Clutter.BindingPool | |
A GClosure variant of clutter_binding_pool_override_action().
A GClosure variant of clutter_binding_pool_override_action(). Allows overriding the action for key_val and modifiers inside a ClutterBindingPool. See clutter_binding_pool_install_closure(). When an action has been activated using clutter_binding_pool_activate() the passed callback will be invoked (with data). Actions can be blocked with clutter_binding_pool_block_action() and then unblocked using clutter_binding_pool_unblock_action().
|
Clutter.BindingPool | |
remove_action
(Number key_val, ModifierType modifiers)
:
none
Removes the action matching the given key_val, modifiers pair, if any exists.
Removes the action matching the given key_val, modifiers pair, if any exists.
|
Clutter.BindingPool | |
unblock_action
(String action_name)
:
none
Unblockes all the actions with name action_name inside pool.
Unblockes all the actions with name action_name inside pool. Unblocking an action does not cause the callback bound to it to be invoked in case clutter_binding_pool_activate() was called on an action previously blocked with clutter_binding_pool_block_action().
|
Clutter.BindingPool |
None |