Dragging out of an NSBrowser
Dragging out of an NSBrowser
- Subject: Dragging out of an NSBrowser
- From: Michael Becker <email@hidden>
- Date: Thu, 20 Nov 2003 19:18:24 +0100
Hi!
I am trying to kind of rebuild the Finder, only in a very limited way.
I have an NSBrowser that displays the file structure on the harddisk.
Now I would like to let people drag files out of the NSBrowser into an
NSTableView. You can already drag and drop into the TableView from
"outside", i.e. the "real" finder.
I tried to subclass NSBrowser and implement
draggingSourceOperationMaskForLocal: and mouseDragged: (as I read it in
a book about views in general). But it seems that those methods aren't
even called. Thus my question: What are the hidden secrets when trying
to drag out of an NSBrowser, i.e. to drag an NSBrowserCell? How do I go
about it?
- Michael
_______________________________________________
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.