| AT-SPI C Bindings Reference Manual | ||||
|---|---|---|---|---|
AccessibleAction InterfaceAccessibleAction Interface — The interface implemented by interface elements which are 'actionable' by the user. |
void AccessibleAction_ref (AccessibleAction *obj);void AccessibleAction_unref (AccessibleAction *obj);long AccessibleAction_getNActions (AccessibleAction *obj);SPIBoolean AccessibleAction_doAction (AccessibleAction *obj, longint i);char * AccessibleAction_getKeyBinding (AccessibleAction *obj, longint i);char * AccessibleAction_getName (AccessibleAction *obj, longint i);char * AccessibleAction_getDescription (AccessibleAction *obj, longint i);
The Action interface is implemented by objects with which the user may interact using common graphical-user-interface metaphors such as "click", "toggle", "activate", and other gestures which are usually invoked via interaction with the system pointer or keyboard. The Action interface allows clients and/or assistive technologies to expose these actions to the end user for invocation via alternative mechanisms, and to inform the end user or assistive technology client that the implementing Accessible object is reactive to user input.
void AccessibleAction_ref (AccessibleAction *obj);
Increment the reference count for an
obj : |
a pointer to the |
void AccessibleAction_unref (AccessibleAction *obj);
Decrement the reference count for an
obj : |
a pointer to the |
long AccessibleAction_getNActions (AccessibleAction *obj);
Get the number of actions invokable on an
obj : |
a pointer to the |
| Returns : | a |
SPIBoolean AccessibleAction_doAction (AccessibleAction *obj, longint i);
Invoke the action indicated by
obj : |
a pointer to the |
i : |
an integer specifying which action to invoke. |
| Returns : | |
char * AccessibleAction_getKeyBinding (AccessibleAction *obj, longint i);
Get the keybindings for the i-th action invokable on an
object implementing gtk_accelerator_name()
obj : |
a pointer to the |
i : |
a long integer indicating which action to query. |
| Returns : | a UTF-8 string which can be parsed to determine the i-th
invokable action's keybindings.
|
char * AccessibleAction_getName (AccessibleAction *obj, longint i);
Get the name of the 'i-th' action invokable on an
object implementing
obj : |
a pointer to the |
i : |
a long integer indicating which action to query. |
| Returns : | the 'event type' name of the action, as a UTF-8 string. |
char * AccessibleAction_getDescription (AccessibleAction *obj, longint i);
Get the description of 'i-th' action invokable on an
object implementing
obj : |
a pointer to the |
i : |
a long integer indicating which action to query. |
| Returns : | a UTF-8 string describing the 'i-th' invokable action.
|