Re: drag-and-drop support in an NSTableView
Re: drag-and-drop support in an NSTableView
- Subject: Re: drag-and-drop support in an NSTableView
- From: Alex Rice <email@hidden>
- Date: Wed, 20 Mar 2002 21:26:29 -0700
On Wednesday, March 20, 2002, at 04:09 PM, Chaz wrote:
Hello:
Does anybody know how to add drag-and-drop support for rows in an
NSTableView (like how iTunes let's use reorder songs by dragging)? In
the docs, it talks about dragging columns, but I can't find anything on
rows.
See in NSTableDataSource:
Drag and drop
- tableView:acceptDrop:row:dropOperation:
- tableView:validateDrop:proposedRow:proposedDropOperation:
- tableView:writeRows:toPasteboard:
There are also some drag-n-drop notes in NSTableView. But I'm pretty
sure you have to use NSTableDataSource as well.
Alex Rice <email@hidden>
Mindlube Software
http://www.mindlube.com/
_______________________________________________
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.