• 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
Re: NSPasteboardPromiseTimeout question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPasteboardPromiseTimeout question


  • Subject: Re: NSPasteboardPromiseTimeout question
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 12 Jul 2006 22:08:17 -0700


On Jul 12, 2006, at 6:23 PM, Joseph Liu wrote:

Hey all.

I have a question about NSPasteboardPromiseTimeout. As far as I can tell, NSPasteboardPromiseTimeout is only mentioned once in the documentation for NSPasteboard under the dataForType method. I was looking through the documentation to try to find out more information about timeouts regarding promised data on the pasteboard, and all it says is that by default NSPasteboardPromiseTimeout is set to 120 seconds, implying that it can be modified. If it can be modified, what are the API(s) for modifying the value? Also what is the relation of NSFilesPromisePboardType with promise timeouts. I understand that it is used for drag and drop, but can it be used for copy/paste as well?

It's a user preference, which can be set by the "defaults" command, eg: "defaults write NSPastboardPromiseTimeout 60", to set it to 60 seconds, or see NSUserDefaults and NSUserDefaultsController.


-jcr



"This is not a book to be tossed aside lightly. Rather, it should be hurled with great force." -Dorothy Parker

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSPasteboardPromiseTimeout question (From: Joseph Liu <email@hidden>)

  • Prev by Date: Drag and Drop: NSImageView masks/prevents superview from receiving drag
  • Next by Date: threaded/forking server and distributed objects
  • Previous by thread: NSPasteboardPromiseTimeout question
  • Next by thread: Weird tabbing result... very weird
  • Index(es):
    • Date
    • Thread