Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dropdown button in cocoa

I am trying to create a button showing an NSMenu like the action button of the finder (the one with teh gear icon) but do not know how to start. Do you have any idea to achieve this?

Thanks and regards,

like image 670
AP. Avatar asked Jul 21 '26 12:07

AP.


1 Answers

That's an NSPopUpButton set to pull-down behavior. You can set that in IB.

like image 111
Peter Hosey Avatar answered Jul 23 '26 08:07

Peter Hosey