mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 12:21:07 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6444 72102866-910b-0410-8b05-ffd578937521
264 lines
7.6 KiB
HTML
264 lines
7.6 KiB
HTML
<html><head>
|
|
<title>NSButton</title>
|
|
</head>
|
|
<body>
|
|
<a href="NSBundleAdditions.html">[Previous]</a>
|
|
<a href="Gui.html">[Up]</a>
|
|
<a href="NSButtonCell.html">[Next]</a>
|
|
<h1>NSButton</h1>
|
|
<h3>Authors</h3>
|
|
<dl>
|
|
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
<dd>
|
|
</dl>
|
|
<p>Version: 0.1</p>
|
|
<p>Date: 28 February, 2000</p>
|
|
<h2><a name="cont-0">NSButton</a></h2>
|
|
<h2><a name="NSButton">NSButton</a></h2>
|
|
<p><b>Declared in:</b> Gui/NSButton.h</p>
|
|
<p><b>Inherits from:</b> NSControl</p>
|
|
<p><b>Conforms to:</b> NSCoding
|
|
</p>
|
|
<hr>
|
|
|
|
|
|
<ul>
|
|
<li><a href="NSButton.html#method-29">- setShowsBorderOnlyWhileMouseInside:</a>
|
|
<li><a href="NSButton.html#method-35">- showsBorderOnlyWhileMouseInside</a>
|
|
<li><a href="NSButton.html#method-0">-allowsMixedState</a>
|
|
<li><a href="NSButton.html#method-1">-alternateImage</a>
|
|
<li><a href="NSButton.html#method-2">-alternateTitle</a>
|
|
<li><a href="NSButton.html#method-3">-attributedAlternateTitle</a>
|
|
<li><a href="NSButton.html#method-4">-attributedTitle</a>
|
|
<li><a href="NSButton.html#method-5">-bezelStyle</a>
|
|
<li><a href="NSButton.html#method-6">-getPeriodicDelay:interval:</a>
|
|
<li><a href="NSButton.html#method-7">-highlight:</a>
|
|
<li><a href="NSButton.html#method-8">-imagePosition</a>
|
|
<li><a href="NSButton.html#method-9">-isBordered</a>
|
|
<li><a href="NSButton.html#method-10">-isTransparent</a>
|
|
<li><a href="NSButton.html#method-11">-keyEquivalent</a>
|
|
<li><a href="NSButton.html#method-12">-keyEquivalentModifierMask</a>
|
|
<li><a href="NSButton.html#method-13">-performClick:</a>
|
|
<li><a href="NSButton.html#method-14">-performKeyEquivalent:</a>
|
|
<li><a href="NSButton.html#method-15">-setAllowsMixedState:</a>
|
|
<li><a href="NSButton.html#method-16">-setAlternateImage:</a>
|
|
<li><a href="NSButton.html#method-17">-setAlternateTitle:</a>
|
|
<li><a href="NSButton.html#method-18">-setAttributedAlternateTitle:</a>
|
|
<li><a href="NSButton.html#method-19">-setAttributedTitle:</a>
|
|
<li><a href="NSButton.html#method-20">-setBezelStyle:</a>
|
|
<li><a href="NSButton.html#method-21">-setBordered:</a>
|
|
<li><a href="NSButton.html#method-22">-setButtonType:</a>
|
|
<li><a href="NSButton.html#method-23">-setImage:</a>
|
|
<li><a href="NSButton.html#method-24">-setImagePosition:</a>
|
|
<li><a href="NSButton.html#method-25">-setKeyEquivalent:</a>
|
|
<li><a href="NSButton.html#method-26">-setKeyEquivalentModifierMask:</a>
|
|
<li><a href="NSButton.html#method-27">-setNextState</a>
|
|
<li><a href="NSButton.html#method-28">-setPeriodicDelay:interval:</a>
|
|
<li><a href="NSButton.html#method-30">-setSound:</a>
|
|
<li><a href="NSButton.html#method-31">-setState:</a>
|
|
<li><a href="NSButton.html#method-32">-setTitle:</a>
|
|
<li><a href="NSButton.html#method-33">-setTitleWithMnemonic:</a>
|
|
<li><a href="NSButton.html#method-34">-setTransparent:</a>
|
|
<li><a href="NSButton.html#method-36">-sound</a>
|
|
<li><a href="NSButton.html#method-37">-state</a>
|
|
<li><a href="NSButton.html#method-38">-title</a>
|
|
</ul>
|
|
<hr>
|
|
<h2><a name="method-0">allowsMixedState</a></h2>
|
|
- (BOOL) <b>allowsMixedState</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-1">alternateImage</a></h2>
|
|
- (NSImage*) <b>alternateImage</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-2">alternateTitle</a></h2>
|
|
- (NSString*) <b>alternateTitle</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-3">attributedAlternateTitle</a></h2>
|
|
- (NSAttributedString*) <b>attributedAlternateTitle</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-4">attributedTitle</a></h2>
|
|
- (NSAttributedString*) <b>attributedTitle</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-5">bezelStyle</a></h2>
|
|
- (NSBezelStyle) <b>bezelStyle</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-6">getPeriodicDelay:interval:</a></h2>
|
|
- (void) <b>getPeriodicDelay:</b> (float*)delay <b>interval:</b> (float*)interval<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-7">highlight:</a></h2>
|
|
- (void) <b>highlight:</b> (BOOL)flag<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-8">imagePosition</a></h2>
|
|
- (NSCellImagePosition) <b>imagePosition</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-9">isBordered</a></h2>
|
|
- (BOOL) <b>isBordered</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-10">isTransparent</a></h2>
|
|
- (BOOL) <b>isTransparent</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-11">keyEquivalent</a></h2>
|
|
- (NSString*) <b>keyEquivalent</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-12">keyEquivalentModifierMask</a></h2>
|
|
- (unsigned int) <b>keyEquivalentModifierMask</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-13">performClick:</a></h2>
|
|
- (void) <b>performClick:</b> (id)sender<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-14">performKeyEquivalent:</a></h2>
|
|
- (BOOL) <b>performKeyEquivalent:</b> (NSEvent*)anEvent<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-15">setAllowsMixedState:</a></h2>
|
|
- (void) <b>setAllowsMixedState:</b> (BOOL)flag<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-16">setAlternateImage:</a></h2>
|
|
- (void) <b>setAlternateImage:</b> (NSImage*)image<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-17">setAlternateTitle:</a></h2>
|
|
- (void) <b>setAlternateTitle:</b> (NSString*)aString<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-18">setAttributedAlternateTitle:</a></h2>
|
|
- (void) <b>setAttributedAlternateTitle:</b> (NSAttributedString*)aString<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-19">setAttributedTitle:</a></h2>
|
|
- (void) <b>setAttributedTitle:</b> (NSAttributedString*)aString<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-20">setBezelStyle:</a></h2>
|
|
- (void) <b>setBezelStyle:</b> (NSBezelStyle)bezelStyle<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-21">setBordered:</a></h2>
|
|
- (void) <b>setBordered:</b> (BOOL)flag<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-22">setButtonType:</a></h2>
|
|
- (void) <b>setButtonType:</b> (NSButtonType)aType<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-23">setImage:</a></h2>
|
|
- (void) <b>setImage:</b> (NSImage*)image<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-24">setImagePosition:</a></h2>
|
|
- (void) <b>setImagePosition:</b> (NSCellImagePosition)aPosition<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-25">setKeyEquivalent:</a></h2>
|
|
- (void) <b>setKeyEquivalent:</b> (NSString*)charCode<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-26">setKeyEquivalentModifierMask:</a></h2>
|
|
- (void) <b>setKeyEquivalentModifierMask:</b> (unsigned int)mask<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-27">setNextState</a></h2>
|
|
- (void) <b>setNextState</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-28">setPeriodicDelay:interval:</a></h2>
|
|
- (void) <b>setPeriodicDelay:</b> (float)delay <b>interval:</b> (float)interval<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-29"> setShowsBorderOnlyWhileMouseInside:</a></h2>
|
|
- (void) <b> setShowsBorderOnlyWhileMouseInside:</b> (BOOL)show<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-30">setSound:</a></h2>
|
|
- (void) <b>setSound:</b> (NSSound*)aSound<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-31">setState:</a></h2>
|
|
- (void) <b>setState:</b> (int)value<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-32">setTitle:</a></h2>
|
|
- (void) <b>setTitle:</b> (NSString*)aString<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-33">setTitleWithMnemonic:</a></h2>
|
|
- (void) <b>setTitleWithMnemonic:</b> (NSString*)aString<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-34">setTransparent:</a></h2>
|
|
- (void) <b>setTransparent:</b> (BOOL)flag<br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-35"> showsBorderOnlyWhileMouseInside</a></h2>
|
|
- (BOOL) <b> showsBorderOnlyWhileMouseInside</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-36">sound</a></h2>
|
|
- (NSSound*) <b>sound</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-37">state</a></h2>
|
|
- (int) <b>state</b><br>
|
|
|
|
|
|
<hr>
|
|
<h2><a name="method-38">title</a></h2>
|
|
- (NSString*) <b>title</b><br>
|
|
|
|
|
|
<hr>
|
|
</body>
|
|
|
|
</html>
|