activate


Description:

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.

The callback has the following signature:

  void (* callback) (GObject             *gobject,
const gchar *action_name,
guint key_val,
ClutterModifierType modifiers,
gpointer user_data);

Where the Object instance is gobject and the user data is the one passed when installing the action with install_action.

If the action bound to the key_val, modifiers pair has been blocked using block_action, the callback will not be invoked, and this function will return false.

Parameters:

this

a BindingPool

key_val

the key symbol

modifiers

bitmask for the modifiers

gobject

a Object

Returns:

true if an action was found and was activated