Re: What is needed for my objects to be in the hierarchy?
Re: What is needed for my objects to be in the hierarchy?
- Subject: Re: What is needed for my objects to be in the hierarchy?
- From: Mike Engber <email@hidden>
- Date: Mon, 10 Jul 2006 08:57:40 -0700
Check out:
http://developer.apple.com/samplecode/ImageMapExample/index.html
It shows how to do exactly what you want. The children of the image
map are not views, they're just NSObjects.
-ME
On Jul 7, 2006, at 7:55 AM, Håkan Waara wrote:
Hi all,
I'm trying to implement an abstract (derived from NSObject)
accessible class. It has no real relation to Cocoa, except that a
cocoa widget will have it as its only accessible child, and I don't
want VoiceOver, or any other apps to actually know that it's not
Cocoa.
Right now, I have a NSView subclass, that returns an instance of my
accessible class as its only child when queried for
NSAccessibilityChildrenAttribute.
Is this not enough for it to be found by "Accessibility Verifier",
and "Accessibility Inspector"?
My abstract class is not even queried for the attributes it
supports. :-(
I'm starting to suspect that Cocoa's NSAccessibility APIs for 3rd
parties uses other ways (for example, looking at the NSView
hierarchy) to find its targets, but I hope it's not that
discriminating.
Any ideas welcome,
Håkan _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (Accessibility-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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