• 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
Button cell palette
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Button cell palette


  • Subject: Button cell palette
  • From: Andrew Merenbach <email@hidden>
  • Date: Fri, 15 Nov 2002 22:29:33 -0800

I have about a dozen NSButtonCell subclasses, each of which draws a button in a different color (for a periodic table of the elements, which lays out the table in an NSMatrix). Instead of using all those classes, which are cumbersome, I'd like to create an IB palette that will allow me to create a "PTMatrix" which will can and will be filled with only a single NSButtonCell subclass. One other thing makes this a bit more complicated: this subclass must have a custom inspector in the info window, so I can set the color of each cell individually in IB.

I've had limited success with the IB palette examples and the tutorial from Aaron Hillegass' book, and any pointers would be appreciated. (For example, will I need to create not one, but *two* IB palettes, one for the matrix and one for its cells?)

Take care,
Andrew Merenbach
_______________________________________________
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: sending an email with cocoa
  • Next by Date: Re: Java-Bridge errors
  • Previous by thread: Default project bug?
  • Next by thread: Re: Button cell palette
  • Index(es):
    • Date
    • Thread