• 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
AXShownMenu / NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AXShownMenu / NSPopUpButton


  • Subject: AXShownMenu / NSPopUpButton
  • From: Timothy Wood <email@hidden>
  • Date: Fri, 14 Mar 2014 14:35:39 -0700

We have a control that shows a menu, so I’m adding the AXShowMenu action. Bizarrely, NSControl or NSButton delegates this to its NSCell, but whatever. Once I have the menu up, it seems like we’d want to do the same thing that NSPopUpButton does for getting to the presented menu, but that turns out to be … nothing.

Once a pop-up button is showing a menu, I would have expected AXShownMenu to be set, or at least the menu to be in the children, but no such luck (using Accessibility Inspector). The menu itself shows the pop-up as its parent, which is pretty unhelpful if you want to find the menu.

Is this a bug, or am I doing it wrong?

Thanks!

-tim


 _______________________________________________
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


  • Prev by Date: Enabling scrolling (when the scroll area is a child of a list)
  • Next by Date: Re: Enabling scrolling (when the scroll area is a child of a list)
  • Previous by thread: Re: Enabling scrolling (when the scroll area is a child of a list)
  • Next by thread: Application name in AXIsProcessTrustedWithOptions alert
  • Index(es):
    • Date
    • Thread