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 (
14 AccessibleAction *obj)
16 Accessibility_Action_ref (*obj, spi_ev ());
21 * AccessibleAction_unref:
22 * @obj: a pointer to the #AccessibleAction on which to operate.
24 * Decrement the reference count for an #AccessibleAction.
26 * Returns: 0 (no return code implemented yet).
30 AccessibleAction_unref (AccessibleAction *obj)
32 Accessibility_Action_unref (*obj, spi_ev ());
39 * AccessibleAction_getNActions:
40 * @obj: a pointer to the #AccessibleAction to query.
42 * Get the number of actions invokable on an #AccessibleAction implementor.
44 * Returns: a #long integer indicatin the number of invokable actions.
48 AccessibleAction_getNActions (AccessibleAction *obj)
51 Accessibility_Action__get_nActions (*obj, spi_ev ());
56 * AccessibleAction_getDescription:
57 * @obj: a pointer to the #AccessibleAction implementor to query.
58 * @i: a long integer indicating which action to query.
60 * Get the description of '@i-th' action invokable on an
61 * object implementing #AccessibleAction.
63 * Returns: a UTF-8 string describing the '@i-th' invokable action.
67 AccessibleAction_getDescription (AccessibleAction *obj,
71 Accessibility_Action_getDescription (*obj,
77 * AccessibleAction_getKeyBinding:
78 * @obj: a pointer to the #AccessibleAction implementor to query.
79 * @i: a long integer indicating which action to query.
81 * Get the keybindings for the @i-th action invokable on an
82 * object implementing #AccessibleAction, if any are defined.
84 * Returns: a UTF-8 string which can be parsed to determine the @i-th
85 * invokable action's keybindings.
89 AccessibleAction_getKeyBinding (AccessibleAction *obj,
93 Accessibility_Action_getKeyBinding (*obj,
101 * AccessibleAction_getName:
102 * @obj: a pointer to the #AccessibleAction implementor to query.
103 * @i: a long integer indicating which action to query.
105 * Get the name of the '@i-th' action invokable on an
106 * object implementing #AccessibleAction.
108 * Returns: the 'event type' name of the action, as a UTF-8 string.
112 AccessibleAction_getName (AccessibleAction *obj,
116 Accessibility_Action_getName (*obj,
123 * AccessibleAction_doAction:
124 * @obj: a pointer to the #AccessibleAction to query.
125 * @i: an integer specifying which action to invoke.
127 * Invoke the action indicated by #index.
129 * Returns: #TRUE if the action is successfully invoked, otherwise #FALSE.
133 AccessibleAction_doAction (AccessibleAction *obj,
137 Accessibility_Action_doAction (*obj,