Which UIElements to observe?
Which UIElements to observe?
- Subject: Which UIElements to observe?
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 22 Nov 2002 06:43:21 -0500
It's hard for me to tell from the preliminary documentation which UIElements
it is sensible to observe for particular notifications. Can a table be
provided, or the underlying principle explained?
The existing table only shows which elements are "returned" by particular
notifications, but there appears to be a conceptual distinction between
"observed" elements and "returned" (or "affected") elements.
I understand that registering the application UIElement always makes sense
for any notification, since that means I will receive the registered
notification from all UIElements in the app that emit that notification.
But what about lower-level UIElements?
A little experimentation shows the beginnings of a principle. For example,
registering a window to receive a menu closed notification doesn't do
anything, as I would expect. But what about registering, say, the menu bar
for a notification? -- for example, if a game app hides the menubar will I
receive any notification, and if so which one? And are there some UIElements
that never make sense to register for any notification? -- I assume so,
since UIElements like AXGroup appear to be "ignored" for all notifications.
But which UIElements issue no notifications? -- or does every UIElement
issue some notifications, such as AXUIElementDestroyedNotification?
I can puzzle out my own table by interpreting the existing table, but I
would never be completely certain I got it right. I could experiment with
every permutation to construct a table myself, but I would rather not take
the time if one can be readily provided.
I need this information so I can construct a realistic user interface for my
accessibility browser. When the user selects a particular UIElement in a
particular application in the browser, I want only the sensible
notifications to appear in the associated table where the user can choose
which notification to register that UIElement for.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.