![]() 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 : /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>NSWindowController</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSWindowController">NSWindowController</a></h1> <h3>Authors</h3> <dl> <dt>Carl Lindberg (<a href="mailto:Carl.Lindberg@hbo.com"><code>Carl.Lindberg@hbo.com</code></a>)</dt> <dd> </dd> <dt>Fred Kiefer (<a href="mailto:FredKiefer@gmx.de"><code>FredKiefer@gmx.de</code></a>)</dt> <dd> </dd> </dl> <p><b>Copyright:</b> (C) 2000 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSWindowController class </a></h1> <h2><a name="class$NSWindowController">NSWindowController</a> : <a rel="gsdoc" href="NSResponder.html#class$NSResponder">NSResponder</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSWindowController.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$(NSCoding)">NSCoding</a></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="NSWindowController.html#method$NSWindowController-close">-close</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-document">-document</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-initWithWindow$">-initWithWindow:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-initWithWindowNibName$">-initWithWindowNibName:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-initWithWindowNibName$owner$">-initWithWindowNibName:owner:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-initWithWindowNibPath$owner$">-initWithWindowNibPath:owner:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-isWindowLoaded">-isWindowLoaded</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-loadWindow">-loadWindow</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-owner">-owner</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setDocument$">-setDocument:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setDocumentEdited$">-setDocumentEdited:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setShouldCascadeWindows$">-setShouldCascadeWindows:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setShouldCloseDocument$">-setShouldCloseDocument:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setWindow$">-setWindow:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-setWindowFrameAutosaveName$">-setWindowFrameAutosaveName:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-shouldCascadeWindows">-shouldCascadeWindows</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-shouldCloseDocument">-shouldCloseDocument</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-showWindow$">-showWindow:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-synchronizeWindowTitleWithDocumentName">-synchronizeWindowTitleWithDocumentName</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-window">-window</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowDidLoad">-windowDidLoad</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowFrameAutosaveName">-windowFrameAutosaveName</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowNibName">-windowNibName</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowNibPath">-windowNibPath</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowTitleForDocumentDisplayName$">-windowTitleForDocumentDisplayName:</a></li> <li><a rel="gsdoc" href="NSWindowController.html#method$NSWindowController-windowWillLoad">-windowWillLoad</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSWindowController-close">close </a></h3> - (void) <b>close</b>;<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$NSWindowController-document">document </a></h3> - (id) <b>document</b>;<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$NSWindowController-initWithWindow$">initWithWindow: </a></h3> - (id) <b>initWithWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)window;<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$NSWindowController-initWithWindowNibName$">initWithWindowNibName: </a></h3> - (id) <b>initWithWindowNibName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)windowNibName;<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$NSWindowController-initWithWindowNibName$owner$">initWithWindowNibName: owner: </a></h3> - (id) <b>initWithWindowNibName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)windowNibName<b> owner:</b> (id)owner;<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$NSWindowController-initWithWindowNibPath$owner$">initWithWindowNibPath: owner: </a></h3> - (id) <b>initWithWindowNibPath:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)windowNibPath<b> owner:</b> (id)owner;<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$NSWindowController-isWindowLoaded">isWindowLoaded </a></h3> - (BOOL) <b>isWindowLoaded</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code> if the receiver's window has loaded. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-loadWindow">loadWindow </a></h3> - (void) <b>loadWindow</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Loads the receiver's window. You can override this method if the way that the window is loaded is not appropriate. You should not normally need to call this method directly; it will be called when the window controller needs to access the window. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-owner">owner </a></h3> - (id) <b>owner</b>;<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$NSWindowController-setDocument$">setDocument: </a></h3> - (void) <b>setDocument:</b> (<a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a>*)document;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the <var>document</var> associated with this controller. A <var>document</var> automatically calls this method when adding a window controller to its list of window controllers. You should not call this method directly when using NSWindowController with an NSDocument or subclass. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-setDocumentEdited$">setDocumentEdited: </a></h3> - (void) <b>setDocumentEdited:</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$NSWindowController-setShouldCascadeWindows$">setShouldCascadeWindows: </a></h3> - (void) <b>setShouldCascadeWindows:</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$NSWindowController-setShouldCloseDocument$">setShouldCloseDocument: </a></h3> - (void) <b>setShouldCloseDocument:</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$NSWindowController-setWindow$">setWindow: </a></h3> - (void) <b>setWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)aWindow;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the window that this controller managers to <var>aWindow</var>. The old window is released. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-setWindowFrameAutosaveName$">setWindowFrameAutosaveName: </a></h3> - (void) <b>setWindowFrameAutosaveName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)name;<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$NSWindowController-shouldCascadeWindows">shouldCascadeWindows </a></h3> - (BOOL) <b>shouldCascadeWindows</b>;<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$NSWindowController-shouldCloseDocument">shouldCloseDocument </a></h3> - (BOOL) <b>shouldCloseDocument</b>;<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$NSWindowController-showWindow$">showWindow: </a></h3> - (IBAction) <b>showWindow:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Orders the receiver's window front, also making it the key window if appropriate. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-synchronizeWindowTitleWithDocumentName">synchronizeWindowTitleWithDocumentName </a></h3> - (void) <b>synchronizeWindowTitleWithDocumentName</b>;<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$NSWindowController-window">window </a></h3> - (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*) <b>window</b>;<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$NSWindowController-windowDidLoad">windowDidLoad </a></h3> - (void) <b>windowDidLoad</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Subclasses can override this method to perform any customisation needed after the receiver has loaded its window. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSWindowController-windowFrameAutosaveName">windowFrameAutosaveName </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>windowFrameAutosaveName</b>;<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$NSWindowController-windowNibName">windowNibName </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>windowNibName</b>;<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$NSWindowController-windowNibPath">windowNibPath </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>windowNibPath</b>;<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$NSWindowController-windowTitleForDocumentDisplayName$">windowTitleForDocumentDisplayName: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>windowTitleForDocumentDisplayName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)displayName;<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$NSWindowController-windowWillLoad">windowWillLoad </a></h3> - (void) <b>windowWillLoad</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Subclasses can override this method to perform any customisation needed before the receiver loads its window. </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>