• 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: Image and title in NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image and title in NSPopUpButton


  • Subject: Re: Image and title in NSPopUpButton
  • From: j o a r <email@hidden>
  • Date: Sun, 6 Nov 2005 21:22:29 +0100


On 6 nov 2005, at 20.57, Simon Brée wrote:

But I don't get your point : can you give me a example if code of such a process ?

This would set the image of the first item in the pop-up menu:

[[myPopUpButton itemAtIndex: 0] setImage: [NSImage imageNamed: @"SomeImage"]];

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Image and title in NSPopUpButton (From: Simon Brée <email@hidden>)
 >Re: Image and title in NSPopUpButton (From: j o a r <email@hidden>)
 >Re: Image and title in NSPopUpButton (From: Simon Brée <email@hidden>)

  • Prev by Date: how to add multiple-selection pull-down menu in IB?
  • Next by Date: Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • Previous by thread: Re: Image and title in NSPopUpButton
  • Next by thread: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • Index(es):
    • Date
    • Thread