KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to add a drop down menu in one of the entries in the NSMenu Item. (eg. If you click on the Battery indicator on Finder bar, it has an option for Show->Icon,Time,Percentage). Now I add a MenuItem using the following code: menuItem = [menu addItemWithTitle:@"Start" action:@selector(start:) keyEquivalent:@""]; [menuItem setTarget:self]; How do I add a submenu Item with this drop down list ? Thanks.
Tags (comma-separated)
Save Edits
Cancel