Re: Updating an NSPopUpButtonCell menu in an NSOutlineView
Re: Updating an NSPopUpButtonCell menu in an NSOutlineView
- Subject: Re: Updating an NSPopUpButtonCell menu in an NSOutlineView
- From: René Puls <email@hidden>
- Date: Tue, 7 Dec 2004 16:33:11 +0100
Am 07.12.2004 um 14:54 schrieb Fritz Anderson:
The usual way to customize the properties of a cell by row and column
in an NSTableView is with the delegate method
tableView:willDisplayCell:forTableColumn:row:. This gives you the
cell, row, and column.
That seems to work, thank you! I guess this should have been obvious...
I would rather use the NSMenu delegation methods though, because I'm
now doing lots of unnecessary menu updates every time a cell is
displayed. It would be better, performance-wise, if I could delay the
updates until a menu is actually displayed.
Is it a known bug (or perhaps intentional) that the NSMenu delegate
isn't called for popup button cells?
Kind regards,
René Puls
_______________________________________________
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