FROM : PGM
DATE : Tue Jan 15 22:29:11 2008
> I'm trying to get the XCode style contextual menu to popup when a
> button is clicked on my toolbar (such as the "Build" button if you
> hold it), but I can't figure out exactly how to do this!
>
> Should I be subclassing NSPopupButton? NSButtonCell? Is there an
> easier way for me to do this?
You can also use Matt Gemmell's ImagePopUpButton at: http://mattgemmell.com/source
Cheers, Patrick
DATE : Tue Jan 15 22:29:11 2008
> I'm trying to get the XCode style contextual menu to popup when a
> button is clicked on my toolbar (such as the "Build" button if you
> hold it), but I can't figure out exactly how to do this!
>
> Should I be subclassing NSPopupButton? NSButtonCell? Is there an
> easier way for me to do this?
You can also use Matt Gemmell's ImagePopUpButton at: http://mattgemmell.com/source
Cheers, Patrick
| Related mails | Author | Date |
|---|---|---|
| Mitchell Hashimoto | Jan 15, 18:45 | |
| Peter Ammon | Jan 15, 20:30 | |
| Mitchell Hashimoto | Jan 15, 21:18 | |
| PGM | Jan 15, 22:29 |






Cocoa mail archive

