Re: Accessibility for a custom text editor
Re: Accessibility for a custom text editor
- Subject: Re: Accessibility for a custom text editor
- From: Felipe Monteiro de Carvalho <email@hidden>
- Date: Wed, 18 Jan 2012 16:26:30 +0100
I seam to have made a mistake and answered to Chris only instead of to
the list ... this new gmail interface is terrible =(
Reposting my previous e-mail:
On Fri, Jan 6, 2012 at 7:59 PM, Chris Fleizach <email@hidden> wrote:
> You need to send NSAccessibilitySelectedTextChangedNotification and
NSAccessibilityValueChangedNotification when needed.
> A good place to start on how to do this is by looking at what
WebKit does for it's Textfields.
> http://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm?rev=104301
Thanks, but this clears the way for Cocoa only and I need to support
both Cocoa and Carbon. Is there something equivalent for Carbon?
void NSAccessibilityPostNotification (
id element,
NSString *notification
);
I tryed to simply use NSAccessibilityPostNotification in Carbon, but
this routine requires this "element" parameters, which doesn't seam to
be documented. What should be sent there? A NSControl or something
like that?
But in Carbon I don't have any NSControls to pass there =(
--
Felipe Monteiro de Carvalho
_______________________________________________
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