Skip navigation.
 
mlDouble-click action in an NSOutlineView
FROM : Jean-Francois Roy
DATE : Tue Jan 14 23:53:36 2003

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_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlDouble-click action in an NSOutlineView Jean-Francois Roy Jan 14, 23:53
mlRe: Double-click action in an NSOutlineView Quentin Mathé Jan 15, 03:05
mlRe: Double-click action in an NSOutlineView Jean-Francois Roy Jan 15, 03:25