Cocoa windows in Carbon applications
Cocoa windows in Carbon applications
- Subject: Cocoa windows in Carbon applications
- From: "Marco Piovanelli" <email@hidden>
- Date: Tue, 26 Jun 2007 13:54:20 +0200
- Organization: Merzwaren
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden