Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set path for col 0 in NSBrowser



Hi !

I would like to set the path of column 0 in a browser to /myPath.

Using SimpleBrowser as an example I set:

- (NSString*)fsPathToColumn:(int)column {
    NSString *path = nil;
    if(column==0) path = [NSString stringWithFormat: @"/myPath"];
    else path = [fsBrowser pathToColumn: column];
    return path;
}

The display (myPath content) is correct in column 0, but the whole
thing (image display, type display, content display, children display
in column 1, click, etc...) doesn't work no more.

Thanks in advance for help and tips !

François
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.