2001-12-17 16:51:51 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>NSOpenPanel</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>NSOpenPanel</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>
|
|
|
|
<dt>(<a href="mailto:boehring@biomed.ruhr-uni-bochum.de"><code>
|
|
|
|
boehring@biomed.ruhr-uni-bochum.de
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Nicola Pero(<a href="mailto:n.pero@mi.flashnet.it"><code>
|
|
|
|
n.pero@mi.flashnet.it
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
<dt>Mirko Viviani(<a href="mailto:mirko.viviani@rccr.cremona.it"><code>
|
|
|
|
mirko.viviani@rccr.cremona.it
|
|
|
|
</code></a>)</dt>
|
|
|
|
<dd>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<blockquote>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
Standard open panel for opening files
|
|
|
|
</blockquote>
|
|
|
|
<p>Copyright: (C)
|
|
|
|
1996, 1998, 1999, 2000 Free Software Foundation, Inc.
|
|
|
|
</p>
|
|
|
|
<h1>
|
|
|
|
Software documentation for the NSOpenPanel class
|
|
|
|
</h1>
|
|
|
|
<h2><a name="class$NSOpenPanel">NSOpenPanel</a> : <a href="NSSavePanel.html#class$NSSavePanel">NSSavePanel</a></h2>
|
|
|
|
Declared: AppKit/NSOpenPanel.h<br />
|
|
|
|
Conform: NSCoding<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<h3>openPanel</a></h3>
|
|
|
|
+ (<a href="#class$NSOpenPanel">NSOpenPanel</a>*) <b>openPanel</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>URLs</a></h3>
|
|
|
|
- (NSArray*) <b>URLs</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>allowsMultipleSelection</a></h3>
|
|
|
|
- (BOOL) <b>allowsMultipleSelection</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:</a></h3>
|
|
|
|
- (void) <b>beginSheetForDirectory:</b> (NSString*)path<b> file:</b> (NSString*)name<b> types:</b> (NSArray*)fileTypes<b> modalForWindow:</b> (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*)docWindow<b> modalDelegate:</b> (id)delegate<b> didEndSelector:</b> (SEL)didEndSelector<b> contextInfo:</b> (void*)contextInfo;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>canChooseDirectories</a></h3>
|
|
|
|
- (BOOL) <b>canChooseDirectories</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>canChooseFiles</a></h3>
|
|
|
|
- (BOOL) <b>canChooseFiles</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>filenames</a></h3>
|
|
|
|
- (NSArray*) <b>filenames</b>;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>runModalForDirectory:file:types:</a></h3>
|
|
|
|
- (int) <b>runModalForDirectory:</b> (NSString*)path<b> file:</b> (NSString*)name<b> types:</b> (NSArray*)fileTypes;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>runModalForDirectory:file:types:relativeToWindow:</a></h3>
|
|
|
|
- (int) <b>runModalForDirectory:</b> (NSString*)path<b> file:</b> (NSString*)name<b> types:</b> (NSArray*)fileTypes<b> relativeToWindow:</b> (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*)window;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>runModalForTypes:</a></h3>
|
|
|
|
- (int) <b>runModalForTypes:</b> (NSArray*)fileTypes;<br />
|
|
|
|
<p>
|
2000-03-05 17:39:16 +00:00
|
|
|
|
2001-12-17 16:51:51 +00:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setAllowsMultipleSelection:</a></h3>
|
|
|
|
- (void) <b>setAllowsMultipleSelection:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setCanChooseDirectories:</a></h3>
|
|
|
|
- (void) <b>setCanChooseDirectories:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<h3>setCanChooseFiles:</a></h3>
|
|
|
|
- (void) <b>setCanChooseFiles:</b> (BOOL)flag;<br />
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
</body>
|
|
|
|
</html>
|