Method

CallyActoradd_action_full

Declaration [src]

guint
cally_actor_add_action_full (
  CallyActor* cally_actor,
  const gchar* action_name,
  const gchar* action_description,
  const gchar* action_keybinding,
  CallyActionCallback callback,
  gpointer user_data,
  GDestroyNotify notify
)

Description [src]

Adds a new action to be accessed with the AtkAction interface.

Available since:1.6

Parameters

action_name const gchar*
 

The action name.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
action_description const gchar*
 

The action description.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
action_keybinding const gchar*
 

The action keybinding.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
callback CallyActionCallback
 

The callback of the action.

user_data gpointer
 

Data to be passed to callback.

notify GDestroyNotify
 

Function to be called when removing the action.

Return value

Returns: guint
 

Added action id, or -1 if failure.