![]() 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>NSColorWell</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSColorWell">NSColorWell</a></h1> <h3>Authors</h3> <dl> <dt>Scott Christley (<a href="mailto:scottc@net-community.com"><code>scottc@net-community.com</code></a>)</dt> <dd> </dd> <dt>Felipe A. Rodriguez (<a href="mailto:far@ix.netcom.com"><code>far@ix.netcom.com</code></a>)</dt> <dd> </dd> </dl> <blockquote> Control for selecting and display a single color value. </blockquote> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSColorWell class </a></h1> <h2><a name="class$NSColorWell">NSColorWell</a> : <a rel="gsdoc" href="NSControl.html#class$NSControl">NSControl</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSColorWell.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> <hr width="50%" align="left" /> <a href="#_NSColorWell_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-activate$">-activate:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-color">-color</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-deactivate">-deactivate</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-drawWellInside$">-drawWellInside:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-encodeWithCoder$">-encodeWithCoder:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-initWithCoder$">-initWithCoder:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-isActive">-isActive</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-isBordered">-isBordered</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-setBordered$">-setBordered:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-setColor$">-setColor:</a></li> <li><a rel="gsdoc" href="NSColorWell.html#method$NSColorWell-takeColorFrom$">-takeColorFrom:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSColorWell-activate$">activate: </a></h3> - (void) <b>activate:</b> (BOOL)exclusive;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Activates the NSColorWell and displays the NSColorPanel with the current NSColorWell's color. The NSColorWell can take color from the NSColorPanel. If <var>exclusive</var> is <code>YES</code> other NSColorWells are desacivated (through notifications). </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-deactivate"> -deactivate </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-color">color </a></h3> - (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>color</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the current NSColor of the NSColorWell. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-setColor$"> -setColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-deactivate">deactivate </a></h3> - (void) <b>deactivate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Deactivates the NSColorWell and marks self for display. It is usally call from an observer, when another NSColorWell is activate. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-activate$"> -activate: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-drawWellInside$">drawWellInside: </a></h3> - (void) <b>drawWellInside:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)insideRect;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Draws the NSColorWell inside the rectangle <var>insideRect</var>. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSColor.html#method$NSColor-drawSwatchInRect$">[NSColor -drawSwatchInRect:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-encodeWithCoder$">encodeWithCoder: </a></h3> - (void) <b>encodeWithCoder:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSCoder.html#class$NSCoder">NSCoder</a>*)aCoder;<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$NSColorWell-initWithCoder$">initWithCoder: </a></h3> - (id) <b>initWithCoder:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSCoder.html#class$NSCoder">NSCoder</a>*)aDecoder;<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$NSColorWell-isActive">isActive </a></h3> - (BOOL) <b>isActive</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSColorWell is active. By default a NSColorWell is not active. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-activate$"> -activate: </a> <a rel="gsdoc" href="#method$NSColorWell-deactivate"> -deactivate </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-isBordered">isBordered </a></h3> - (BOOL) <b>isBordered</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSColorWell has border. By default a NSColorWell has border. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-setBordered$"> -setBordered: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-setBordered$">setBordered: </a></h3> - (void) <b>setBordered:</b> (BOOL)bordered;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSColorWell has border and marks self for display. By default a NSColorWell has border. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-isBordered"> -isBordered </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-setColor$">setColor: </a></h3> - (void) <b>setColor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)color;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSColorWell to <var>color</var> and marks self for display. <br /> Sets the NSColorPanel if active. <br /> Does NOT notify target of <var>color</var> change. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-color">-color</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSColorWell-takeColorFrom$">takeColorFrom: </a></h3> - (void) <b>takeColorFrom:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSColorWell's color to the <var>sender</var> color. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSColorWell-setColor$"> -setColor: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <a name="_NSColorWell_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSColorWell Class</h2> <h3><a name="ivariable$NSColorWell*_action">_action</a></h3> @protected SEL <b>_action</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$NSColorWell*_is_active">_is_active</a></h3> @protected BOOL <b>_is_active</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$NSColorWell*_is_bordered">_is_bordered</a></h3> @protected BOOL <b>_is_bordered</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$NSColorWell*_mouseDownPoint">_mouseDownPoint</a></h3> @protected NSPoint <b>_mouseDownPoint</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$NSColorWell*_target">_target</a></h3> @protected id <b>_target</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$NSColorWell*_the_color">_the_color</a></h3> @protected NSColor* <b>_the_color</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$NSColorWell*_wellRect">_wellRect</a></h3> @protected NSRect <b>_wellRect</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>