![]() 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>NSButton</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSButton">NSButton</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> </dl> <blockquote> The button class </blockquote> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSButton class </a></h1> <h2><a name="class$NSButton">NSButton</a> : <a rel="gsdoc" href="NSControl.html#class$NSControl">NSControl</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSButton.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> TODO Description </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-allowsMixedState">-allowsMixedState</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-alternateImage">-alternateImage</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-alternateTitle">-alternateTitle</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-attributedAlternateTitle">-attributedAlternateTitle</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-attributedTitle">-attributedTitle</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-bezelStyle">-bezelStyle</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-getPeriodicDelay$interval$">-getPeriodicDelay:interval:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-highlight$">-highlight:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-image">-image</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-imagePosition">-imagePosition</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-isBordered">-isBordered</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-isTransparent">-isTransparent</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-keyEquivalent">-keyEquivalent</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-keyEquivalentModifierMask">-keyEquivalentModifierMask</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-performKeyEquivalent$">-performKeyEquivalent:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setAllowsMixedState$">-setAllowsMixedState:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setAlternateImage$">-setAlternateImage:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setAlternateTitle$">-setAlternateTitle:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setAttributedAlternateTitle$">-setAttributedAlternateTitle:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setAttributedTitle$">-setAttributedTitle:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setBezelStyle$">-setBezelStyle:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setBordered$">-setBordered:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setButtonType$">-setButtonType:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setHighlightsBy$">-setHighlightsBy:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setImage$">-setImage:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setImagePosition$">-setImagePosition:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setKeyEquivalent$">-setKeyEquivalent:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setKeyEquivalentModifierMask$">-setKeyEquivalentModifierMask:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setNextState">-setNextState</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setPeriodicDelay$interval$">-setPeriodicDelay:interval:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setShowsBorderOnlyWhileMouseInside$">-setShowsBorderOnlyWhileMouseInside:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setShowsStateBy$">-setShowsStateBy:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setSound$">-setSound:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setState$">-setState:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setTitle$">-setTitle:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setTitleWithMnemonic$">-setTitleWithMnemonic:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-setTransparent$">-setTransparent:</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-showsBorderOnlyWhileMouseInside">-showsBorderOnlyWhileMouseInside</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-sound">-sound</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-state">-state</a></li> <li><a rel="gsdoc" href="NSButton.html#method$NSButton-title">-title</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSButton-allowsMixedState">allowsMixedState </a></h3> - (BOOL) <b>allowsMixedState</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$NSButton-alternateImage">alternateImage </a></h3> - (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*) <b>alternateImage</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSButtonCell's alternate image. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setAlternateImage$"> -setAlternateImage: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-alternateImage">[NSButtonCell -alternateImage]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-alternateTitle">alternateTitle </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>alternateTitle</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSButtonCell's alternate title. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setAlternateTitle$"> -setAlternateTitle: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-alternateTitle">[NSButtonCell -alternateTitle]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-attributedAlternateTitle">attributedAlternateTitle </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*) <b>attributedAlternateTitle</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$NSButton-attributedTitle">attributedTitle </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*) <b>attributedTitle</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$NSButton-bezelStyle">bezelStyle </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSBezelStyle">NSBezelStyle</a>) <b>bezelStyle</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> </p> <p> Returns the style of the NSButtonCell's bezeled border. See <a rel="gsdoc" href="TypesAndConstants.html#type$NSBezelStyle"> NSBezelStyle </a> for more information. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setBezelStyle$"> -setBezelStyle: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-bezelStyle">[NSButtonCell -bezelStyle]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-getPeriodicDelay$interval$">getPeriodicDelay: interval: </a></h3> - (void) <b>getPeriodicDelay:</b> (float*)delay<b> interval:</b> (float*)interval;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Gets the NSButtonCell's <var>delay</var> and the <var>interval</var> parameters used when NSButton sends continouly action messages. By default <var>delay</var> is 0.4 and <var>interval</var> is 0.075. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-getPeriodicDelay$interval$">[NSButtonCell -getPeriodicDelay:interval:]</a> <a rel="gsdoc" href="#method$NSButton-setPeriodicDelay$interval$">-setPeriodicDelay:interval:</a> <a rel="gsdoc" href="NSCell.html#method$NSCell-trackMouse$inRect$ofView$untilMouseUp$">[NSCell -trackMouse:inRect:ofView:untilMouseUp:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-highlight$">highlight: </a></h3> - (void) <b>highlight:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> (Un)Highlights the NSButtonCell. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSCell.html#method$NSCell-highlight$withFrame$inView$">[NSButtonCell -highlight:withFrame:inView:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-image">image </a></h3> - (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*) <b>image</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSButtonCell's image. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setImage$"> -setImage: </a> <a rel="gsdoc" href="NSCell.html#method$NSCell-image"> [NSButtonCell -image] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-imagePosition">imagePosition </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCellImagePosition">NSCellImagePosition</a>) <b>imagePosition</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the position of the NSButtonCell's image. See <a rel="gsdoc" href="TypesAndConstants.html#type$NSCellImagePosition"> NSCellImagePosition </a> for more information. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setImagePosition$"> -setImagePosition: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-imagePosition">[NSButtonCell -imagePosition]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-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 NSButton's cell has border. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setBordered$"> -setBordered: </a> <a rel="gsdoc" href="NSCell.html#method$NSCell-isBordered">[NSButtonCell -isBordered]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-isTransparent">isTransparent </a></h3> - (BOOL) <b>isTransparent</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSButton's cell is transparent. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setTransparent$"> -setTransparent: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-isTransparent">[NSButtonCell -isTransparent]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-keyEquivalent">keyEquivalent </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>keyEquivalent</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSButtonCell's key equivalent. The key equivalent and its modifier mask are used to simulate the click of the button in <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> . Returns an empty string if no key equivalent is defined. By default NSButton hasn't key equivalent. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setKeyEquivalent$"> -setKeyEquivalent: </a> <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> <a rel="gsdoc" href="#method$NSButton-keyEquivalentModifierMask"> -keyEquivalentModifierMask </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-keyEquivalent">[NSButtonCell -keyEquivalent]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-keyEquivalentModifierMask">keyEquivalentModifierMask </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>keyEquivalentModifierMask</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the modifier mask of the NSButtonCell's key equivalent. The key equivalent and its modifier mask are used to simulate the click of the button in <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> . The default mask is NSCommandKeyMask. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setKeyEquivalentModifierMask$"> -setKeyEquivalentModifierMask: </a> <a rel="gsdoc" href="#method$NSButton-keyEquivalent"> -keyEquivalent </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setKeyEquivalentModifierMask$">[NSButtonCell -setKeyEquivalentModifierMask:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-performKeyEquivalent$">performKeyEquivalent: </a></h3> - (BOOL) <b>performKeyEquivalent:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)anEvent;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Simulates the click of the button if the key equivalent and its modifier mask match the event <var>anEvent</var>. By default the key modifier mask is NSCommandKeyMask and there is no key equivalent </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-keyEquivalent"> -keyEquivalent </a> <a rel="gsdoc" href="#method$NSButton-keyEquivalentModifierMask"> -keyEquivalentModifierMask </a> <a rel="gsdoc" href="NSControl.html#method$NSControl-performClick$">[NSControl -performClick:]</a> <a rel="gsdoc" href="NSEvent.html#method$NSEvent-charactersIgnoringModifiers">[NSEvent -charactersIgnoringModifiers]</a> <a rel="gsdoc" href="NSEvent.html#method$NSEvent-modifierFlags">[NSEvent -modifierFlags]</a> </p> <p> Does nothing and returns <code>NO</code> if the receiver is disabled or if it is blocked by a modal window being run. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setAllowsMixedState$">setAllowsMixedState: </a></h3> - (void) <b>setAllowsMixedState:</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$NSButton-setAlternateImage$">setAlternateImage: </a></h3> - (void) <b>setAlternateImage:</b> (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*)anImage;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's alternate image to <var>anImage</var> and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-alternateImage"> -alternateImage </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setAlternateImage$">[NSButtonCell -setAlternateImage:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setAlternateTitle$">setAlternateTitle: </a></h3> - (void) <b>setAlternateTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aString;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's alternateTitle to <var>aString</var> and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-alternateTitle"> -alternateTitle </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setAttributedAlternateTitle$">setAttributedAlternateTitle: </a></h3> - (void) <b>setAttributedAlternateTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*)aString;<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$NSButton-setAttributedTitle$">setAttributedTitle: </a></h3> - (void) <b>setAttributedTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html#class$NSAttributedString">NSAttributedString</a>*)aString;<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$NSButton-setBezelStyle$">setBezelStyle: </a></h3> - (void) <b>setBezelStyle:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSBezelStyle">NSBezelStyle</a>)bezelStyle;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> </p> <p> Sets the style of the NSButtonCell's bezeled border and marks self for display. See <a rel="gsdoc" href="TypesAndConstants.html#type$NSBezelStyle"> NSBezelStyle </a> for more information. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-bezelStyle"> -bezelStyle </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setBezelStyle$">[NSButtonCell -setBezelStyle:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setBordered$">setBordered: </a></h3> - (void) <b>setBordered:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSButton's cell has border and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-isBordered"> -isBordered </a> <a rel="gsdoc" href="NSCell.html#method$NSCell-setBordered$">[NSButtonCell -setBordered:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setButtonType$">setButtonType: </a></h3> - (void) <b>setButtonType:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSButtonType">NSButtonType</a>)aType;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's type to <var>aType</var> and marks self for display.See <a rel="gsdoc" href="TypesAndConstants.html#type$NSButtonType"> NSButtonType </a> for more information. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setButtonType$">[NSButtonCell -setButtonType:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setHighlightsBy$">setHighlightsBy: </a></h3> - (void) <b>setHighlightsBy:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)aType;<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$NSButton-setImage$">setImage: </a></h3> - (void) <b>setImage:</b> (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*)anImage;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's image to <var>anImage</var> and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-image">-image</a> <a rel="gsdoc" href="NSCell.html#method$NSCell-setImage$"> [NSButtonCell -setImage:] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setImagePosition$">setImagePosition: </a></h3> - (void) <b>setImagePosition:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSCellImagePosition">NSCellImagePosition</a>)aPosition;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the postion of the NSButtonCell's image to <var>aPosition</var> and marks self for display. See <a rel="gsdoc" href="TypesAndConstants.html#type$NSCellImagePosition"> NSCellImagePosition </a> for more information. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-imagePosition"> -imagePosition </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setImagePosition$">[NSButtonCell -setImagePosition:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setKeyEquivalent$">setKeyEquivalent: </a></h3> - (void) <b>setKeyEquivalent:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aKeyEquivalent;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's key equivalent to <var>aKeyEquivalent</var>. The key equivalent and its modifier mask are used to simulate the click of the button in <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> . By default NSButton hasn't key equivalent. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-keyEquivalent"> -keyEquivalent </a> <a rel="gsdoc" href="#method$NSButton-setKeyEquivalentModifierMask$"> -setKeyEquivalentModifierMask: </a> <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setKeyEquivalent$">[NSButtonCell -setKeyEquivalent:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setKeyEquivalentModifierMask$">setKeyEquivalentModifierMask: </a></h3> - (void) <b>setKeyEquivalentModifierMask:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)mask;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the modifier <var>mask</var> of the NSButtonCell's key equivalent to <var>mask</var>. The key equivalent and its modifier <var>mask</var> are used to simulate the click of the button in <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> . By default the <var>mask</var> is NSCommandKeyMask. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-keyEquivalentModifierMask"> -keyEquivalentModifierMask </a> <a rel="gsdoc" href="#method$NSButton-setKeyEquivalent$"> -setKeyEquivalent: </a> <a rel="gsdoc" href="#method$NSButton-performKeyEquivalent$"> -performKeyEquivalent: </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setKeyEquivalentModifierMask$">[NSButtonCell -setKeyEquivalentModifierMask:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setNextState">setNextState </a></h3> - (void) <b>setNextState</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell to the next state and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSCell.html#method$NSCell-setNextState">[NSButtonCell -setNextState]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setPeriodicDelay$interval$">setPeriodicDelay: interval: </a></h3> - (void) <b>setPeriodicDelay:</b> (float)delay<b> interval:</b> (float)interval;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's <var>delay</var> and <var>interval</var> parameters used when NSButton sends continouly action messages. By default <var>delay</var> is 0.4 and <var>interval</var> is 0.075. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setPeriodicDelay$interval$">[NSButtonCell -setPeriodicDelay:interval:]</a> <a rel="gsdoc" href="#method$NSButton-getPeriodicDelay$interval$">-getPeriodicDelay:interval:</a> <a rel="gsdoc" href="NSCell.html#method$NSCell-trackMouse$inRect$ofView$untilMouseUp$">[NSCell -trackMouse:inRect:ofView:untilMouseUp:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setShowsBorderOnlyWhileMouseInside$">setShowsBorderOnlyWhileMouseInside: </a></h3> - (void) <b>setShowsBorderOnlyWhileMouseInside:</b> (BOOL)show;<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$NSButton-setShowsStateBy$">setShowsStateBy: </a></h3> - (void) <b>setShowsStateBy:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)aType;<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$NSButton-setSound$">setSound: </a></h3> - (void) <b>setSound:</b> (<a rel="gsdoc" href="NSSound.html#class$NSSound">NSSound</a>*)aSound;<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$NSButton-setState$">setState: </a></h3> - (void) <b>setState:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)value;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's state to <var>value</var> and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-state">-state</a> <a rel="gsdoc" href="NSCell.html#method$NSCell-setState$"> [NSButtonCell -setState:] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-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>*)aString;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets the NSButtonCell's title to <var>aString</var> and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-title">-title</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-setTitleWithMnemonic$">setTitleWithMnemonic: </a></h3> - (void) <b>setTitleWithMnemonic:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aString;<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$NSButton-setTransparent$">setTransparent: </a></h3> - (void) <b>setTransparent:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSButton's cell is transparent and marks self for display. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-isTransparent"> -isTransparent </a> <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-setTransparent$">[NSButtonCell -setTransparent:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-showsBorderOnlyWhileMouseInside">showsBorderOnlyWhileMouseInside </a></h3> - (BOOL) <b>showsBorderOnlyWhileMouseInside</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$NSButton-sound">sound </a></h3> - (<a rel="gsdoc" href="NSSound.html#class$NSSound">NSSound</a>*) <b>sound</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$NSButton-state">state </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>state</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns the NSButtonCell's state. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSButton-setState$"> -setState: </a> <a rel="gsdoc" href="NSCell.html#method$NSCell-state"> [NSButtonCell -state] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSButton-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 NSButtonCell's title. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSButtonCell.html#method$NSButtonCell-title"> [NSButtonCell -title] </a> <a rel="gsdoc" href="#method$NSButton-setTitle$"> -setTitle: </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>