libs-gui/Documentation/gsdoc/NSPasteboard.html
Adam Fedor 8cd9572170 Version 0.7.9
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14167 72102866-910b-0410-8b05-ffd578937521
2002-07-17 14:06:33 +00:00

455 lines
18 KiB
HTML

<html>
<head>
<title>NSPasteboard</title>
</head>
<body>
<a href="Gui.html">Up</a>
<br />
<h1><a name="title$NSPasteboard">NSPasteboard</a></h1>
<h3>Authors</h3>
<dl>
<dt>Richard Frith-Macdonald(<a href="mailto:richard@brainstorm.co.uk"><code>
richard@brainstorm.co.uk
</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
Implementation of class for communicating with the
pasteboard server.
</blockquote>
<p><b>Copyright:</b> (C) 1997,1999 Free Software Foundation, Inc.</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">Software documentation for the NSPasteboard class</a>
</li>
<li>
<a href="#002000000000">Software documentation for the
NSObject(NSPasteboardOwner)
informal protocol</a>
</li>
<li>
<a href="#003000000000">Software documentation for the
NSPasteboard(GNUstepExtensions)
category</a>
</li>
<li>
<a href="#004000000000">Software documentation for the NSURL(NSPasteboard)
category</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">
Software documentation for the NSPasteboard class
</a></h1>
<h2><a name="class$NSPasteboard">NSPasteboard</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSPasteboard.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>OpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+generalPasteboard">+generalPasteboard</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+mimeTypeForPasteboardType:">+mimeTypeForPasteboardType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardByFilteringData:ofType:">+pasteboardByFilteringData:ofType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardByFilteringFile:">+pasteboardByFilteringFile:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardByFilteringTypesInPasteboard:">+pasteboardByFilteringTypesInPasteboard:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardTypeForMimeType:">+pasteboardTypeForMimeType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardWithName:">+pasteboardWithName:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardWithUniqueName">+pasteboardWithUniqueName</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+typesFilterableTo:">+typesFilterableTo:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-addTypes:owner:">-addTypes:owner:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-availableTypeFromArray:">-availableTypeFromArray:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-changeCount">-changeCount</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-dataForType:">-dataForType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-declareTypes:owner:">-declareTypes:owner:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-name">-name</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-propertyListForType:">-propertyListForType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-readFileContentsType:toFile:">-readFileContentsType:toFile:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-readFileWrapper">-readFileWrapper</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-releaseGlobally">-releaseGlobally</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-setChangeCount:">-setChangeCount:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-setData:forType:">-setData:forType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-setPropertyList:forType:">-setPropertyList:forType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-setString:forType:">-setString:forType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-stringForType:">-stringForType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-types">-types</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-writeFileContents:">-writeFileContents:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-writeFileWrapper:">-writeFileWrapper:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSPasteboard+generalPasteboard">generalPasteboard</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>generalPasteboard</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardByFilteringData:ofType:">pasteboardByFilteringData:ofType:</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>pasteboardByFilteringData:</b> (NSData*)data<b> ofType:</b> (NSString*)type;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardByFilteringFile:">pasteboardByFilteringFile:</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>pasteboardByFilteringFile:</b> (NSString*)filename;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardByFilteringTypesInPasteboard:">pasteboardByFilteringTypesInPasteboard:</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>pasteboardByFilteringTypesInPasteboard:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)pboard;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardWithName:">pasteboardWithName:</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>pasteboardWithName:</b> (NSString*)aName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardWithUniqueName">pasteboardWithUniqueName</a></h3>
+ (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*) <b>pasteboardWithUniqueName</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+typesFilterableTo:">typesFilterableTo:</a></h3>
+ (NSArray*) <b>typesFilterableTo:</b> (NSString*)type;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-addTypes:owner:">addTypes:owner:</a></h3>
- (int) <b>addTypes:</b> (NSArray*)newTypes<b> owner:</b> (id)newOwner;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-availableTypeFromArray:">availableTypeFromArray:</a></h3>
- (NSString*) <b>availableTypeFromArray:</b> (NSArray*)types;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-changeCount">changeCount</a></h3>
- (int) <b>changeCount</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-dataForType:">dataForType:</a></h3>
- (NSData*) <b>dataForType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-declareTypes:owner:">declareTypes:owner:</a></h3>
- (int) <b>declareTypes:</b> (NSArray*)newTypes<b> owner:</b> (id)newOwner;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-name">name</a></h3>
- (NSString*) <b>name</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-propertyListForType:">propertyListForType:</a></h3>
- (id) <b>propertyListForType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-readFileContentsType:toFile:">readFileContentsType:toFile:</a></h3>
- (NSString*) <b>readFileContentsType:</b> (NSString*)type<b> toFile:</b> (NSString*)filename;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-readFileWrapper">readFileWrapper</a></h3>
- (<a rel="gsdoc" href="NSFileWrapper.html#class$NSFileWrapper">NSFileWrapper</a>*) <b>readFileWrapper</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-releaseGlobally">releaseGlobally</a></h3>
- (void) <b>releaseGlobally</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-setData:forType:">setData:forType:</a></h3>
- (BOOL) <b>setData:</b> (NSData*)data<b> forType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-setPropertyList:forType:">setPropertyList:forType:</a></h3>
- (BOOL) <b>setPropertyList:</b> (id)propertyList<b> forType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-setString:forType:">setString:forType:</a></h3>
- (BOOL) <b>setString:</b> (NSString*)string<b> forType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-stringForType:">stringForType:</a></h3>
- (NSString*) <b>stringForType:</b> (NSString*)dataType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-types">types</a></h3>
- (NSArray*) <b>types</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-writeFileContents:">writeFileContents:</a></h3>
- (BOOL) <b>writeFileContents:</b> (NSString*)filename;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-writeFileWrapper:">writeFileWrapper:</a></h3>
- (BOOL) <b>writeFileWrapper:</b> (<a rel="gsdoc" href="NSFileWrapper.html#class$NSFileWrapper">NSFileWrapper</a>*)wrapper;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h1><a name="002000000000">
Software documentation for the
NSObject(NSPasteboardOwner)
informal protocol
</a></h1>
<h2>NSObject(<a name="category$NSObject(NSPasteboardOwner)">NSPasteboardOwner</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSPasteboard.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>OpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSObject-pasteboard:provideDataForType:">-pasteboard:provideDataForType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSObject-pasteboard:provideDataForType:andVersion:">-pasteboard:provideDataForType:andVersion:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSObject-pasteboardChangedOwner:">-pasteboardChangedOwner:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSObject-pasteboard:provideDataForType:">pasteboard:provideDataForType:</a></h3>
- (void) <b>pasteboard:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)sender<b> provideDataForType:</b> (NSString*)type;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSObject-pasteboard:provideDataForType:andVersion:">pasteboard:provideDataForType:andVersion:</a></h3>
- (void) <b>pasteboard:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)sender<b> provideDataForType:</b> (NSString*)type<b> andVersion:</b> (int)ver;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSObject-pasteboardChangedOwner:">pasteboardChangedOwner:</a></h3>
- (void) <b>pasteboardChangedOwner:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)sender;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h1><a name="003000000000">
Software documentation for the
NSPasteboard(GNUstepExtensions)
category
</a></h1>
<h2><a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>(<a name="category$NSPasteboard(GNUstepExtensions)">GNUstepExtensions</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSPasteboard.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>OpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+mimeTypeForPasteboardType:">+mimeTypeForPasteboardType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard+pasteboardTypeForMimeType:">+pasteboardTypeForMimeType:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSPasteboard-setChangeCount:">-setChangeCount:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSPasteboard+mimeTypeForPasteboardType:">mimeTypeForPasteboardType:</a></h3>
+ (NSString*) <b>mimeTypeForPasteboardType:</b> (NSString*)type;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard+pasteboardTypeForMimeType:">pasteboardTypeForMimeType:</a></h3>
+ (NSString*) <b>pasteboardTypeForMimeType:</b> (NSString*)mimeType;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSPasteboard-setChangeCount:">setChangeCount:</a></h3>
- (void) <b>setChangeCount:</b> (int)count;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h1><a name="004000000000">
Software documentation for the NSURL(NSPasteboard)
category
</a></h1>
<h2>NSURL(<a name="category$NSURL(NSPasteboard)">NSPasteboard</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSPasteboard.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>NotOpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSURL+URLFromPasteboard:">+URLFromPasteboard:</a></li>
<li><a rel="gsdoc" href="NSPasteboard.html#method$NSURL-writeToPasteboard:">-writeToPasteboard:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSURL+URLFromPasteboard:">URLFromPasteboard:</a></h3>
+ (NSURL*) <b>URLFromPasteboard:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)pasteBoard;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSURL-writeToPasteboard:">writeToPasteboard:</a></h3>
- (void) <b>writeToPasteboard:</b> (<a rel="gsdoc" href="#class$NSPasteboard">NSPasteboard</a>*)pasteBoard;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br />
<a href="Gui.html">Up</a>
</body>
</html>