Re: NSPasteboardPromiseTimeout question
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