Method
ClutterBindingPoolactivate
Declaration [src]
gboolean
clutter_binding_pool_activate (
ClutterBindingPool* pool,
guint key_val,
ClutterModifierType modifiers,
GObject* gobject
)
Description [src]
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
.
Available since: | 1.0 |
Parameters
key_val |
guint |
The key symbol. |
|
modifiers |
ClutterModifierType |
Bitmask for the modifiers. |
|
gobject |
GObject |
A |
|
The data is owned by the caller of the function. |