column of buttons in NSTableView
column of buttons in NSTableView
- Subject: column of buttons in NSTableView
- From: Boyd Collier <email@hidden>
- Date: Mon, 30 Oct 2006 13:02:26 -0800
I just had a look at TableDemo at www.macdevcenter.com, which is very
clear and easy to understand.
I'd like to make some changes in it so that a column will contain
switch buttons. It looks like this would be easy simply by creating
as many instances of NSButtonCell as I need, setting their type to
NSSwitchButton, putting them in an instance of NSArray that becomes
part of my data source, etc. But this also seems wasteful of space if
the column is very long, and I'm wondering whether there is a
commonly-used, efficient way of accomplishing the job. Feel free to
tell me that I'm remiss for having overlooked something in the docs
or in sample code that everyone should know about, but please point
me to what I've missed.
Thanks,
Boyd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden