libs-gui/Documentation/gsdoc/NSWorkspace.html

283 lines
7.8 KiB
HTML
Raw Normal View History

<html>
<head>
<title>NSWorkspace</title>
</head>
<body>
<h1>NSWorkspace</h1>
<h3>Authors</h3>
<dl>
<dt>Scott Christley(<a href="mailto:scottc@net-community.com"><code>
scottc@net-community.com
</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
Workspace class </blockquote>
<p>Copyright: (C) 1996-1999, 2001 Free Software Foundation, Inc.</p>
<h1>
Software documentation for the NSWorkspace class
</h1>
<h2><a name="class$NSWorkspace">NSWorkspace</a> : NSObject</h2>
Declared: AppKit/NSWorkspace.h<br />
<p>
</p>
<h3>sharedWorkspace</a></h3>
+ (<a href="#class$NSWorkspace">NSWorkspace</a>*) <b>sharedWorkspace</b>;<br />
<p>
</p>
<hr />
<h3>checkForRemovableMedia</a></h3>
- (void) <b>checkForRemovableMedia</b>;<br />
<p>
</p>
<hr />
<h3>extendPowerOffBy:</a></h3>
- (int) <b>extendPowerOffBy:</b> (int)requested;<br />
<p>
</p>
<hr />
<h3>fileSystemChanged</a></h3>
- (BOOL) <b>fileSystemChanged</b>;<br />
<p>
</p>
<hr />
<h3>findApplications</a></h3>
- (void) <b>findApplications</b>;<br />
<p>
</p>
<hr />
<h3>fullPathForApplication:</a></h3>
- (NSString*) <b>fullPathForApplication:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:</a></h3>
- (BOOL) <b>getFileSystemInfoForPath:</b> (NSString*)fullPath<b> isRemovable:</b> (BOOL*)removableFlag<b> isWritable:</b> (BOOL*)writableFlag<b> isUnmountable:</b> (BOOL*)unmountableFlag<b> description:</b> (NSString**)description<b> type:</b> (NSString**)fileSystemType;<br />
<p>
</p>
<hr />
<h3>getInfoForFile:application:type:</a></h3>
- (BOOL) <b>getInfoForFile:</b> (NSString*)fullPath<b> application:</b> (NSString**)appName<b> type:</b> (NSString**)type;<br />
<p>
</p>
<hr />
<h3>hideOtherApplications</a></h3>
- (void) <b>hideOtherApplications</b>;<br />
<p>
</p>
<hr />
<h3>iconForFile:</a></h3>
- (<a href="NSImage.html#class$NSImage">NSImage</a>*) <b>iconForFile:</b> (NSString*)aPath;<br />
<p>
</p>
<hr />
<h3>iconForFileType:</a></h3>
- (<a href="NSImage.html#class$NSImage">NSImage</a>*) <b>iconForFileType:</b> (NSString*)fileType;<br />
<p>
</p>
<hr />
<h3>iconForFiles:</a></h3>
- (<a href="NSImage.html#class$NSImage">NSImage</a>*) <b>iconForFiles:</b> (NSArray*)pathArray;<br />
<p>
</p>
<hr />
<h3>isFilePackageAtPath:</a></h3>
- (BOOL) <b>isFilePackageAtPath:</b> (NSString*)fullPath;<br />
<p>
</p>
<hr />
<h3>launchApplication:</a></h3>
- (BOOL) <b>launchApplication:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>launchApplication:showIcon:autolaunch:</a></h3>
- (BOOL) <b>launchApplication:</b> (NSString*)appName<b> showIcon:</b> (BOOL)showIcon<b> autolaunch:</b> (BOOL)autolaunch;<br />
<p>
</p>
<hr />
<h3>mountNewRemovableMedia</a></h3>
- (NSArray*) <b>mountNewRemovableMedia</b>;<br />
<p>
</p>
<hr />
<h3>mountedLocalVolumePaths</a></h3>
- (NSArray*) <b>mountedLocalVolumePaths</b>;<br />
<p>
</p>
<hr />
<h3>mountedRemovableMedia</a></h3>
- (NSArray*) <b>mountedRemovableMedia</b>;<br />
<p>
</p>
<hr />
<h3>noteFileSystemChanged</a></h3>
- (void) <b>noteFileSystemChanged</b>;<br />
<p>
</p>
<hr />
<h3>noteFileSystemChanged:</a></h3>
- (void) <b>noteFileSystemChanged:</b> (NSString*)path;<br />
<p>
</p>
<hr />
<h3>noteUserDefaultsChanged</a></h3>
- (void) <b>noteUserDefaultsChanged</b>;<br />
<p>
</p>
<hr />
<h3>notificationCenter</a></h3>
- (NSNotificationCenter*) <b>notificationCenter</b>;<br />
<p>
</p>
<hr />
<h3>openFile:</a></h3>
- (BOOL) <b>openFile:</b> (NSString*)fullPath;<br />
<p>
</p>
<hr />
<h3>openFile:fromImage:at:inView:</a></h3>
- (BOOL) <b>openFile:</b> (NSString*)fullPath<b> fromImage:</b> (<a href="NSImage.html#class$NSImage">NSImage</a>*)anImage<b> at:</b> (NSPoint)point<b> inView:</b> (<a href="NSView.html#class$NSView">NSView</a>*)aView;<br />
<p>
</p>
<hr />
<h3>openFile:withApplication:</a></h3>
- (BOOL) <b>openFile:</b> (NSString*)fullPath<b> withApplication:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>openFile:withApplication:andDeactivate:</a></h3>
- (BOOL) <b>openFile:</b> (NSString*)fullPath<b> withApplication:</b> (NSString*)appName<b> andDeactivate:</b> (BOOL)flag;<br />
<p>
</p>
<hr />
<h3>openTempFile:</a></h3>
- (BOOL) <b>openTempFile:</b> (NSString*)fullPath;<br />
<p>
</p>
<hr />
<h3>openURL:</a></h3>
- (BOOL) <b>openURL:</b> (NSURL*)url;<br />
<p>
</p>
<hr />
<h3>performFileOperation:source:destination:files:tag:</a></h3>
- (BOOL) <b>performFileOperation:</b> (NSString*)operation<b> source:</b> (NSString*)source<b> destination:</b> (NSString*)destination<b> files:</b> (NSArray*)files<b> tag:</b> (int*)tag;<br />
<p>
</p>
<hr />
<h3>selectFile:inFileViewerRootedAtPath:</a></h3>
- (BOOL) <b>selectFile:</b> (NSString*)fullPath<b> inFileViewerRootedAtPath:</b> (NSString*)rootFullpath;<br />
<p>
</p>
<hr />
<h3>slideImage:from:to:</a></h3>
- (void) <b>slideImage:</b> (<a href="NSImage.html#class$NSImage">NSImage</a>*)image<b> from:</b> (NSPoint)fromPoint<b> to:</b> (NSPoint)toPoint;<br />
<p>
</p>
<hr />
<h3>unmountAndEjectDeviceAtPath:</a></h3>
- (BOOL) <b>unmountAndEjectDeviceAtPath:</b> (NSString*)path;<br />
<p>
</p>
<hr />
<h3>userDefaultsChanged</a></h3>
- (BOOL) <b>userDefaultsChanged</b>;<br />
<p>
</p>
<hr />
<h1>
Software documentation for the NSWorkspace(GNUstep)
category
</h1>
<h2><a href="#class$NSWorkspace">NSWorkspace</a>(<a name="category$NSWorkspace(GNUstep)">GNUstep</a>)</h2>
Declared: AppKit/NSWorkspace.h<br />
<p>
</p>
<h3>appIconForApp:</a></h3>
- (<a href="NSImage.html#class$NSImage">NSImage</a>*) <b>appIconForApp:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>bundleForApp:</a></h3>
- (NSBundle*) <b>bundleForApp:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>getBestAppInRole:forExtension:</a></h3>
- (NSString*) <b>getBestAppInRole:</b> (NSString*)role<b> forExtension:</b> (NSString*)ext;<br />
<p>
</p>
<hr />
<h3>getBestIconForExtension:</a></h3>
- (NSString*) <b>getBestIconForExtension:</b> (NSString*)ext;<br />
<p>
</p>
<hr />
<h3>infoForExtension:</a></h3>
- (NSDictionary*) <b>infoForExtension:</b> (NSString*)ext;<br />
<p>
</p>
<hr />
<h3>locateApplicationBinary:</a></h3>
- (NSString*) <b>locateApplicationBinary:</b> (NSString*)appName;<br />
<p>
</p>
<hr />
<h3>setBestApp:inRole:forExtension:</a></h3>
- (void) <b>setBestApp:</b> (NSString*)appName<b> inRole:</b> (NSString*)role<b> forExtension:</b> (NSString*)ext;<br />
<p>
</p>
<hr />
<h3>setBestIcon:forExtension:</a></h3>
- (void) <b>setBestIcon:</b> (NSString*)iconPath<b> forExtension:</b> (NSString*)ext;<br />
<p>
</p>
<hr />
</body>
</html>