1 #include <cspi/spi-private.h>
4 * AccessibleAction_ref:
5 * @obj: a pointer to the #AccessibleAction on which to operate.
7 * Increment the reference count for an #AccessibleAction.
9 * Returns: 0 (no return code implemented yet).
13 AccessibleAction_ref (AccessibleAction *obj)
15 cspi_object_ref (obj);
19 * AccessibleAction_unref:
20 * @obj: a pointer to the #AccessibleAction on which to operate.
22 * Decrement the reference count for an #AccessibleAction.
24 * Returns: 0 (no return code implemented yet).
28 AccessibleAction_unref (AccessibleAction *obj)
30 cspi_object_unref (obj);
34 * AccessibleAction_getNActions:
35 * @obj: a pointer to the #AccessibleAction to query.
37 * Get the number of actions invokable on an #AccessibleAction implementor.
39 * Returns: a #long integer indicatin the number of invokable actions.
43 AccessibleAction_getNActions (AccessibleAction *obj)
46 Accessibility_Action__get_nActions (CSPI_OBJREF (obj), cspi_ev ());
51 * AccessibleAction_getDescription:
52 * @obj: a pointer to the #AccessibleAction implementor to query.
53 * @i: a long integer indicating which action to query.
55 * Get the description of '@i-th' action invokable on an
56 * object implementing #AccessibleAction.
58 * Returns: a UTF-8 string describing the '@i-th' invokable action.
62 AccessibleAction_getDescription (AccessibleAction *obj,
66 Accessibility_Action_getDescription (CSPI_OBJREF (obj),
72 * AccessibleAction_getKeyBinding:
73 * @obj: a pointer to the #AccessibleAction implementor to query.
74 * @i: a long integer indicating which action to query.
76 * Get the keybindings for the @i-th action invokable on an
77 * object implementing #AccessibleAction, if any are defined.
79 * Returns: a UTF-8 string which can be parsed to determine the @i-th
80 * invokable action's keybindings.
84 AccessibleAction_getKeyBinding (AccessibleAction *obj,
88 Accessibility_Action_getKeyBinding (CSPI_OBJREF (obj),
96 * AccessibleAction_getName:
97 * @obj: a pointer to the #AccessibleAction implementor to query.
98 * @i: a long integer indicating which action to query.
100 * Get the name of the '@i-th' action invokable on an
101 * object implementing #AccessibleAction.
103 * Returns: the 'event type' name of the action, as a UTF-8 string.
107 AccessibleAction_getName (AccessibleAction *obj,
111 Accessibility_Action_getName (CSPI_OBJREF (obj),
118 * AccessibleAction_doAction:
119 * @obj: a pointer to the #AccessibleAction to query.
120 * @i: an integer specifying which action to invoke.
122 * Invoke the action indicated by #index.
124 * Returns: #TRUE if the action is successfully invoked, otherwise #FALSE.
128 AccessibleAction_doAction (AccessibleAction *obj,
132 Accessibility_Action_doAction (CSPI_OBJREF (obj),