• 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 19:32:32 +0000


On 28 Nov 2007, at 18:48, Corbin Dunn wrote:

Tim -- you are right. I am talking about NSMenu, but your original email seems to indicate that is what you wanted:

Fair comment, my initial wording really wasnt that great :)

A context menu is a regular menu; not a HUD. I would discourage you from creating UI that does something other than pop up a context menu on the right click; it won't be what people expect, and isn't easily discoverable. Apps that use HUD's typically bring them up in some other way. For instance, they have a button in the cell to bring it up, a toolbar item (Aperture), or an item in the context menu itself (iCal).

Sounds like its best to stick to a context menu for the time being. The obvious one that uses HUD on right click is Interface builder.... :)
Thats why I was thinking of using a HUD rather than a context menu, as some of the parameters I need to set are not "context menu friendly". What are your thoughts?


If you really want to do a HUD, you will probably have to subclass NSTableView, override mouseDown:, call super (to do all the work of tracking and changing the selection), and then show your HUD if it was a right click.

Its actually on a NSOutlineView - is the same applicable?

Cheers

Tim


_______________________________________________

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>)
 >Re: 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: Getting modified object in observeValueForKeyPath:ofObject:change:context: for non-simple key paths
  • Next by Date: Refresh problem with right aligned rectangle while resizing anNSOutlineView
  • 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