• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AXOutlineRow expand event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

[1]: http://pfiddlesoft.com/uibrowser/


 _______________________________________________
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

References: 
 >AXOutlineRow expand event (From: Felipe Heidrich <email@hidden>)
 >Re: AXOutlineRow expand event (From: Boris Dušek <email@hidden>)

  • Prev by Date: Re: AXOutlineRow expand event
  • Next by Date: Several questions and observations on accessibility of NSView-based custom menu items
  • Previous by thread: Re: AXOutlineRow expand event
  • Next by thread: Several questions and observations on accessibility of NSView-based custom menu items
  • Index(es):
    • Date
    • Thread