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

Programmatically adding separator to NSPopupButton?


  • Subject: Programmatically adding separator to NSPopupButton?
  • From: Matt Ridley <email@hidden>
  • Date: Fri, 18 May 2001 19:23:47 +0100

Hi folks,

I've been using NSPopupButton's addItemWithTitle: method to dynamically construct a popup menu. 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.

Could anyone help me with this?


Best,
-Matt

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


  • Follow-Ups:
    • Re: Programmatically adding separator to NSPopupButton?
      • From: Andrew Platzer <email@hidden>
    • Re: Programmatically adding separator to NSPopupButton?
      • From: Dan Wood <email@hidden>
  • Prev by Date: Re: Property List Question
  • Next by Date: Re: EOF (was Re: Cocoa CGI)
  • Previous by thread: Serial port support
  • Next by thread: Re: Programmatically adding separator to NSPopupButton?
  • Index(es):
    • Date
    • Thread