• 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
Double-click action in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Double-click action in an NSOutlineView


  • Subject: Double-click action in an NSOutlineView
  • From: Jean-Francois Roy <email@hidden>
  • Date: Tue, 14 Jan 2003 17:53:36 -0500

Hello.

I am new to Cocoa and I am trying to do the a file browser using a NSOutlineView (not to browse the filesystem, but rather a compressed archive).

I am using the ImageAndTextCell subclass Apple wrote in their DragNDropOutlineView example (AppKit examples).

It works great, except that instead of editing the name when double-clicking on a group item, I would like it to perform some selector that would reload the content of the view so that the root item is now the double-clicked group (like the Finder basically). Then of course the question of how to provide editing capabilities to group items begs itself.

Can anyone help me with that? Perhaps there exists examples of how to do that.

Thanks.

Jeff Roy

--
Co-Founder of MacStorm
Programmer at MacStorm

http://www.macstorm.net
http://www.theworldcrafters.com
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Double-click action in an NSOutlineView
      • From: Quentin Mathé <email@hidden>
  • Prev by Date: Re: Unicode canonical decomposed form and text encoding
  • Next by Date: Re: Dates and localization
  • Previous by thread: Re: SSH support in CVS menu of PB
  • Next by thread: Re: Double-click action in an NSOutlineView
  • Index(es):
    • Date
    • Thread