![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSSavePanel</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSSavePanel">NSSavePanel</a></h1> <h3>Authors</h3> <dl> <dt>Jonathan Gapen (<a href="mailto:jagapen@smithlab.chem.wisc.edu"><code>jagapen@smithlab.chem.wisc.edu</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> Standard panel for saving files </blockquote> <p><b>Copyright:</b> (C) 1999, 2000 Free Software Foundation, Inc.</p> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">Software documentation for the NSSavePanel class</a> </li> <li> <a href="#002000000000">Software documentation for the NSObject(NSOpenSavePanelDelegate) informal protocol</a> </li> <li> <a href="#003000000000">Software documentation for the NSObject(NSSavePanelDelegate) informal protocol</a> </li> <li> <a href="#004000000000">Software documentation for the NSOpenSavePanelDelegate protocol</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000"> Software documentation for the NSSavePanel class </a></h1> <h2><a name="class$NSSavePanel">NSSavePanel</a> : <a rel="gsdoc" href="NSPanel.html#class$NSPanel">NSPanel</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSSavePanel.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Implements a panel that allows the user to save a file. </p> <p> </p> <p> There is only one save panel per application and this panel is obtained by calling the <a rel="gsdoc" href="#method$NSSavePanel+savePanel"> +savePanel </a> class method. From here, you should set the required file extension using <a rel="gsdoc" href="#method$NSSavePanel-setRequiredFileType$"> -setRequiredFileType: </a> When ready to show the panel, use the <a rel="gsdoc" href="#method$NSSavePanel-runModal"> -runModal </a> , or a similar method to show the panel in a modal session. Other methods allow you to set the initial directory and initially choosen file. The method will return one of NSOKButton or NSCancelButton depending on which button the user pressed. </p> <p> </p> <p> Use the <a rel="gsdoc" href="#method$NSSavePanel-filename"> -filename </a> method to retrieve the name of the file the user choose. </p> <p> </div> <hr width="50%" align="left" /> <a href="#_NSSavePanel_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel+savePanel">+savePanel</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-URL">-URL</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-accessoryView">-accessoryView</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-allowedFileTypes">-allowedFileTypes</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-allowsOtherFileTypes">-allowsOtherFileTypes</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-beginSheetForDirectory$file$modalForWindow$modalDelegate$didEndSelector$contextInfo$">-beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-beginSheetModalForWindow$completionHandler$">-beginSheetModalForWindow:completionHandler:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-beginWithCompletionHandler$">-beginWithCompletionHandler:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-canCreateDirectories">-canCreateDirectories</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-canSelectHiddenExtension">-canSelectHiddenExtension</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-cancel$">-cancel:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-directory">-directory</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-directoryURL">-directoryURL</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-filename">-filename</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-isExpanded">-isExpanded</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-isExtensionHidden">-isExtensionHidden</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-message">-message</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-nameFieldLabel">-nameFieldLabel</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-nameFieldStringValue">-nameFieldStringValue</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-ok$">-ok:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-prompt">-prompt</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-requiredFileType">-requiredFileType</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-runModal">-runModal</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-runModalForDirectory$file$">-runModalForDirectory:file:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-runModalForDirectory$file$relativeToWindow$">-runModalForDirectory:file:relativeToWindow:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-selectText$">-selectText:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setAccessoryView$">-setAccessoryView:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setAllowedFileTypes$">-setAllowedFileTypes:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setAllowsOtherFileTypes$">-setAllowsOtherFileTypes:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setCanCreateDirectories$">-setCanCreateDirectories:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setCanSelectHiddenExtension$">-setCanSelectHiddenExtension:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setDirectory$">-setDirectory:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setDirectoryURL$">-setDirectoryURL:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setExtensionHidden$">-setExtensionHidden:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setMessage$">-setMessage:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setNameFieldLabel$">-setNameFieldLabel:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setNameFieldStringValue$">-setNameFieldStringValue:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setPrompt$">-setPrompt:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setRequiredFileType$">-setRequiredFileType:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setShowsHiddenFiles$">-setShowsHiddenFiles:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setTitle$">-setTitle:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-setTreatsFilePackagesAsDirectories$">-setTreatsFilePackagesAsDirectories:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-showsHiddenFiles">-showsHiddenFiles</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-title">-title</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-treatsFilePackagesAsDirectories">-treatsFilePackagesAsDirectories</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSSavePanel-validateVisibleColumns">-validateVisibleColumns</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSSavePanel+savePanel">savePanel </a></h3> + (<a rel="gsdoc" href="#class$NSSavePanel">NSSavePanel</a>*) <b>savePanel</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Creates (if needed) and returns the shared NSSavePanel instance. </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-URL">URL </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*) <b>URL</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-accessoryView">accessoryView </a></h3> - (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*) <b>accessoryView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the accesory view (if any). </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setAccessoryView$"> -setAccessoryView: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-allowedFileTypes">allowedFileTypes </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>allowedFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> </p> <p> Returns an array of the allowed file types. The default, indicated by <code>nil</code>, is any file type is allowed. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setAllowedFileTypes$"> -setAllowedFileTypes: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-allowsOtherFileTypes">allowsOtherFileTypes </a></h3> - (BOOL) <b>allowsOtherFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-beginSheetForDirectory$file$modalForWindow$modalDelegate$didEndSelector$contextInfo$">beginSheetForDirectory: file: modalForWindow: modalDelegate: didEndSelector: contextInfo: </a></h3> - (void) <b>beginSheetForDirectory:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path<b> file:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename<b> modalForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)docWindow<b> modalDelegate:</b> (id)delegate<b> didEndSelector:</b> (SEL)didEndSelector<b> contextInfo:</b> (void*)contextInfo;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-beginSheetModalForWindow$completionHandler$">beginSheetModalForWindow: completionHandler: </a></h3> - (void) <b>beginSheetModalForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)window<b> completionHandler:</b> (GSSavePanelCompletionHandler)handler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-beginWithCompletionHandler$">beginWithCompletionHandler: </a></h3> - (void) <b>beginWithCompletionHandler:</b> (GSSavePanelCompletionHandler)handler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-canCreateDirectories">canCreateDirectories </a></h3> - (BOOL) <b>canCreateDirectories</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-canSelectHiddenExtension">canSelectHiddenExtension </a></h3> - (BOOL) <b>canSelectHiddenExtension</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-cancel$">cancel: </a></h3> - (void) <b>cancel:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Invoked by the 'Cancel' button. Saves the current directory browsed and stop the modal event loop using <a rel="gsdoc" href="NSApplication.html#method$NSApplication-stopModalWithCode$">[NSApplication -stopModalWithCode:]</a> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-ok$">-ok:</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-directory">directory </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>directory</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the directory choosen by the user. Do not invoke directory within a modal loop because the information that these methods fetch is updated only upon return. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setDirectory$"> -setDirectory: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-directoryURL">directoryURL </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*) <b>directoryURL</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-filename">filename </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>filename</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the absolute filename choosen by the user. Do not invoke filename within a modal loop because the information that these methods fetch is updated only upon return. </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-isExpanded">isExpanded </a></h3> - (BOOL) <b>isExpanded</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-isExtensionHidden">isExtensionHidden </a></h3> - (BOOL) <b>isExtensionHidden</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-message">message </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>message</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-nameFieldLabel">nameFieldLabel </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>nameFieldLabel</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-nameFieldStringValue">nameFieldStringValue </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>nameFieldStringValue</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-ok$">ok: </a></h3> - (void) <b>ok:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Invoked by the "OK" button. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-cancel$"> -cancel: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-prompt">prompt </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>prompt</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the prompt used in the current path field. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setPrompt$"> -setPrompt: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-requiredFileType">requiredFileType </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>requiredFileType</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the required file type. The default, indicated by an empty string, is no required file type. </p> <p> </p> <p> This method is equivalent to calling <a rel="gsdoc" href="#method$NSSavePanel-allowedFileTypes"> -allowedFileTypes </a> and returning the first element of the list of allowed types, or the empty string if there are none. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setRequiredFileType$"> -setRequiredFileType: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-runModal">runModal </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModal</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Shows the save panel for the user. This method invokes <a rel="gsdoc" href="#method$NSSavePanel-runModalForDirectory$file$"> -runModalForDirectory:file: </a> with empty strings for the filename. Returns NSOKButton (if the user clicks the OK button) or NSCancelButton (if the user clicks the Cancel button). </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-runModalForDirectory$file$"> -runModalForDirectory:file: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-runModalForDirectory$file$">runModalForDirectory: file: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModalForDirectory:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path<b> file:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Initializes the panel to the directory specified by <var>path</var> and, optionally, the file specified by <var>filename</var>, then displays it and begins its modal event loop; <var>path</var> and <var>filename</var> can be empty strings. The method invokes [NSApplication:-runModalForWindow:] method with self as the argument. Returns NSOKButton (if the user clicks the OK button) or NSCancelButton (if the user clicks the Cancel button). If <var>path</var> is <code>nil</code> then the panel displays the last selected directory or as a last resort, the current working directory. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-runModal"> -runModal </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-runModalForDirectory$file$relativeToWindow$">runModalForDirectory: file: relativeToWindow: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModalForDirectory:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path<b> file:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename<b> relativeToWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)window;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-selectText$">selectText: </a></h3> - (void) <b>selectText:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setAccessoryView$">setAccessoryView: </a></h3> - (void) <b>setAccessoryView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets an accessory view which is shown near the bottom of the panel. The panel is automatically expanded with enough room to show the extra view. You can use this extra view to customize various characteristics of the file selection mechanism. For instance you could add a popup button which allows the user to select the format that the file is saved in (e.g. rtf or txt). See also <a rel="gsdoc" href="#method$NSSavePanel-validateVisibleColumns"> -validateVisibleColumns </a> . </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-accessoryView"> -accessoryView </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setAllowedFileTypes$">setAllowedFileTypes: </a></h3> - (void) <b>setAllowedFileTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> </p> <p> Specifies the allowed <var>types</var>, i.e., file name extensions to be appended to any selected files that don't already have one of those extensions. The elements of the array should be strings that do not include the period that begins the extension. Invoke this method each time the Save panel is used for another file type within the application. If you do not invoke it, or set it to an empty array or <code>nil</code>, no extension will be appended, indicated by <code>nil</code> returned from <a rel="gsdoc" href="#method$NSSavePanel-allowedFileTypes"> -allowedFileTypes </a> . </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-allowedFileTypes"> -allowedFileTypes </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setAllowsOtherFileTypes$">setAllowsOtherFileTypes: </a></h3> - (void) <b>setAllowsOtherFileTypes:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setCanCreateDirectories$">setCanCreateDirectories: </a></h3> - (void) <b>setCanCreateDirectories:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setCanSelectHiddenExtension$">setCanSelectHiddenExtension: </a></h3> - (void) <b>setCanSelectHiddenExtension:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setDirectory$">setDirectory: </a></h3> - (void) <b>setDirectory:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the current <var>path</var> name in the Save panel's browser. The <var>path</var> argument must be an absolute <var>path</var> name. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-directory"> -directory </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setDirectoryURL$">setDirectoryURL: </a></h3> - (void) <b>setDirectoryURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> </p> <p> Sets the current path name in the Save panel's browser. The path argument must be an absolute path name. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-directory"> -directory </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setExtensionHidden$">setExtensionHidden: </a></h3> - (void) <b>setExtensionHidden:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setMessage$">setMessage: </a></h3> - (void) <b>setMessage:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)message;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setNameFieldLabel$">setNameFieldLabel: </a></h3> - (void) <b>setNameFieldLabel:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)label;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.3.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setNameFieldStringValue$">setNameFieldStringValue: </a></h3> - (void) <b>setNameFieldStringValue:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)value;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setPrompt$">setPrompt: </a></h3> - (void) <b>setPrompt:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)prompt;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the <var>prompt</var> of the Save panel field that holds the current pathname or file name. By default this <var>prompt</var> is 'Name: '. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-prompt"> -prompt </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setRequiredFileType$">setRequiredFileType: </a></h3> - (void) <b>setRequiredFileType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileType;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Specifies the type, a file name extension to be appended to any selected files that don't already have that extension; The argument type should not include the period that begins the extension. Invoke this method each time the Save panel is used for another file type within the application. If you do not invoke it, or set it to empty string or <code>nil</code>, no extension will be appended, indicated by an empty string returned from <a rel="gsdoc" href="#method$NSSavePanel-requiredFileType"> -requiredFileType </a> . </p> <p> </p> <p> This method is equivalent to calling <a rel="gsdoc" href="#method$NSSavePanel-setAllowedFileTypes$"> -setAllowedFileTypes: </a> with an array containing only <var>fileType</var>. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-requiredFileType"> -requiredFileType </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setShowsHiddenFiles$">setShowsHiddenFiles: </a></h3> - (void) <b>setShowsHiddenFiles:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setTitle$">setTitle: </a></h3> - (void) <b>setTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the <var>title</var> of the NSSavePanel to <var>title</var>. By default, 'Save' is the <var>title</var> string. If you adapt the NSSavePanel for other uses, its <var>title</var> should reflect the user action that brings it to the screen. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-title">-title</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-setTreatsFilePackagesAsDirectories$">setTreatsFilePackagesAsDirectories: </a></h3> - (void) <b>setTreatsFilePackagesAsDirectories:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSSavePanel's behavior for displaying file packages (for example, MyApp.app) to the user. If <var>flag</var> is <code>YES</code>, the user is shown files and subdirectories within a file package. If <code>NO</code>, the NSSavePanel shows each file package as a file, thereby giving no indication that it is a directory. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-treatsFilePackagesAsDirectories">-treatsFilePackagesAsDirectories</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-showsHiddenFiles">showsHiddenFiles </a></h3> - (BOOL) <b>showsHiddenFiles</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.6.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-title">title </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>title</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the title of the save panel </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSSavePanel-setTitle$"> -setTitle: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-treatsFilePackagesAsDirectories">treatsFilePackagesAsDirectories </a></h3> - (BOOL) <b>treatsFilePackagesAsDirectories</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code> if file packages are shown as directories. The default is <code>NO</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSSavePanel-validateVisibleColumns">validateVisibleColumns </a></h3> - (void) <b>validateVisibleColumns</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Validates and possibly reloads the browser columns that are visible in the Save panel by causing the delegate method -panel:shouldShowFilename: to be invoked. One situation in which this method would find use is whey you want the browser to show only files with certain extensions based on the selection made in an accessory-view pop-up list. When the user changes the selection, you would invoke this method to revalidate the visible columns. </p> <p> </div> <hr width="25%" align="left" /> </div> <a name="_NSSavePanel_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSSavePanel Class</h2> <h3><a name="ivariable$NSSavePanel*_OKButtonPressed">_OKButtonPressed</a></h3> @protected BOOL <b>_OKButtonPressed</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_accessoryView">_accessoryView</a></h3> @protected NSView* <b>_accessoryView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_allowedFileTypes">_allowedFileTypes</a></h3> @protected NSArray* <b>_allowedFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_allowsOtherFileTypes">_allowsOtherFileTypes</a></h3> @protected BOOL <b>_allowsOtherFileTypes</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_bottomView">_bottomView</a></h3> @protected NSView* <b>_bottomView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_browser">_browser</a></h3> @protected NSBrowser* <b>_browser</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_canCreateDirectories">_canCreateDirectories</a></h3> @protected BOOL <b>_canCreateDirectories</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_canSelectHiddenExtension">_canSelectHiddenExtension</a></h3> @protected BOOL <b>_canSelectHiddenExtension</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_completionHandler">_completionHandler</a></h3> @protected GSSavePanelCompletionHandler <b>_completionHandler</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasCompareFilter">_delegateHasCompareFilter</a></h3> @protected BOOL <b>_delegateHasCompareFilter</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasDirectoryDidChange">_delegateHasDirectoryDidChange</a></h3> @protected BOOL <b>_delegateHasDirectoryDidChange</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasSelectionDidChange">_delegateHasSelectionDidChange</a></h3> @protected BOOL <b>_delegateHasSelectionDidChange</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasShowFilenameFilter">_delegateHasShowFilenameFilter</a></h3> @protected BOOL <b>_delegateHasShowFilenameFilter</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasUserEnteredFilename">_delegateHasUserEnteredFilename</a></h3> @protected BOOL <b>_delegateHasUserEnteredFilename</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_delegateHasValidNameFilter">_delegateHasValidNameFilter</a></h3> @protected BOOL <b>_delegateHasValidNameFilter</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_directory">_directory</a></h3> @protected NSString* <b>_directory</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_form">_form</a></h3> @protected NSForm* <b>_form</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_fullFileName">_fullFileName</a></h3> @protected NSString* <b>_fullFileName</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_isExtensionHidden">_isExtensionHidden</a></h3> @protected BOOL <b>_isExtensionHidden</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_okButton">_okButton</a></h3> @protected NSButton* <b>_okButton</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_originalMinSize">_originalMinSize</a></h3> @protected NSSize <b>_originalMinSize</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_originalSize">_originalSize</a></h3> @protected NSSize <b>_originalSize</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_showsHiddenFiles">_showsHiddenFiles</a></h3> @protected BOOL <b>_showsHiddenFiles</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_showsHiddenFilesMenu">_showsHiddenFilesMenu</a></h3> @protected NSMenu* <b>_showsHiddenFilesMenu</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_titleField">_titleField</a></h3> @protected NSTextField* <b>_titleField</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_topView">_topView</a></h3> @protected NSView* <b>_topView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSSavePanel*_treatsFilePackagesAsDirectories">_treatsFilePackagesAsDirectories</a></h3> @protected BOOL <b>_treatsFilePackagesAsDirectories</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <h1><a name="002000000000"> Software documentation for the NSObject(NSOpenSavePanelDelegate) informal protocol </a></h1> <h2><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSOpenSavePanelDelegate)">NSOpenSavePanelDelegate</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSSavePanel.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$compareFilename$with$caseSensitive$">-panel:compareFilename:with:caseSensitive:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$didChangeToDirectoryURL$">-panel:didChangeToDirectoryURL:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$directoryDidChange$">-panel:directoryDidChange:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$isValidFilename$">-panel:isValidFilename:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$shouldEnableURL$">-panel:shouldEnableURL:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$shouldShowFilename$">-panel:shouldShowFilename:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$userEnteredFilename$confirmed$">-panel:userEnteredFilename:confirmed:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$validateURL$error$">-panel:validateURL:error:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panel$willExpand$">-panel:willExpand:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSOpenSavePanelDelegate)-panelSelectionDidChange$">-panelSelectionDidChange:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$compareFilename$with$caseSensitive$">panel: compareFilename: with: caseSensitive: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSComparisonResult">NSComparisonResult</a>) <b>panel:</b> (id)sender<b> compareFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name1<b> with:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name2<b> caseSensitive:</b> (BOOL)caseSensitive;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$didChangeToDirectoryURL$">panel: didChangeToDirectoryURL: </a></h3> - (void) <b>panel:</b> (id)sender<b> didChangeToDirectoryURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$directoryDidChange$">panel: directoryDidChange: </a></h3> - (void) <b>panel:</b> (id)sender<b> directoryDidChange:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$isValidFilename$">panel: isValidFilename: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> isValidFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$shouldEnableURL$">panel: shouldEnableURL: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> shouldEnableURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$shouldShowFilename$">panel: shouldShowFilename: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> shouldShowFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$userEnteredFilename$confirmed$">panel: userEnteredFilename: confirmed: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>panel:</b> (id)sender<b> userEnteredFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename<b> confirmed:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$validateURL$error$">panel: validateURL: error: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> validateURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)error;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panel$willExpand$">panel: willExpand: </a></h3> - (void) <b>panel:</b> (id)sender<b> willExpand:</b> (BOOL)expand;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSOpenSavePanelDelegate)-panelSelectionDidChange$">panelSelectionDidChange: </a></h3> - (void) <b>panelSelectionDidChange:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <h1><a name="003000000000"> Software documentation for the NSObject(NSSavePanelDelegate) informal protocol </a></h1> <h2><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSSavePanelDelegate)">NSSavePanelDelegate</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSSavePanel.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$compareFilename$with$caseSensitive$">-panel:compareFilename:with:caseSensitive:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$directoryDidChange$">-panel:directoryDidChange:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$isValidFilename$">-panel:isValidFilename:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$shouldShowFilename$">-panel:shouldShowFilename:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$userEnteredFilename$confirmed$">-panel:userEnteredFilename:confirmed:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panel$willExpand$">-panel:willExpand:</a></li> <li><a rel="gsdoc" href="NSSavePanel.html#method$NSObject(NSSavePanelDelegate)-panelSelectionDidChange$">-panelSelectionDidChange:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$compareFilename$with$caseSensitive$">panel: compareFilename: with: caseSensitive: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSComparisonResult">NSComparisonResult</a>) <b>panel:</b> (id)sender<b> compareFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename1<b> with:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename2<b> caseSensitive:</b> (BOOL)caseSensitive;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$directoryDidChange$">panel: directoryDidChange: </a></h3> - (void) <b>panel:</b> (id)sender<b> directoryDidChange:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)path;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$isValidFilename$">panel: isValidFilename: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> isValidFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> The NSSavePanel sends this message just before the end of a modal session for each file name displayed or selected (including file names in multiple selections). The delegate determines whether it wants the file identified by <var>filename</var>; it returns <code>YES</code> if the file name is valid, or <code>NO</code> if the NSSavePanel should stay in its modal loop and wait for the user to type in or select a different file name or names. If the delegate refuses a file name in a multiple selection, none of the file names in the selection are accepted. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$shouldShowFilename$">panel: shouldShowFilename: </a></h3> - (BOOL) <b>panel:</b> (id)sender<b> shouldShowFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)filename;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sent by NSSavePanel to check whether a file should be displayed in the panel or not. The <var>filename</var> argument is the complete path to the file. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$userEnteredFilename$confirmed$">panel: userEnteredFilename: confirmed: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>panel:</b> (id)sender<b> userEnteredFilename:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName<b> confirmed:</b> (BOOL)okFlag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panel$willExpand$">panel: willExpand: </a></h3> - (void) <b>panel:</b> (id)sender<b> willExpand:</b> (BOOL)expanding;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSSavePanelDelegate)-panelSelectionDidChange$">panelSelectionDidChange: </a></h3> - (void) <b>panelSelectionDidChange:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <h1><a name="004000000000"> Software documentation for the NSOpenSavePanelDelegate protocol </a></h1> <h2><a name="protocol$(NSOpenSavePanelDelegate)">NSOpenSavePanelDelegate</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSSavePanel.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSObject)">NSObject</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>