How to add a pop-up menu to a NSToolbarItem?
Posted
by Rui Pacheco
on Stack Overflow
See other posts from Stack Overflow
or by Rui Pacheco
Published on 2009-09-30T18:05:08Z
Indexed on
2010/04/02
23:23 UTC
Read the original article
Hit count: 403
Hi,
I'm trying to open a pop-up menu from a NSToolbarItem. I tried following this example but I can't use that class method because NSToolbar and NSToolbarItem inherit from NSObject and not from NSView.
Apart from creating a custom view, what is the best way to open a pop-up menu from a NSToolbarItem?
© Stack Overflow or respective owner