• 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
pop up button with different cell class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pop up button with different cell class


  • Subject: pop up button with different cell class
  • From: Francisco Tolmasky <email@hidden>
  • Date: Sat, 30 Aug 2003 22:50:25 -0700

Ok, I have a custom cell class that inherits from NSPopUpButtonCell. Now, if I want to have an nspopupbutton that is like this cell, is using the setCell: message enough? For example, can I say:

NSPopUpButton popUpButton= [[NSPopUpButton alloc] initWithFrame: someFrame];
[popUpButton setCell: myCustomPopUpButtonCell];

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: How to programmatically create a Finder Alias?
  • Next by Date: Re: getting the app name of an app that quits
  • Previous by thread: Re: How to programmatically create a Finder Alias?
  • Next by thread: How does one use NSTimer?
  • Index(es):
    • Date
    • Thread