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);
20 * AccessibleAction_unref:
21 * @obj: a pointer to the #AccessibleAction on which to operate.
23 * Decrement the reference count for an #AccessibleAction.
25 * Returns: 0 (no return code implemented yet).
29 AccessibleAction_unref (AccessibleAction *obj)
31 cspi_object_unref (obj);
38 * AccessibleAction_getNActions:
39 * @obj: a pointer to the #AccessibleAction to query.
41 * Get the number of actions invokable on an #AccessibleAction implementor.
43 * Returns: a #long integer indicatin the number of invokable actions.
47 AccessibleAction_getNActions (AccessibleAction *obj)
50 Accessibility_Action__get_nActions (CSPI_OBJREF (obj), cspi_ev ());
55 * AccessibleAction_getDescription:
56 * @obj: a pointer to the #AccessibleAction implementor to query.
57 * @i: a long integer indicating which action to query.
59 * Get the description of '@i-th' action invokable on an
60 * object implementing #AccessibleAction.
62 * Returns: a UTF-8 string describing the '@i-th' invokable action.
66 AccessibleAction_getDescription (AccessibleAction *obj,
70 Accessibility_Action_getDescription (CSPI_OBJREF (obj),
76 * AccessibleAction_getKeyBinding:
77 * @obj: a pointer to the #AccessibleAction implementor to query.
78 * @i: a long integer indicating which action to query.
80 * Get the keybindings for the @i-th action invokable on an
81 * object implementing #AccessibleAction, if any are defined.
83 * Returns: a UTF-8 string which can be parsed to determine the @i-th
84 * invokable action's keybindings.
88 AccessibleAction_getKeyBinding (AccessibleAction *obj,
92 Accessibility_Action_getKeyBinding (CSPI_OBJREF (obj),
100 * AccessibleAction_getName:
101 * @obj: a pointer to the #AccessibleAction implementor to query.
102 * @i: a long integer indicating which action to query.
104 * Get the name of the '@i-th' action invokable on an
105 * object implementing #AccessibleAction.
107 * Returns: the 'event type' name of the action, as a UTF-8 string.
111 AccessibleAction_getName (AccessibleAction *obj,
115 Accessibility_Action_getName (CSPI_OBJREF (obj),
122 * AccessibleAction_doAction:
123 * @obj: a pointer to the #AccessibleAction to query.
124 * @i: an integer specifying which action to invoke.
126 * Invoke the action indicated by #index.
128 * Returns: #TRUE if the action is successfully invoked, otherwise #FALSE.
132 AccessibleAction_doAction (AccessibleAction *obj,
136 Accessibility_Action_doAction (CSPI_OBJREF (obj),