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;
63 * Basic SPI initialization and event loop function prototypes
70 * Connects to the accessibility registry and initializes the SPI.
72 * Returns: 0 on success, otherwise an integer error code.
79 * @isGNOMEApp: a #boolean indicating whether the client of the SPI
80 * will use the Gnome event loop or not.
82 * Starts/enters the main event loop for the SPI services.
84 * (NOTE: This method does not return control, it is exited via a call to exit()
85 * from within an event handler).
89 SPI_event_main (boolean isGNOMEApp);
94 * Checks to see if an SPI event is waiting in the event queue.
95 * Used by clients that don't wish to use SPI_event_main().
96 * Not Yet Implemented.
98 * Returns: #TRUE if an event is waiting, otherwise #FALSE.
107 * Gets the next event in the SPI event queue; blocks if no event
109 * Used by clients that don't wish to use SPI_event_main().
110 * Not Yet Implemented.
112 * Returns: the next #AccessibleEvent in the SPI event queue.
116 SPI_nextEvent (boolean waitForEvent);
121 * Disconnects from the Accessibility Registry and releases resources.
122 * Not Yet Implemented.
129 * Event Listener creation and support.
133 * createEventListener:
134 * @callback : an #AccessibleEventListenerCB callback function, or NULL.
136 * Create a new #AccessibleEventListener with a specified callback function.
138 * Returns: a pointer to a newly-created #AccessibleEventListener.
141 AccessibleEventListener *
142 createEventListener (AccessibleEventListenerCB callback);
145 * EventListener_addCallback:
146 * @listener: the #AccessibleEventListener instance to modify.
147 * @callback: an #AccessibleEventListenerCB function pointer.
149 * Add an in-process callback function to an existing AccessibleEventListener.
151 * Returns: #TRUE if successful, otherwise #FALSE.
155 EventListener_addCallback (AccessibleEventListener *listener,
156 AccessibleEventListenerCB callback);
159 * EventListener_removeCallback:
160 * @listener: the #AccessibleEventListener instance to modify.
161 * @callback: an #AccessibleEventListenerCB function pointer.
163 * Remove an in-process callback function from an existing AccessibleEventListener.
165 * Returns: #TRUE if successful, otherwise #FALSE.
169 EventListener_removeCallback (AccessibleEventListener *listener,
170 AccessibleEventListenerCB callback);
174 * Global functions serviced by the registry
179 * registerGlobalEventListener:
180 * @listener: the #AccessibleEventListener to be registered against an event type.
181 * @callback: a character string indicating the type of events for which
182 * notification is requested. Format is
183 * EventClass:major_type:minor_type:detail
184 * where all subfields other than EventClass are optional.
185 * EventClasses include "Focus", "Window", "Mouse",
186 * and toolkit events (e.g. "Gtk", "AWT").
187 * Examples: "focus:", "Gtk:GtkWidget:button_press_event".
189 * NOTE: this string may be UTF-8, but should not contain byte value 56 (ascii ':'),
190 * except as a delimiter, since non-UTF-8 string delimiting
191 * functions are used internally. In general, listening to
192 * toolkit-specific events is not recommended.
194 * Add an in-process callback function to an existing AccessibleEventListener.
196 * Returns: #TRUE if successful, otherwise #FALSE.
200 registerGlobalEventListener (AccessibleEventListener *listener,
206 * Get the number of virtual desktops.
207 * NOTE: currently multiple virtual desktops are not implemented, this
208 * function always returns '1'.
210 * Returns: an integer indicating the number of active virtual desktops.
218 * @i: an integer indicating which of the accessible desktops is to be returned.
220 * Get the virtual desktop indicated by index @i.
221 * NOTE: currently multiple virtual desktops are not implemented, this
222 * function always returns '1'.
224 * Returns: a pointer to the 'i-th' virtual desktop's #Accessible representation.
232 * @list: a pointer to an array of #Accessible objects.
234 * Get the list of virtual desktops. On return, @list will point
235 * to a newly-created array of virtual desktop pointers.
236 * It is the responsibility of the caller to free this array when
237 * it is no longer needed.
239 * Not Yet Implemented.
241 * Returns: an integer indicating how many virtual desktops have been
242 * placed in the list pointed to by parameter @list.
245 getDesktopList (Accessible **list);
248 * registerKeystrokeListener:
249 * @listener: a pointer to the #KeystrokeListener for which
250 * keystroke events are requested.
252 * Not Yet Implemented.
256 registerKeystrokeListener (KeystrokeListener *listener);
260 * @keycode: a #long indicating the keycode of the key event
262 * @meta: a #long indicating the key modifiers to be sent
263 * with the event, if any.
265 * Synthesize a keyboard event (as if a hardware keyboard event occurred in the
266 * current UI context).
267 * Not Yet Implemented.
271 generateKeyEvent (long keyCode, long meta);
274 * generateMouseEvent:
275 * @x: a #long indicating the screen x coordinate of the mouse event.
276 * @y: a #long indicating the screen y coordinate of the mouse event.
277 * @name: a string indicating which mouse event to be synthesized
278 * (e.g. "button1", "button2", "mousemove").
280 * Synthesize a mouse event at a specific screen coordinate.
281 * Not Yet Implemented.
285 generateMouseEvent (long x, long y, char *name);
289 * Accessible function prototypes
295 * @obj: a pointer to the #Accessible object on which to operate.
297 * Increment the reference count for an #Accessible object.
299 * Returns: (no return code implemented yet).
303 Accessible_ref (Accessible *obj);
307 * @obj: a pointer to the #Accessible object on which to operate.
309 * Decrement the reference count for an #Accessible object.
311 * Returns: (no return code implemented yet).
315 Accessible_unref (Accessible *obj);
318 * Accessible_getName:
319 * @obj: a pointer to the #Accessible object on which to operate.
321 * Get the name of an #Accessible object.
323 * Returns: a UTF-8 string indicating the name of the #Accessible object.
327 Accessible_getName (Accessible *obj);
330 * Accessible_getDescription:
331 * @obj: a pointer to the #Accessible object on which to operate.
333 * Get the description of an #Accessible object.
335 * Returns: a UTF-8 string describing the #Accessible object.
339 Accessible_getDescription (Accessible *obj);
342 * Accessible_getParent:
343 * @obj: a pointer to the #Accessible object to query.
345 * Get an #Accessible object's parent container.
347 * Returns: a pointer to the #Accessible object which contains the given
348 * #Accessible instance, or NULL if the @obj has no parent container.
352 Accessible_getParent (Accessible *obj);
355 * Accessible_getChildCount:
357 * @obj: a pointer to the #Accessible object on which to operate.
359 * Get the number of children contained by an #Accessible object.
361 * Returns: a #long indicating the number of #Accessible children
362 * contained by an #Accessible object.
366 Accessible_getChildCount (Accessible *obj);
369 * Accessible_getChildAtIndex:
371 * @obj: a pointer to the #Accessible object on which to operate.
372 * @childIndex: a #long indicating which child is specified.
374 * Get the #Accessible child of an #Accessible object at a given index.
376 * Returns: a pointer to the #Accessible child object at index
381 Accessible_getChildAtIndex (Accessible *obj,
385 * Accessible_getIndexInParent:
387 * @obj: a pointer to the #Accessible object on which to operate.
389 * Get the index of an #Accessible object in its containing #Accessible.
391 * Returns: a #long indicating the index of the #Accessible object
392 * in its parent (i.e. containing) #Accessible instance,
393 * or -1 if @obj has no containing parent.
397 Accessible_getIndexInParent (Accessible *obj);
400 * Accessible_getRelationSet:
402 * Not Yet Implemented.
405 AccessibleRelation **
406 Accessible_getRelationSet (Accessible *obj);
409 * Accessible_getRole:
410 * @obj: a pointer to the #Accessible object on which to operate.
412 * Get the UI role of an #Accessible object.
414 * Returns: a UTF-8 string indicating the UI role of the #Accessible object.
418 Accessible_getRole (Accessible *obj);
421 * Accessible_getStateSet:
423 * Not Yet Implemented.
427 Accessible_getStateSet (Accessible *obj);
429 /* Interface query methods */
432 * Accessible_isAction:
433 * @obj: a pointer to the #Accessible instance to query.
435 * Query whether the specified #Accessible implements #AccessibleAction.
436 * Not Yet Implemented.
438 * Returns: #TRUE if @obj implements the #AccessibleAction interface,
442 Accessible_isAction (Accessible *obj);
445 * Accessible_isComponent:
446 * @obj: a pointer to the #Accessible instance to query.
448 * Query whether the specified #Accessible implements #AccessibleComponent.
450 * Returns: #TRUE if @obj implements the #AccessibleComponent interface,
454 Accessible_isComponent (Accessible *obj);
457 * Accessible_isEditableText:
458 * @obj: a pointer to the #Accessible instance to query.
460 * Query whether the specified #Accessible implements #AccessibleEditableText.
461 * Not Yet Implemented.
463 * Returns: #TRUE if @obj implements the #AccessibleEditableText interface,
467 Accessible_isEditableText (Accessible *obj);
470 * Accessible_isHypertext:
471 * @obj: a pointer to the #Accessible instance to query.
473 * Query whether the specified #Accessible implements #AccessibleHypertext.
474 * Not Yet Implemented.
476 * Returns: #TRUE if @obj implements the #AccessibleHypertext interface,
480 Accessible_isHypertext (Accessible *obj);
483 * Accessible_isImage:
484 * @obj: a pointer to the #Accessible instance to query.
486 * Query whether the specified #Accessible implements #AccessibleImage.
487 * Not Yet Implemented.
489 * Returns: #TRUE if @obj implements the #AccessibleImage interface,
493 Accessible_isImage (Accessible *obj);
496 * Accessible_isSelection:
497 * @obj: a pointer to the #Accessible instance to query.
499 * Query whether the specified #Accessible implements #AccessibleSelection.
500 * Not Yet Implemented.
502 * Returns: #TRUE if @obj implements the #AccessibleSelection interface,
506 Accessible_isSelection (Accessible *obj);
509 * Accessible_isTable:
510 * @obj: a pointer to the #Accessible instance to query.
512 * Query whether the specified #Accessible implements #AccessibleTable.
513 * Not Yet Implemented.
515 * Returns: #TRUE if @obj implements the #AccessibleTable interface,
519 Accessible_isTable (Accessible *obj);
523 * @obj: a pointer to the #Accessible instance to query.
525 * Query whether the specified #Accessible implements #AccessibleText.
526 * Not Yet Implemented.
528 * Returns: #TRUE if @obj implements the #AccessibleText interface,
532 Accessible_isText (Accessible *obj);
535 * Accessible_getAction:
537 * Not Yet Implemented.
541 Accessible_getAction (Accessible *obj);
544 * Accessible_getComponent:
545 * @obj: a pointer to the #Accessible instance to query.
547 * Get the #AccessibleComponent interface for an #Accessible.
549 * Returns: a pointer to an #AccessibleComponent interface instance, or
550 * NULL if @obj does not implement #AccessibleComponent.
552 AccessibleComponent *
553 Accessible_getComponent (Accessible *obj);
556 * Accessible_getEditableText:
558 * Not Yet Implemented.
561 AccessibleEditableText *
562 Accessible_getEditableText (Accessible *obj);
565 * Accessible_getHypertext:
567 * Not Yet Implemented.
570 AccessibleHypertext *
571 Accessible_getHypertext (Accessible *obj);
574 * Accessible_getImage:
576 * Not Yet Implemented.
580 Accessible_getImage (Accessible *obj);
583 * Accessible_getSelection:
585 * Not Yet Implemented.
588 AccessibleSelection *
589 Accessible_getSelection (Accessible *obj);
592 * Accessible_getTable:
594 * Not Yet Implemented.
598 Accessible_getTable (Accessible *obj);
601 * Accessible_getText:
603 * Not Yet Implemented.
607 Accessible_getText (Accessible *obj);
610 * Accessible_queryInterface:
611 * @obj: a pointer to the #Accessible instance to query.
612 * @interface_name: a UTF-8 character string specifiying the requested interface.
614 * Query an #Accessible object to for a named interface.
616 * Returns: an instance of the named interface object, if it is implemented
617 * by @obj, or NULL otherwise.
621 Accessible_queryInterface (Accessible *obj, char *interface_name);
625 * AccessibleAction function prototypes
630 AccessibleAction_ref (
631 AccessibleAction *obj);
634 AccessibleAction_unref (AccessibleAction *obj);
637 AccessibleAction_getNActions (AccessibleAction *obj);
640 * AccessibleAction_getDescription:
641 * @obj: a pointer to the #AccessibleAction to query.
643 * Get the description of 'i-th' action invokable on an
644 * object implementing #AccessibleAction.
646 * Not Yet Implemented.
648 * Returns: a UTF-8 string describing the 'i-th' invokable action.
652 AccessibleAction_getDescription (AccessibleAction *obj,
656 AccessibleAction_doAction (AccessibleAction *obj,
660 AccessibleAction_getKeyBinding (AccessibleAction *obj,
665 * AccessibleApplication function prototypes
670 * AccessibleApplication_unref:
671 * @obj: a pointer to the #AccessibleApplication on which to operate.
673 * Decrement the reference count for an #AccessibleApplication.
675 * Returns: (no return code implemented yet).
679 AccessibleApplication_ref (AccessibleApplication *obj);
682 * AccessibleApplication_unref:
683 * @obj: a pointer to the #AccessibleApplication object on which to operate.
685 * Decrement the reference count for an #AccessibleApplication.
687 * Returns: (no return code implemented yet).
691 AccessibleApplication_unref (AccessibleApplication *obj);
694 * AccessibleApplication_getToolkitName:
695 * @obj: a pointer to the #AccessibleApplication to query.
697 * Get the name of the UI toolkit used by an #AccessibleApplication.
699 * Returns: a UTF-8 string indicating which UI toolkit is
700 * used by an application.
704 AccessibleApplication_getToolkitName (AccessibleApplication *obj);
707 * AccessibleApplication_getVersion:
708 * @obj: a pointer to the #AccessibleApplication being queried.
710 * Get the version of the at-spi bridge exported by an
711 * #AccessibleApplication instance.
713 * Returns: a UTF-8 string indicating the application's
718 AccessibleApplication_getVersion (AccessibleApplication *obj);
721 * AccessibleApplication_getID:
722 * @obj: a pointer to the #AccessibleApplication being queried.
724 * Get the unique ID assigned by the Registry to an
725 * #AccessibleApplication instance.
726 * (Not Yet Implemented by the registry).
728 * Returns: a unique #long integer associated with the application
729 * by the Registry, or 0 if the application is not registered.
732 AccessibleApplication_getID (AccessibleApplication *obj);
735 * AccessibleApplication_pause:
737 * Attempt to pause the application (used when client event queue is
739 * Not Yet Implemented.
741 * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
745 AccessibleApplication_pause (AccessibleApplication *obj);
748 * AccessibleApplication_pause:
750 * Attempt to resume the application (used after #AccessibleApplication_pause).
751 * Not Yet Implemented.
753 * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
757 AccessibleApplication_resume (AccessibleApplication *obj);
761 * AccessibleComponent function prototypes
766 AccessibleComponent_ref (AccessibleComponent *obj);
769 AccessibleComponent_unref (AccessibleComponent *obj);
772 AccessibleComponent_contains (AccessibleComponent *obj,
775 AccessibleCoordType ctype);
778 AccessibleComponent_getAccessibleAtPoint (AccessibleComponent *obj,
781 AccessibleCoordType ctype);
784 * AccessibleComponent_getExtents:
785 * @obj: a pointer to the #AccessibleComponent to query.
786 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
787 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
788 * @width: a pointer to a #long into which the x extents (width) will be returned.
789 * @height: a pointer to a #long into which the y extents (height) will be returned.
790 * @ctype: the desired coordinate system into which to return the results,
791 * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
793 * Get the bounding box of the specified #AccessibleComponent.
797 AccessibleComponent_getExtents (AccessibleComponent *obj,
802 AccessibleCoordType ctype);
805 AccessibleComponent_getPosition (AccessibleComponent *obj,
808 AccessibleCoordType ctype);
811 AccessibleComponent_getSize (AccessibleComponent *obj,
816 AccessibleComponent_grabFocus (AccessibleComponent *obj);
820 * AccessibleEditableText function prototypes
825 AccessibleEditableText_ref (AccessibleEditableText *obj);
828 AccessibleEditableText_unref (AccessibleEditableText *obj);
831 AccessibleEditableText_setRunAttributes (AccessibleEditableText *obj,
832 const char *attributes,
833 long startPos, long endPos);
836 AccessibleEditableText_setTextContents (AccessibleEditableText *obj,
837 const char *newContents);
840 AccessibleEditableText_insertText (AccessibleEditableText *obj,
846 AccessibleEditableText_copyText (AccessibleText *obj,
851 AccessibleEditableText_cutText (AccessibleEditableText *obj,
856 AccessibleEditableText_deleteText (AccessibleEditableText *obj,
861 AccessibleEditableText_pasteText (AccessibleEditableText *obj,
866 * AccessibleHyperlink function prototypes
871 AccessibleHyperlink_ref (AccessibleHyperlink *obj);
874 AccessibleHyperlink_unref (AccessibleHyperlink *obj);
877 AccessibleHyperlink_getNAnchors (AccessibleHyperlink *obj);
880 AccessibleHyperlink_getURI (AccessibleHyperlink *obj,
884 AccessibleHyperlink_getObject (AccessibleHyperlink *obj,
888 AccessibleHyperlink_getIndexRange (AccessibleHyperlink *obj,
893 AccessibleHyperlink_isValid (AccessibleHyperlink *obj);
897 * AccessibleHypertext function prototypes
902 AccessibleHypertext_ref (AccessibleHypertext *obj);
905 AccessibleHypertext_unref (AccessibleHypertext *obj);
908 AccessibleHypertext_getNLinks (AccessibleHypertext *obj);
910 AccessibleHyperlink *
911 AccessibleHyperText_getLink (AccessibleHypertext *obj,
915 AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj,
916 long characterIndex);
920 * AccessibleImage function prototypes
925 AccessibleImage_ref (AccessibleImage *obj);
928 AccessibleImage_unref (AccessibleImage *obj);
931 AccessibleImage_getImageDescription (AccessibleImage *obj);
934 AccessibleImage_getImageSize (AccessibleImage *obj,
939 AccessibleImage_getImagePosition (AccessibleImage *obj,
942 AccessibleCoordType ctype);
946 * AccessibleRelation function prototypes
951 AccessibleRelation_ref (AccessibleRelation *obj);
954 AccessibleRelation_unref (AccessibleRelation *obj);
957 AccessibleRelation_getRelationType (AccessibleRelation *obj);
960 AccessibleRelation_getTarget (AccessibleRelation *obj);
966 * AccessibleSelection function prototypes
971 AccessibleSelection_ref (AccessibleSelection *obj);
974 AccessibleSelection_unref (AccessibleSelection *obj);
977 AccessibleSelection_getNSelectedChildren (AccessibleSelection *obj);
980 AccessibleSelection_refSelectedChild (AccessibleSelection *obj,
981 long selectedChildIndex);
984 AccessibleSelection_selectChild (AccessibleSelection *obj,
988 AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj,
989 long selectedChildIndex);
992 AccessibleSelection_isChildSelected (AccessibleSelection *obj,
996 AccessibleSelection_selectAll (AccessibleSelection *obj);
999 AccessibleSelection_clearSelection (AccessibleSelection *obj);
1004 * AccessibleStateSet function prototypes
1009 AccessibleStateSet_ref (AccessibleStateSet *obj);
1012 AccessibleStateSet_unref (AccessibleStateSet *obj);
1015 AccessibleStateSet_contains (AccessibleStateSet *obj,
1016 ACCESSIBLE_STATE state);
1019 AccessibleStateSet_add (AccessibleStateSet *obj,
1020 ACCESSIBLE_STATE state);
1023 AccessibleStateSet_remove (AccessibleStateSet *obj,
1024 ACCESSIBLE_STATE state);
1027 AccessibleStateSet_equals (AccessibleStateSet *obj,
1028 AccessibleStateSet *obj2);
1031 AccessibleStateSet_compare (AccessibleStateSet *obj,
1032 AccessibleStateSet *obj2,
1033 AccessibleStateSet **differenceSet);
1036 AccessibleStateSet_isEmpty (AccessibleStateSet *obj);
1041 * AccessibleTable function prototypes
1046 AccessibleTable_ref (AccessibleTable *obj);
1049 AccessibleTable_unref (AccessibleTable *obj);
1052 AccessibleTable_getCaption (AccessibleTable *obj);
1055 AccessibleTable_getSummary (AccessibleTable *obj);
1058 AccessibleTable_getNRows (AccessibleTable *obj);
1061 AccessibleTable_getNColumns (AccessibleTable *obj);
1064 AccessibleTable_refAt (AccessibleTable *obj,
1069 AccessibleTable_getIndexAt (AccessibleTable *obj,
1074 AccessibleTable_getRowAtIndex (AccessibleTable *obj,
1078 AccessibleTable_getColumnAtIndex (AccessibleTable *obj,
1082 AccessibleTable_getRowDescription (AccessibleTable *obj,
1086 AccessibleTable_getColumnDescription (AccessibleTable *obj,
1090 AccessibleTable_getRowExtentAt (AccessibleTable *obj,
1095 AccessibleTable_getColumnExtentAt (AccessibleTable *obj,
1100 AccessibleTable_getRowHeader (AccessibleTable *obj,
1104 AccessibleTable_getColumnHeader (AccessibleTable *obj,
1108 AccessibleTable_getNSelectedRows (AccessibleTable *obj);
1111 AccessibleTable_getSelectedRows (AccessibleTable *obj,
1112 long **selectedRows);
1115 AccessibleTable_getNSelectedColumns (AccessibleTable *obj);
1118 AccessibleTable_getSelectedColumns (AccessibleTable *obj,
1119 long **selectedColumns);
1122 AccessibleTable_isRowSelected (AccessibleTable *obj,
1126 AccessibleTable_isColumnSelected (AccessibleTable *obj,
1130 AccessibleTable_isSelected (AccessibleTable *obj,
1136 * AccessibleText function prototypes
1141 AccessibleText_ref (AccessibleText *obj);
1144 AccessibleText_unref (AccessibleText *obj);
1147 AccessibleText_getCharacterCount (AccessibleText *obj);
1150 AccessibleText_getText (AccessibleText *obj,
1155 AccessibleText_getCaretOffset (AccessibleText *obj);
1158 AccessibleText_getAttributes (AccessibleText *obj,
1165 AccessibleText_setCaretOffset (AccessibleText *obj,
1169 AccessibleText_getTextBeforeOffset (AccessibleText *obj,
1171 TEXT_BOUNDARY_TYPE type,
1172 long *startOffset, long *endOffset);
1175 AccessibleText_getTextAtOffset (AccessibleText *obj,
1177 TEXT_BOUNDARY_TYPE type,
1178 long *startOffset, long *endOffset);
1181 AccessibleText_getTextAfterOffset (AccessibleText *obj,
1183 TEXT_BOUNDARY_TYPE type,
1184 long *startOffset, long *endOffset);
1186 AccessibleText_getCharacterAtOffset (AccessibleText *obj,
1190 AccessibleText_getCharacterExtents (AccessibleText *obj,
1195 long *height, AccessibleCoordType type);
1198 AccessibleText_getOffsetAtPoint (AccessibleText *obj,
1200 long y, AccessibleCoordType type);
1203 AccessibleText_getNSelections (AccessibleText *obj);
1206 AccessibleText_getSelection (AccessibleText *obj,
1207 long selectionNum, long *startOffset,
1212 AccessibleText_addSelection (AccessibleText *obj,
1213 long startOffset, long endOffset);
1216 AccessibleText_removeSelection (AccessibleText *obj,
1220 AccessibleText_setSelection (AccessibleText *obj,
1227 * AccessibleValue Function Prototypes:
1232 AccessibleValue_getMinimumValue (AccessibleValue *value);
1235 AccessibleValue_getCurrentValue (AccessibleValue *value);
1238 AccessibleValue_getMaximumValue (AccessibleValue *value);
1241 AccessibleValue_setCurrentValue (AccessibleValue *value,