• 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: Updating an NSPopUpButtonCell menu in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Updating an NSPopUpButtonCell menu in an NSOutlineView (From: René Puls <email@hidden>)
 >Re: Updating an NSPopUpButtonCell menu in an NSOutlineView (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: nsmovieview and movie cursor position
  • Next by Date: sending a message to the application
  • Previous by thread: Re: Updating an NSPopUpButtonCell menu in an NSOutlineView
  • Next by thread: Retriving the tag of superMenu Items
  • Index(es):
    • Date
    • Thread