• 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: Checkboxes and NSBox titles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checkboxes and NSBox titles


  • Subject: Re: Checkboxes and NSBox titles
  • From: "e.sammer" <email@hidden>
  • Date: Tue, 12 Jun 2001 20:05:50 -0400

Bill Cheeseman wrote:

The newest version of the Aqua HI Guidelines states that it is permissible
to use a checkbox or a pop-up menu as the title of an NSBox. But the current
version of Interface Builder doesn't provide a means to do so.

Presumably, it can be done programmatically. Could somebody give me a head
start on how to do this? NSBox has a method, titleCell, that returns the
cell holding the title. I imagine that I want to substitute an NSButtonCell
for that cell, but I'm not sure how to go about it.


In my experience, most places where one is "allowed" to specify a different cell class,
there is a - setCellClass: or - setCell: method availble. (See NSBrowser or NSTableView
for the standard deffinitions). I haven't checked the docs lately, but there might be something
similar in NSBox (or something that it inherits from...)



--

e.sammer
email@hidden


  • Follow-Ups:
    • Re: Checkboxes and NSBox titles
      • From: Bill Cheeseman <email@hidden>
References: 
 >Checkboxes and NSBox titles (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Newbie question: Scaling images
  • Next by Date: Re: Kernel Framework missing?
  • Previous by thread: Checkboxes and NSBox titles
  • Next by thread: Re: Checkboxes and NSBox titles
  • Index(es):
    • Date
    • Thread