5 /* Implementation private definitions */
9 * Definitions for ACCESSIBLE_STATE , ACCESSIBLE_ROLE, AccessibleEvent,
10 * and event listeners.
13 #include "spi-roletypes.h"
14 #include "spi-statetypes.h"
15 #include "spi-listener.h"
19 * Enumerated type for text boundary types
26 TEXT_BOUNDARY_CURSOR_POS,
27 TEXT_BOUNDARY_WORD_START,
28 TEXT_BOUNDARY_WORD_END,
29 TEXT_BOUNDARY_SENTENCE_START,
30 TEXT_BOUNDARY_SENTENCE_END,
31 TEXT_BOUNDARY_LINE_START,
32 TEXT_BOUNDARY_LINE_END,
33 TEXT_BOUNDARY_ATTRIBUTE_RANGE
40 * Enumerated type for relation types
48 RELATION_CONTROLLER_FOR,
49 RELATION_CONTROLLED_BY,
54 /* don't change the order of these ! */
55 typedef enum _AccessibleCoordType {
58 } AccessibleCoordType;
60 typedef enum _KeyEventType {
65 typedef struct _KeyStroke
69 unsigned short modifiers;
75 * Basic SPI initialization and event loop function prototypes
82 * Connects to the accessibility registry and initializes the SPI.
84 * Returns: 0 on success, otherwise an integer error code.
91 * @isGNOMEApp: a #boolean indicating whether the client of the SPI
92 * will use the Gnome event loop or not.
94 * Starts/enters the main event loop for the SPI services.
96 * (NOTE: This method does not return control, it is exited via a call to exit()
97 * from within an event handler).
101 SPI_event_main (boolean isGNOMEApp);
104 * SPI_event_is_ready:
106 * Checks to see if an SPI event is waiting in the event queue.
107 * Used by clients that don't wish to use SPI_event_main().
108 * Not Yet Implemented.
110 * Returns: #TRUE if an event is waiting, otherwise #FALSE.
119 * Gets the next event in the SPI event queue; blocks if no event
121 * Used by clients that don't wish to use SPI_event_main().
122 * Not Yet Implemented.
124 * Returns: the next #AccessibleEvent in the SPI event queue.
128 SPI_nextEvent (boolean waitForEvent);
133 * Disconnects from the Accessibility Registry and releases resources.
134 * Not Yet Implemented.
141 * Event Listener creation and support.
145 * createEventListener:
146 * @callback : an #AccessibleEventListenerCB callback function, or NULL.
148 * Create a new #AccessibleEventListener with a specified callback function.
150 * Returns: a pointer to a newly-created #AccessibleEventListener.
153 AccessibleEventListener *
154 createEventListener (AccessibleEventListenerCB callback);
157 * EventListener_addCallback:
158 * @listener: the #AccessibleEventListener instance to modify.
159 * @callback: an #AccessibleEventListenerCB function pointer.
161 * Add an in-process callback function to an existing AccessibleEventListener.
163 * Returns: #TRUE if successful, otherwise #FALSE.
167 EventListener_addCallback (AccessibleEventListener *listener,
168 AccessibleEventListenerCB callback);
171 * EventListener_removeCallback:
172 * @listener: the #AccessibleEventListener instance to modify.
173 * @callback: an #AccessibleEventListenerCB function pointer.
175 * Remove an in-process callback function from an existing AccessibleEventListener.
177 * Returns: #TRUE if successful, otherwise #FALSE.
181 EventListener_removeCallback (AccessibleEventListener *listener,
182 AccessibleEventListenerCB callback);
186 * @callback : an #KeystrokeListenerCB callback function, or NULL.
188 * Create a new #KeystrokeListener with a specified callback function.
190 * Returns: a pointer to a newly-created #KeystrokeListener.
194 createKeystrokeListener (KeystrokeListenerCB callback);
197 * KeystrokeListener_addCallback:
198 * @listener: the #KeystrokeListener instance to modify.
199 * @callback: an #KeystrokeListenerCB function pointer.
201 * Add an in-process callback function to an existing #KeystrokeListener.
203 * Returns: #TRUE if successful, otherwise #FALSE.
207 KeystrokeListener_addCallback (KeystrokeListener *listener,
208 KeystrokeListenerCB callback);
211 * KeystrokeListener_removeCallback:
212 * @listener: the #KeystrokeListener instance to modify.
213 * @callback: an #KeystrokeListenerCB function pointer.
215 * Remove an in-process callback function from an existing #KeystrokeListener.
217 * Returns: #TRUE if successful, otherwise #FALSE.
221 KeystrokeListener_removeCallback (KeystrokeListener *listener,
222 KeystrokeListenerCB callback);
226 * Global functions serviced by the registry
231 * registerGlobalEventListener:
232 * @listener: the #AccessibleEventListener to be registered against an event type.
233 * @callback: a character string indicating the type of events for which
234 * notification is requested. Format is
235 * EventClass:major_type:minor_type:detail
236 * where all subfields other than EventClass are optional.
237 * EventClasses include "Focus", "Window", "Mouse",
238 * and toolkit events (e.g. "Gtk", "AWT").
239 * Examples: "focus:", "Gtk:GtkWidget:button_press_event".
241 * NOTE: this string may be UTF-8, but should not contain byte value 56 (ascii ':'),
242 * except as a delimiter, since non-UTF-8 string delimiting
243 * functions are used internally. In general, listening to
244 * toolkit-specific events is not recommended.
246 * Add an in-process callback function to an existing AccessibleEventListener.
248 * Returns: #TRUE if successful, otherwise #FALSE.
252 registerGlobalEventListener (AccessibleEventListener *listener,
258 * Get the number of virtual desktops.
259 * NOTE: currently multiple virtual desktops are not implemented, this
260 * function always returns '1'.
262 * Returns: an integer indicating the number of active virtual desktops.
270 * @i: an integer indicating which of the accessible desktops is to be returned.
272 * Get the virtual desktop indicated by index @i.
273 * NOTE: currently multiple virtual desktops are not implemented, this
274 * function always returns '1'.
276 * Returns: a pointer to the 'i-th' virtual desktop's #Accessible representation.
284 * @list: a pointer to an array of #Accessible objects.
286 * Get the list of virtual desktops. On return, @list will point
287 * to a newly-created array of virtual desktop pointers.
288 * It is the responsibility of the caller to free this array when
289 * it is no longer needed.
291 * Not Yet Implemented.
293 * Returns: an integer indicating how many virtual desktops have been
294 * placed in the list pointed to by parameter @list.
297 getDesktopList (Accessible **list);
300 * registerKeystrokeListener:
301 * @listener: a pointer to the #KeystrokeListener for which
302 * keystroke events are requested.
304 * Not Yet Implemented.
308 registerKeystrokeListener (KeystrokeListener *listener, KeyMaskType keymask);
312 * @keycode: a #long indicating the keycode of the key event
314 * @meta: a #long indicating the key modifiers to be sent
315 * with the event, if any.
317 * Synthesize a keyboard event (as if a hardware keyboard event occurred in the
318 * current UI context).
319 * Not Yet Implemented.
323 generateKeyEvent (long keyCode, long meta);
326 * generateMouseEvent:
327 * @x: a #long indicating the screen x coordinate of the mouse event.
328 * @y: a #long indicating the screen y coordinate of the mouse event.
329 * @name: a string indicating which mouse event to be synthesized
330 * (e.g. "button1", "button2", "mousemove").
332 * Synthesize a mouse event at a specific screen coordinate.
333 * Not Yet Implemented.
337 generateMouseEvent (long x, long y, char *name);
341 * Accessible function prototypes
347 * @obj: a pointer to the #Accessible object on which to operate.
349 * Increment the reference count for an #Accessible object.
351 * Returns: (no return code implemented yet).
355 Accessible_ref (Accessible *obj);
359 * @obj: a pointer to the #Accessible object on which to operate.
361 * Decrement the reference count for an #Accessible object.
363 * Returns: (no return code implemented yet).
367 Accessible_unref (Accessible *obj);
370 * Accessible_getName:
371 * @obj: a pointer to the #Accessible object on which to operate.
373 * Get the name of an #Accessible object.
375 * Returns: a UTF-8 string indicating the name of the #Accessible object.
379 Accessible_getName (Accessible *obj);
382 * Accessible_getDescription:
383 * @obj: a pointer to the #Accessible object on which to operate.
385 * Get the description of an #Accessible object.
387 * Returns: a UTF-8 string describing the #Accessible object.
391 Accessible_getDescription (Accessible *obj);
394 * Accessible_getParent:
395 * @obj: a pointer to the #Accessible object to query.
397 * Get an #Accessible object's parent container.
399 * Returns: a pointer to the #Accessible object which contains the given
400 * #Accessible instance, or NULL if the @obj has no parent container.
404 Accessible_getParent (Accessible *obj);
407 * Accessible_getChildCount:
409 * @obj: a pointer to the #Accessible object on which to operate.
411 * Get the number of children contained by an #Accessible object.
413 * Returns: a #long indicating the number of #Accessible children
414 * contained by an #Accessible object.
418 Accessible_getChildCount (Accessible *obj);
421 * Accessible_getChildAtIndex:
423 * @obj: a pointer to the #Accessible object on which to operate.
424 * @childIndex: a #long indicating which child is specified.
426 * Get the #Accessible child of an #Accessible object at a given index.
428 * Returns: a pointer to the #Accessible child object at index
433 Accessible_getChildAtIndex (Accessible *obj,
437 * Accessible_getIndexInParent:
439 * @obj: a pointer to the #Accessible object on which to operate.
441 * Get the index of an #Accessible object in its containing #Accessible.
443 * Returns: a #long indicating the index of the #Accessible object
444 * in its parent (i.e. containing) #Accessible instance,
445 * or -1 if @obj has no containing parent.
449 Accessible_getIndexInParent (Accessible *obj);
452 * Accessible_getRelationSet:
454 * Not Yet Implemented.
457 AccessibleRelation **
458 Accessible_getRelationSet (Accessible *obj);
461 * Accessible_getRole:
462 * @obj: a pointer to the #Accessible object on which to operate.
464 * Get the UI role of an #Accessible object.
466 * Returns: a UTF-8 string indicating the UI role of the #Accessible object.
470 Accessible_getRole (Accessible *obj);
473 * Accessible_getStateSet:
475 * Not Yet Implemented.
479 Accessible_getStateSet (Accessible *obj);
481 /* Interface query methods */
484 * Accessible_isAction:
485 * @obj: a pointer to the #Accessible instance to query.
487 * Query whether the specified #Accessible implements #AccessibleAction.
488 * Not Yet Implemented.
490 * Returns: #TRUE if @obj implements the #AccessibleAction interface,
494 Accessible_isAction (Accessible *obj);
497 * Accessible_isComponent:
498 * @obj: a pointer to the #Accessible instance to query.
500 * Query whether the specified #Accessible implements #AccessibleComponent.
502 * Returns: #TRUE if @obj implements the #AccessibleComponent interface,
506 Accessible_isComponent (Accessible *obj);
509 * Accessible_isEditableText:
510 * @obj: a pointer to the #Accessible instance to query.
512 * Query whether the specified #Accessible implements #AccessibleEditableText.
513 * Not Yet Implemented.
515 * Returns: #TRUE if @obj implements the #AccessibleEditableText interface,
519 Accessible_isEditableText (Accessible *obj);
522 * Accessible_isHypertext:
523 * @obj: a pointer to the #Accessible instance to query.
525 * Query whether the specified #Accessible implements #AccessibleHypertext.
526 * Not Yet Implemented.
528 * Returns: #TRUE if @obj implements the #AccessibleHypertext interface,
532 Accessible_isHypertext (Accessible *obj);
535 * Accessible_isImage:
536 * @obj: a pointer to the #Accessible instance to query.
538 * Query whether the specified #Accessible implements #AccessibleImage.
539 * Not Yet Implemented.
541 * Returns: #TRUE if @obj implements the #AccessibleImage interface,
545 Accessible_isImage (Accessible *obj);
548 * Accessible_isSelection:
549 * @obj: a pointer to the #Accessible instance to query.
551 * Query whether the specified #Accessible implements #AccessibleSelection.
552 * Not Yet Implemented.
554 * Returns: #TRUE if @obj implements the #AccessibleSelection interface,
558 Accessible_isSelection (Accessible *obj);
561 * Accessible_isTable:
562 * @obj: a pointer to the #Accessible instance to query.
564 * Query whether the specified #Accessible implements #AccessibleTable.
565 * Not Yet Implemented.
567 * Returns: #TRUE if @obj implements the #AccessibleTable interface,
571 Accessible_isTable (Accessible *obj);
575 * @obj: a pointer to the #Accessible instance to query.
577 * Query whether the specified #Accessible implements #AccessibleText.
578 * Not Yet Implemented.
580 * Returns: #TRUE if @obj implements the #AccessibleText interface,
584 Accessible_isText (Accessible *obj);
587 * Accessible_getAction:
589 * Not Yet Implemented.
593 Accessible_getAction (Accessible *obj);
596 * Accessible_getComponent:
597 * @obj: a pointer to the #Accessible instance to query.
599 * Get the #AccessibleComponent interface for an #Accessible.
601 * Returns: a pointer to an #AccessibleComponent interface instance, or
602 * NULL if @obj does not implement #AccessibleComponent.
604 AccessibleComponent *
605 Accessible_getComponent (Accessible *obj);
608 * Accessible_getEditableText:
610 * Not Yet Implemented.
613 AccessibleEditableText *
614 Accessible_getEditableText (Accessible *obj);
617 * Accessible_getHypertext:
619 * Not Yet Implemented.
622 AccessibleHypertext *
623 Accessible_getHypertext (Accessible *obj);
626 * Accessible_getImage:
628 * Not Yet Implemented.
632 Accessible_getImage (Accessible *obj);
635 * Accessible_getSelection:
637 * Not Yet Implemented.
640 AccessibleSelection *
641 Accessible_getSelection (Accessible *obj);
644 * Accessible_getTable:
646 * Not Yet Implemented.
650 Accessible_getTable (Accessible *obj);
653 * Accessible_getText:
655 * Not Yet Implemented.
659 Accessible_getText (Accessible *obj);
662 * Accessible_queryInterface:
663 * @obj: a pointer to the #Accessible instance to query.
664 * @interface_name: a UTF-8 character string specifiying the requested interface.
666 * Query an #Accessible object to for a named interface.
668 * Returns: an instance of the named interface object, if it is implemented
669 * by @obj, or NULL otherwise.
673 Accessible_queryInterface (Accessible *obj, char *interface_name);
677 * AccessibleAction function prototypes
682 AccessibleAction_ref (
683 AccessibleAction *obj);
686 AccessibleAction_unref (AccessibleAction *obj);
689 AccessibleAction_getNActions (AccessibleAction *obj);
692 * AccessibleAction_getDescription:
693 * @obj: a pointer to the #AccessibleAction to query.
695 * Get the description of 'i-th' action invokable on an
696 * object implementing #AccessibleAction.
698 * Not Yet Implemented.
700 * Returns: a UTF-8 string describing the 'i-th' invokable action.
704 AccessibleAction_getDescription (AccessibleAction *obj,
708 AccessibleAction_doAction (AccessibleAction *obj,
712 AccessibleAction_getKeyBinding (AccessibleAction *obj,
717 * AccessibleApplication function prototypes
722 * AccessibleApplication_unref:
723 * @obj: a pointer to the #AccessibleApplication on which to operate.
725 * Decrement the reference count for an #AccessibleApplication.
727 * Returns: (no return code implemented yet).
731 AccessibleApplication_ref (AccessibleApplication *obj);
734 * AccessibleApplication_unref:
735 * @obj: a pointer to the #AccessibleApplication object on which to operate.
737 * Decrement the reference count for an #AccessibleApplication.
739 * Returns: (no return code implemented yet).
743 AccessibleApplication_unref (AccessibleApplication *obj);
746 * AccessibleApplication_getToolkitName:
747 * @obj: a pointer to the #AccessibleApplication to query.
749 * Get the name of the UI toolkit used by an #AccessibleApplication.
751 * Returns: a UTF-8 string indicating which UI toolkit is
752 * used by an application.
756 AccessibleApplication_getToolkitName (AccessibleApplication *obj);
759 * AccessibleApplication_getVersion:
760 * @obj: a pointer to the #AccessibleApplication being queried.
762 * Get the version of the at-spi bridge exported by an
763 * #AccessibleApplication instance.
765 * Returns: a UTF-8 string indicating the application's
770 AccessibleApplication_getVersion (AccessibleApplication *obj);
773 * AccessibleApplication_getID:
774 * @obj: a pointer to the #AccessibleApplication being queried.
776 * Get the unique ID assigned by the Registry to an
777 * #AccessibleApplication instance.
778 * (Not Yet Implemented by the registry).
780 * Returns: a unique #long integer associated with the application
781 * by the Registry, or 0 if the application is not registered.
784 AccessibleApplication_getID (AccessibleApplication *obj);
787 * AccessibleApplication_pause:
789 * Attempt to pause the application (used when client event queue is
791 * Not Yet Implemented.
793 * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
797 AccessibleApplication_pause (AccessibleApplication *obj);
800 * AccessibleApplication_pause:
802 * Attempt to resume the application (used after #AccessibleApplication_pause).
803 * Not Yet Implemented.
805 * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
809 AccessibleApplication_resume (AccessibleApplication *obj);
813 * AccessibleComponent function prototypes
818 AccessibleComponent_ref (AccessibleComponent *obj);
821 AccessibleComponent_unref (AccessibleComponent *obj);
824 AccessibleComponent_contains (AccessibleComponent *obj,
827 AccessibleCoordType ctype);
830 AccessibleComponent_getAccessibleAtPoint (AccessibleComponent *obj,
833 AccessibleCoordType ctype);
836 * AccessibleComponent_getExtents:
837 * @obj: a pointer to the #AccessibleComponent to query.
838 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
839 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
840 * @width: a pointer to a #long into which the x extents (width) will be returned.
841 * @height: a pointer to a #long into which the y extents (height) will be returned.
842 * @ctype: the desired coordinate system into which to return the results,
843 * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
845 * Get the bounding box of the specified #AccessibleComponent.
849 AccessibleComponent_getExtents (AccessibleComponent *obj,
854 AccessibleCoordType ctype);
857 AccessibleComponent_getPosition (AccessibleComponent *obj,
860 AccessibleCoordType ctype);
863 AccessibleComponent_getSize (AccessibleComponent *obj,
868 AccessibleComponent_grabFocus (AccessibleComponent *obj);
872 * AccessibleEditableText function prototypes
877 AccessibleEditableText_ref (AccessibleEditableText *obj);
880 AccessibleEditableText_unref (AccessibleEditableText *obj);
883 AccessibleEditableText_setRunAttributes (AccessibleEditableText *obj,
884 const char *attributes,
885 long startPos, long endPos);
888 AccessibleEditableText_setTextContents (AccessibleEditableText *obj,
889 const char *newContents);
892 AccessibleEditableText_insertText (AccessibleEditableText *obj,
898 AccessibleEditableText_copyText (AccessibleText *obj,
903 AccessibleEditableText_cutText (AccessibleEditableText *obj,
908 AccessibleEditableText_deleteText (AccessibleEditableText *obj,
913 AccessibleEditableText_pasteText (AccessibleEditableText *obj,
918 * AccessibleHyperlink function prototypes
923 AccessibleHyperlink_ref (AccessibleHyperlink *obj);
926 AccessibleHyperlink_unref (AccessibleHyperlink *obj);
929 AccessibleHyperlink_getNAnchors (AccessibleHyperlink *obj);
932 AccessibleHyperlink_getURI (AccessibleHyperlink *obj,
936 AccessibleHyperlink_getObject (AccessibleHyperlink *obj,
940 AccessibleHyperlink_getIndexRange (AccessibleHyperlink *obj,
945 AccessibleHyperlink_isValid (AccessibleHyperlink *obj);
949 * AccessibleHypertext function prototypes
954 AccessibleHypertext_ref (AccessibleHypertext *obj);
957 AccessibleHypertext_unref (AccessibleHypertext *obj);
960 AccessibleHypertext_getNLinks (AccessibleHypertext *obj);
962 AccessibleHyperlink *
963 AccessibleHyperText_getLink (AccessibleHypertext *obj,
967 AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj,
968 long characterIndex);
972 * AccessibleImage function prototypes
977 AccessibleImage_ref (AccessibleImage *obj);
980 AccessibleImage_unref (AccessibleImage *obj);
983 AccessibleImage_getImageDescription (AccessibleImage *obj);
986 AccessibleImage_getImageSize (AccessibleImage *obj,
991 AccessibleImage_getImagePosition (AccessibleImage *obj,
994 AccessibleCoordType ctype);
998 * AccessibleRelation function prototypes
1003 AccessibleRelation_ref (AccessibleRelation *obj);
1006 AccessibleRelation_unref (AccessibleRelation *obj);
1009 AccessibleRelation_getRelationType (AccessibleRelation *obj);
1012 AccessibleRelation_getTarget (AccessibleRelation *obj);
1018 * AccessibleSelection function prototypes
1023 AccessibleSelection_ref (AccessibleSelection *obj);
1026 AccessibleSelection_unref (AccessibleSelection *obj);
1029 AccessibleSelection_getNSelectedChildren (AccessibleSelection *obj);
1032 AccessibleSelection_refSelectedChild (AccessibleSelection *obj,
1033 long selectedChildIndex);
1036 AccessibleSelection_selectChild (AccessibleSelection *obj,
1040 AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj,
1041 long selectedChildIndex);
1044 AccessibleSelection_isChildSelected (AccessibleSelection *obj,
1048 AccessibleSelection_selectAll (AccessibleSelection *obj);
1051 AccessibleSelection_clearSelection (AccessibleSelection *obj);
1056 * AccessibleStateSet function prototypes
1061 AccessibleStateSet_ref (AccessibleStateSet *obj);
1064 AccessibleStateSet_unref (AccessibleStateSet *obj);
1067 AccessibleStateSet_contains (AccessibleStateSet *obj,
1068 ACCESSIBLE_STATE state);
1071 AccessibleStateSet_add (AccessibleStateSet *obj,
1072 ACCESSIBLE_STATE state);
1075 AccessibleStateSet_remove (AccessibleStateSet *obj,
1076 ACCESSIBLE_STATE state);
1079 AccessibleStateSet_equals (AccessibleStateSet *obj,
1080 AccessibleStateSet *obj2);
1083 AccessibleStateSet_compare (AccessibleStateSet *obj,
1084 AccessibleStateSet *obj2,
1085 AccessibleStateSet **differenceSet);
1088 AccessibleStateSet_isEmpty (AccessibleStateSet *obj);
1093 * AccessibleTable function prototypes
1098 AccessibleTable_ref (AccessibleTable *obj);
1101 AccessibleTable_unref (AccessibleTable *obj);
1104 AccessibleTable_getCaption (AccessibleTable *obj);
1107 AccessibleTable_getSummary (AccessibleTable *obj);
1110 AccessibleTable_getNRows (AccessibleTable *obj);
1113 AccessibleTable_getNColumns (AccessibleTable *obj);
1116 AccessibleTable_refAt (AccessibleTable *obj,
1121 AccessibleTable_getIndexAt (AccessibleTable *obj,
1126 AccessibleTable_getRowAtIndex (AccessibleTable *obj,
1130 AccessibleTable_getColumnAtIndex (AccessibleTable *obj,
1134 AccessibleTable_getRowDescription (AccessibleTable *obj,
1138 AccessibleTable_getColumnDescription (AccessibleTable *obj,
1142 AccessibleTable_getRowExtentAt (AccessibleTable *obj,
1147 AccessibleTable_getColumnExtentAt (AccessibleTable *obj,
1152 AccessibleTable_getRowHeader (AccessibleTable *obj,
1156 AccessibleTable_getColumnHeader (AccessibleTable *obj,
1160 AccessibleTable_getNSelectedRows (AccessibleTable *obj);
1163 AccessibleTable_getSelectedRows (AccessibleTable *obj,
1164 long **selectedRows);
1167 AccessibleTable_getNSelectedColumns (AccessibleTable *obj);
1170 AccessibleTable_getSelectedColumns (AccessibleTable *obj,
1171 long **selectedColumns);
1174 AccessibleTable_isRowSelected (AccessibleTable *obj,
1178 AccessibleTable_isColumnSelected (AccessibleTable *obj,
1182 AccessibleTable_isSelected (AccessibleTable *obj,
1188 * AccessibleText function prototypes
1193 AccessibleText_ref (AccessibleText *obj);
1196 AccessibleText_unref (AccessibleText *obj);
1199 AccessibleText_getCharacterCount (AccessibleText *obj);
1202 AccessibleText_getText (AccessibleText *obj,
1207 AccessibleText_getCaretOffset (AccessibleText *obj);
1210 AccessibleText_getAttributes (AccessibleText *obj,
1217 AccessibleText_setCaretOffset (AccessibleText *obj,
1221 AccessibleText_getTextBeforeOffset (AccessibleText *obj,
1223 TEXT_BOUNDARY_TYPE type,
1224 long *startOffset, long *endOffset);
1227 AccessibleText_getTextAtOffset (AccessibleText *obj,
1229 TEXT_BOUNDARY_TYPE type,
1230 long *startOffset, long *endOffset);
1233 AccessibleText_getTextAfterOffset (AccessibleText *obj,
1235 TEXT_BOUNDARY_TYPE type,
1236 long *startOffset, long *endOffset);
1238 AccessibleText_getCharacterAtOffset (AccessibleText *obj,
1242 AccessibleText_getCharacterExtents (AccessibleText *obj,
1247 long *height, AccessibleCoordType type);
1250 AccessibleText_getOffsetAtPoint (AccessibleText *obj,
1252 long y, AccessibleCoordType type);
1255 AccessibleText_getNSelections (AccessibleText *obj);
1258 AccessibleText_getSelection (AccessibleText *obj,
1259 long selectionNum, long *startOffset,
1264 AccessibleText_addSelection (AccessibleText *obj,
1265 long startOffset, long endOffset);
1268 AccessibleText_removeSelection (AccessibleText *obj,
1272 AccessibleText_setSelection (AccessibleText *obj,
1279 * AccessibleValue Function Prototypes:
1284 AccessibleValue_getMinimumValue (AccessibleValue *value);
1287 AccessibleValue_getCurrentValue (AccessibleValue *value);
1290 AccessibleValue_getMaximumValue (AccessibleValue *value);
1293 AccessibleValue_setCurrentValue (AccessibleValue *value,
1297 spi_freeString (char *s);