Double-click action in an NSOutlineView
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.