If I call setIndentationLevel: on an NSMenuItem then nothing happens, if I call indentationLevel on it after I set it to 3, it returns 3 like it should. I\'m adding the menu items to the Dock menu and
I\'m working on a small URL shortening application for someone, and I need to have a list, similar to that of Droplr\'s, that has all of the recently shortened URLs. The list should be a submenu of th
As docs say it\'s impossible to add two menu items to NSPopUpButton if they both have the same title. I was trying to add menu items to [popupButton menu], but with no luck. I was also trying to creat
I have some submenu inserted as Window item submenu of Main Menu I have an instance of my object (let\'s assume its class name is MenuController) inherited from NSObject and supports 2 from NSMenuDel
I\'m working on an application that needs to display a context menu on screen in various scenarios. In the function I\'m writing, I don\'t have access to any NSWindows or NSViews. I\'d like to use pop
In trying to learn the very fundamentals of menu handling. My test app\'s menubar has 3 menus -- namel开发者_JAVA百科y \"TestApp\", \"File\" and \"Help\". I find I can remove these menus entirely, sim
I\'ve a MainMenu.xib and a MyDocument.xib. I need to dynamically populate some NSMenuItem\'s from my document controller but I\'m at a loss on how to get to it from MainMenu.xib.
I have a text field and a button living in a view inside a menu item. The button submits the string in the text field to a function, and that works fine. However, I\'ve also set the button\'s key equi
I\'m trying 开发者_开发问答to create a LSUIElement app that behaves like Spotlight, CoverSutra and other apps of that type. I managed to create a custom NSStatusItem, which popups up an NSWindow but t
I\'ve an IBAction that calls up a pa开发者_开发技巧nel. I want to invoke that action with a keyboard shortcut but I\'m at a loss on how to do it.