Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table view with widgets inside



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!
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Table view with widgets inside (From: David McCabe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.