• 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: Table view with widgets inside
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table view with widgets inside


  • Subject: Re: Table view with widgets inside
  • From: David Remahl <email@hidden>
  • Date: Thu, 15 Nov 2001 23:16:01 +0100

It is possible to use any subclass of NSCell. If you want to see an example
of Sliders, I can send you some code of mine ("Cocoa Fortune") which does
that in the prefs dialog. If i stuff it all, it will be a few megs, (because
that would include the fortune files), but if you could do with just the
code it will be just a few kb...Mail me if you need it.

/ david

> This is certainly possible for a button. NSTableView draws it's entries
> using an NSCell subclass, one for each column. If you use the
> "setDataCell:" method of NSTableColumn to make the data cell for the
> column an NSButtonCell, you should be able to have buttons.
> Don't know about sliders though.
>
> Drew McCormack
>
>> Greetings,
>>
>> Is there any kind of thing like an NSTableView in which one or more of
>> the columns contains a widget, such as a NSSlider or NSButton, one for
>> each row? Would this be a time to use NSMatrix or something?
>>
>>
>> Thanks!
>> --
>> David McCabe
>> http://homepage.mac.com/davidmccabe/
>> 'finger email@hidden' for PGP key.
>> No PGP sig because it's broken. Will fix soon.
>> Wrfhf ybirf lbh!


References: 
 >Re: Table view with widgets inside (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: Table view with widgets inside
  • Next by Date: Text System perplexity. Use Swing instead?
  • Previous by thread: Re: Table view with widgets inside
  • Next by thread: Re: Table view with widgets inside
  • Index(es):
    • Date
    • Thread