• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMenuItem +separatorItem. Separator showing a line programatically.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenuItem +separatorItem. Separator showing a line programatically.


  • Subject: Re: NSMenuItem +separatorItem. Separator showing a line programatically.
  • From: Jeremy Dronfield <email@hidden>
  • Date: Tue, 25 Jan 2005 15:00:52 +0000

On 25 Jan 2005, at 11:19 am, Danny Frey wrote:

----------------------
separatorItem

+ (id <NSMenuItem>)separatorItem
Returns a menu item that is used to separate logical groups of menu commands. This menu item is disabled. The default separator item is blank space.
----------------------


Using this in a menu gives me a space in the menu, I'd like a line as is the default in IB, (default in IB but not in cocoa?) can anyone tell me how to get one?

What version of OS X are you using? IIRC, the default separator changed from a blank space to a line in 10.3. I certainly get a line with +separatorItem.


Regards,

-Jeremy

===================================
SkoobySoft, home of viJournal and Skooby Renamer
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMenuItem +separatorItem. Separator showing a line programatically. (From: Danny Frey <email@hidden>)

  • Prev by Date: Re: NSMenuItem +separatorItem. Separator showing a line programatically.
  • Next by Date: Re: NSMenuItem +separatorItem. Separator showing a line programatically.
  • Previous by thread: Re: NSMenuItem +separatorItem. Separator showing a line programatically.
  • Next by thread: Trigger incomming call on modem
  • Index(es):
    • Date
    • Thread