override_action


Description:

public void override_action (uint key_val, ModifierType modifiers, owned BindingActionFunc callback)

Allows overriding the action for key_val and modifiers inside a BindingPool.

See install_action.

When an action has been activated using activate the passed callback will be invoked (with data).

Actions can be blocked with block_action and then unblocked using unblock_action.

Parameters:

this

a BindingPool

key_val

key symbol

modifiers

bitmask of modifiers

callback

function to be called when the action is activated

data

data to be passed to callback

notify

function to be called when the action is removed from the pool