• 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: Programmatically adding separator to NSPopupButton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically adding separator to NSPopupButton?


  • Subject: Re: Programmatically adding separator to NSPopupButton?
  • From: Matt Ridley <email@hidden>
  • Date: Fri, 18 May 2001 21:39:51 +0100

On Friday, May 18, 2001, at 09:22 pm, Dan Wood wrote:

I need to add a standard separator to the popup menu, but I'm not sure how to do it. I tried using @"-" as the argument for addItemWithTitle: but that just resulted in an item with "-" as its title.

[[oMyPopupMenu menu] addItem:[NSMenuItem separatorItem]];


Thanks. :-)


-M

--
Matt Ridley
<http://www.mattridley.com/>


References: 
 >Re: Programmatically adding separator to NSPopupButton? (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: Programmatically adding separator to NSPopupButton?
  • Next by Date: Re: Capturing portion of an NSView for drag-and-drop image
  • Previous by thread: Re: Programmatically adding separator to NSPopupButton?
  • Next by thread: Re: Programmatically adding separator to NSPopupButton?
  • Index(es):
    • Date
    • Thread