Drag & Drop on in a NSMatrix
Drag & Drop on in a NSMatrix
- Subject: Drag & Drop on in a NSMatrix
- From: Lee Morgan <email@hidden>
- Date: Mon, 15 Dec 2003 01:33:38 -0500
Hi all, I'm working on a thumbnail matrix using a (you guessed it)
NSMatrix. I've got the matrix working fine with NSImageCell and now I'm
wanting to add in drag and drop support to allow the user to rearrange
the contents of the matrix. While I've used drag and drop support in a
NSTableView (which was nice and simple mind you) I don't see any such
easy way to add in the support to my NSMatrix. The code I used in the
table view (such as -(BOOL)tableView:(NSTableView*)inTableView
writeRows:(NSArray*)inRows toPasteboard:(NSPasteboard*)inPasteboard)
doesn't seem to exist in any form for a matrix.
Does NSMatrix not support drag and drop like a table view?
And does anyone know where I can find some sample code for handling
drag and drop within a matrix and from a matrix to a table view?
Thanks,
Lee Morgan
_______________________________________________
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.