![]() 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>NSClipView</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSClipView">NSClipView</a></h1> <h3>Authors</h3> <dl> <dt>Ovidiu Predescu (<a href="mailto:ovidiu@net-community.com"><code>ovidiu@net-community.com</code></a>)</dt> <dd> </dd> <dt>Richard Frith-Macdonald (<a href="mailto:richard@brainstorm.co.uk"><code>richard@brainstorm.co.uk</code></a>)</dt> <dd> </dd> </dl> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSClipView class </a></h1> <h2><a name="class$NSClipView">NSClipView</a> : <a rel="gsdoc" href="NSView.html#class$NSView">NSView</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSClipView.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_NSClipView_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-autoscroll$">-autoscroll:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-backgroundColor">-backgroundColor</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-constrainScrollPoint$">-constrainScrollPoint:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-copiesOnScroll">-copiesOnScroll</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-documentCursor">-documentCursor</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-documentRect">-documentRect</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-documentView">-documentView</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-documentVisibleRect">-documentVisibleRect</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-drawsBackground">-drawsBackground</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-scrollToPoint$">-scrollToPoint:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-setBackgroundColor$">-setBackgroundColor:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-setCopiesOnScroll$">-setCopiesOnScroll:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-setDocumentCursor$">-setDocumentCursor:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-setDocumentView$">-setDocumentView:</a></li> <li><a rel="gsdoc" href="NSClipView.html#method$NSClipView-setDrawsBackground$">-setDrawsBackground:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSClipView-autoscroll$">autoscroll: </a></h3> - (BOOL) <b>autoscroll:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Scrolls in response to mouse-dragged events. </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-backgroundColor">backgroundColor </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>backgroundColor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSClipView's background color </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-setBackgroundColor$"> -setBackgroundColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-constrainScrollPoint$">constrainScrollPoint: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>) <b>constrainScrollPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)proposedNewOrigin;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-copiesOnScroll">copiesOnScroll </a></h3> - (BOOL) <b>copiesOnScroll</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$NSClipView-documentCursor">documentCursor </a></h3> - (<a rel="gsdoc" href="NSCursor.html#class$NSCursor">NSCursor</a>*) <b>documentCursor</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the cursor of the document view </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-setDocumentCursor$"> -setDocumentCursor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-documentRect">documentRect </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>) <b>documentRect</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the document rectangle. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-documentVisibleRect"> -documentVisibleRect </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-documentView">documentView </a></h3> - (id) <b>documentView</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSClipView's document view. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-setDocumentView$"> -setDocumentView: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-documentVisibleRect">documentVisibleRect </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>) <b>documentVisibleRect</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the document visible rectangle in the document views coordinate system. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-documentRect"> -documentRect </a> <a rel="gsdoc" href="NSView.html#method$NSView-convertRect$toView$">[NSView -convertRect:toView:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-drawsBackground">drawsBackground </a></h3> - (BOOL) <b>drawsBackground</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$NSClipView-scrollToPoint$">scrollToPoint: </a></h3> - (void) <b>scrollToPoint:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSPoint">NSPoint</a>)aPoint;<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$NSClipView-setBackgroundColor$">setBackgroundColor: </a></h3> - (void) <b>setBackgroundColor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)aColor;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSClipView's background color to <var>aColor</var> and marks self for display. Sets the opaque flag if needed (to <code>YES</code> if the NSClipView does not draw its background, if the background color is <code>nil</code> or if the background color alpha component is less than 1.0, <code>NO</code> otherwise) </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-backgroundColor"> -backgroundColor </a> <a rel="gsdoc" href="NSView.html#method$NSView-isOpaque"> [NSView -isOpaque] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-setCopiesOnScroll$">setCopiesOnScroll: </a></h3> - (void) <b>setCopiesOnScroll:</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$NSClipView-setDocumentCursor$">setDocumentCursor: </a></h3> - (void) <b>setDocumentCursor:</b> (<a rel="gsdoc" href="NSCursor.html#class$NSCursor">NSCursor</a>*)aCursor;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the cursor for the document view to <var>aCursor</var> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-documentCursor"> -documentCursor </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-setDocumentView$">setDocumentView: </a></h3> - (void) <b>setDocumentView:</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 <var>aView</var> the NSClipView's document view to <var>aView</var> </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSClipView-documentView"> -documentView </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSClipView-setDrawsBackground$">setDrawsBackground: </a></h3> - (void) <b>setDrawsBackground:</b> (BOOL)flag;<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> <a name="_NSClipView_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSClipView Class</h2> <h3><a name="ivariable$NSClipView*_backgroundColor">_backgroundColor</a></h3> @protected NSColor* <b>_backgroundColor</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$NSClipView*_copiesOnScroll">_copiesOnScroll</a></h3> @protected BOOL <b>_copiesOnScroll</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$NSClipView*_cursor">_cursor</a></h3> @protected NSCursor* <b>_cursor</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$NSClipView*_documentView">_documentView</a></h3> @protected NSView* <b>_documentView</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$NSClipView*_drawsBackground">_drawsBackground</a></h3> @protected BOOL <b>_drawsBackground</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$NSClipView*_isOpaque">_isOpaque</a></h3> @protected BOOL <b>_isOpaque</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/> <br /> <a href="Gui.html">Up</a> </font> </body> </html>