Re: AXOutlineRow expand event
Re: AXOutlineRow expand event
- Subject: Re: AXOutlineRow expand event
- From: Felipe Heidrich <email@hidden>
- Date: Fri, 07 Mar 2014 09:51:19 -0800 (PST)
Yes, that worked (and I just sending a single NSAccessibilityRowCountChangedNotification event).
Thank you!
Felipe
From: Boris Dušek <email@hidden>
To: Felipe Heidrich <email@hidden>
Cc: Apple Accessibility Developer List
<email@hidden>
Sent: Friday, March 7, 2014 9:39 AM
Subject: Re: AXOutlineRow expand event
Hello Felipe,
On Mar 7, 2014, at 5:37 PM, Felipe Heidrich <
email@hidden> wrote:
When the item expands the NSAccessibilityRowExpandedNotification is sent
(for the accessible associate with the item itself).
you should also send NSAccessibilityRowCountChangedNotification for the outline view (as the number of rows in outline view changes after expanding an item with non-zero cound of children). I confirmed this hypothesis by observing Finder in List view (Cmd-2) and registering for this event (and other events) using UI Browser [1]. It sends not only NSAccessibilityRowExpandedNotification and NSAccessibilityRowCollapsedNotification, but also NSAccessibilityRowCountChangedNotification. Technically it seems to send the row count changed notification before *and* after the expanded/collapsed notification.
Hope this solves it.
Cheers,
Boris
_______________________________________________
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