Re: Adding HUD context pannel to rows within NSOutlineView
Re: Adding HUD context pannel to rows within NSOutlineView
- Subject: Re: Adding HUD context pannel to rows within NSOutlineView
- From: Corbin Dunn <email@hidden>
- Date: Wed, 28 Nov 2007 08:54:13 -0800
What I would like to end up with is on my outline view (that already
works no problems), when the user right-clicks one of the rows, I
would like that one to become the selected row, and a context menu
to popup beside, from which I can set some parameters. I have read
about the menu outlet, but im not sure if thats the right way to go,
and even if it is, what it needs to be connected to?
Can anyone point me in the right direction? Any help at all would be
greatly appreciated :)
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