Re: What are parameterized accessible attributes?
Re: What are parameterized accessible attributes?
- Subject: Re: What are parameterized accessible attributes?
- From: Guy Fullerton <email@hidden>
- Date: Wed, 15 Dec 2004 11:35:43 -0800
On Dec 15, 2004, at 8:37 AM, David Niemeijer wrote:
Hi,
What is the kEventAccessibleGetAllParameterizedAttributeNames event
all about? What are parameterized accessible attributes? when are
they used and what for? I could not find any info on this aside from
the info in the header which still left me puzzled.
Here's a very short explanation; I can explain more offline if you want:
There are a few parameterized attributes in the HIServices header
(<HIServices/AXConstants.h>, I believe) that allow an assistive
application to get new kinds of information about text views or to get
information from text views in a more efficient way. For example, the
kAStringForRangeParameterizedAttribute allows an assistive application
to get a string for an arbitrary range of characters of a text view.
Instead of asking for the text view's value (which could be millions of
characters or more) and parsing it itself to find characters 20 through
65, an assistive app can ask the text view directly for characters 20
through 65.
Though our current set of parameterized attributes apply only to text
views, the concept could be expanded to other sorts of views.
Your HIObject only needs to support
kEventAccessibleGetAllParameterizedAttributeNames if it supports one or
more of those parameterized attributes. (Requests for a parameterized
attribute's value come in via the normal
kEventAccessibleGetNamedAttribute event.)
Thanks,
david.
Cheers,
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden