Hi

I'm trying to bind double click actions of an NSTableView to "file's owner" and can't figure out exactly how to set them up. My file's owner has a double click handler defined like so:

- (void) handleDoubleClick:(NSNumber *) inRowIndex;

Given that, how would I set up the bindings for both "Double Click Target" and "Double Click Target" to bind the index of the clicked row to the file's owner?

Double Click Argument
        bind to: file's owner
        model key path: ????
selector: clickedRow // trying to pass clicked row index to handleDoubleClick

Double Click Target
        bind to: file's owner
        model key path: self
        selector: handleDoubleClick

Thanks for any help.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to