Function

ClutterBindingActionFunc

Declaration

gboolean
(* ClutterBindingActionFunc) (
  GObject* gobject,
  const gchar* action_name,
  guint key_val,
  ClutterModifierType modifiers,
  gpointer user_data
)

Description [src]

The prototype for the callback function registered with clutter_binding_pool_install_action() and invoked by clutter_binding_pool_activate().

Available since:1.0

Parameters

gobject GObject
 

A GObject.

 The data is owned by the caller of the function.
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
 

The key symbol.

modifiers ClutterModifierType
 

Bitmask of the modifier flags.

user_data gpointer
 

Data passed to the function.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

The function should return TRUE if the key binding has been handled, and return FALSE otherwise.