• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drag & Drop on in a NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Drag & Drop on in a NSMatrix
      • From: Timothy Ritchey <email@hidden>
  • Prev by Date: Re: Left and Right Aligned Column in NSTableView
  • Next by Date: Re: [solved] NSBox and its contentView
  • Previous by thread: Re: Providing bindings support
  • Next by thread: Re: Drag & Drop on in a NSMatrix
  • Index(es):
    • Date
    • Thread