• 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: Adding HUD context pannel to rows within NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding HUD context pannel to rows within NSOutlineView


  • Subject: Re: Adding HUD context pannel to rows within NSOutlineView
  • From: Tim Perrett <email@hidden>
  • Date: Wed, 28 Nov 2007 17:10:41 +0000

Hey Corbin

Thanks for the reply. Ive been looking at the DragNDropOutlineView example, and I found this comment

"On MacOS 10.5 and later, in willDisplayCell: we can dynamically set the contextual menu (right click menu) for a particular cell. If nothing is set, then the contextual menu for the NSOutlineView itself will be used. We will set a different menu for the "Expandable?" column, and leave the default one for everything else."

Which Im guessing is what you meant about making it easier in 10.5? Isn't that using NSMenu however? rather than a panel which I belie those little HUD windows are?

Thanks

Tim


On 28 Nov 2007, at 16:54, Corbin Dunn wrote:

Tim,
On Leopard, NSTableView/NSOutlineView has been enhanced to make this very easy to do. The AppKit release notes have some information on it, and the DragNDropOutlineView demo app in developer/examples/ appkit has an example on how to do it.


corbin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Adding HUD context pannel to rows within NSOutlineView
      • From: Corbin Dunn <email@hidden>
References: 
 >Adding HUD context pannel to rows within NSOutlineView (From: Tim Perrett <email@hidden>)
 >Re: Adding HUD context pannel to rows within NSOutlineView (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Subclassing NSPrintPanel
  • Next by Date: New Cocoa functionality on Leopard
  • Previous by thread: Re: Adding HUD context pannel to rows within NSOutlineView
  • Next by thread: Re: Adding HUD context pannel to rows within NSOutlineView
  • Index(es):
    • Date
    • Thread