Günther Noack wrote:
Hi!
I recently tried to implement the preferences dialog for DictionaryReader, as
depicted in the attachment to the message
https://mail.gna.org/public/etoile-dev/2006-08/msg00016.html . I could not find
out how to set the states of the checkboxes in the table. I found that Rob
Burns' and Yen-Ju's Expense.app uses some code from GNUMail to do this, but as
I know that lots of GNUMail code was written when Gorm didn't support all the
needed features, I can imagine that there's an easier way to do it.
Does somebody know how to use checkboxes in table views or could point me to
the right place to find it out?
Thanks,
Günther
- (void) awakeFromNib
{
NSButtonCell * switchCell = ...; // set up your switch button cell
[[myTable tableColumnWithIdentifier: @"whatever"] setDataCell:
switchCell];
}
that's it.
--
Saso
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss