Re: Cocoa windows in Carbon applications
Re: Cocoa windows in Carbon applications
- Subject: Re: Cocoa windows in Carbon applications
- From: Guy Fullerton <email@hidden>
- Date: Tue, 26 Jun 2007 10:40:30 -0700
The plan is for the operating system to take care of this bridge for
you. This doesn't help with anything you're trying to do on Tiger, of
course, so YMMV.
On Jun 26, 2007, at 4:54 AM, Marco Piovanelli wrote:
Hi,
I'd like to add accessibility support to a hybrid Carbon/Cocoa
application, where the run loop is still Carbon, but most of the
UI is Cocoa. In particular, the windows that would benefit most
from accessibility support are NSWindows with a complex view
hierarchy of (mostly) standard Cocoa widgets.
Is there a way to hook the existing Cocoa accessibility support
to the root accessibility object of a Carbon app?
One approach I'm considering is some bridge code, in the form
of accessibility Carbon event handlers installed on the
[window windowRef] event target, which would decode the events
are route them to the corresponding NSAccessibility methods.
That looks ugly, though, since each Cocoa object would need to
be wrapped by a suitable AXUIElementRef/id pair.
Any ideas?
-- marco
--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
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