AXShownMenu / NSPopUpButton
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