Class
#subtype!
true! !
state:!
3670339!
accessing!
0Boolean|Nil:! !
win32Style!
3667824!
private!
1ExternalData! !
initializeWithStyle:label:clickAction:!
3668047!
initialization!
0ExternalData:Str:[Button]:! !
natural!
3671055!
geometry-local!
0Rect! !
computeNatural!
3665453!
private!
1Region! !
image!
3669148!
accessing!
0Image! !
#extensionsAreSubtypes!
true! !
stretchy:!
3670644!
accessing!
0Boolean:! !
max!
3670793!
geometry-local!
0Region! !
font!
3666876!
private!
1Font! !
setState:!
3667034!
private!
1Boolean:! !
buttonPainter!
3664341!
private!
1Painter! !
#group!
ui! !
label:!
3669769!
accessing!
0Str:! !
state!
3670209!
accessing!
0Boolean|Nil! !
buttonClassName!
3664116!
private!
1CString! !
keyDown:focus:event:!
3672542!
event handling!
0Symbol:Visual:UIEvent:Boolean! !
buildWin32HandleForLabel!
3663019!
private!
1! !
buildWin32HandleForImage!
3662062!
private!
1! !
#branded!
true! !
#categories!
private!
initialization!
accessing!
geometry-local!
restricted-win32!
control!
event handling! !
updateWindowDimensions!
3667653!
private!
1! !
label!
3669647!
accessing!
0Str! !
callOrigWndProcFor:withLParam:!
3664923!
private!
1MSG:ExternalData:ExternalData! !
addDefaultStyle!
3668343!
accessing!
0! !
#superclassTypeString!
Win32Control! !
computeNaturalForLabel!
3665972!
private!
1Region! !
computeNaturalForImage!
3665682!
private!
1Region! !
destroyWin32Handle!
3666713!
private!
1! !
#revision!
$Revision: 1.7 $! !
buttonColorMsg:!
3671241!
restricted-win32!
0ExternalProxy:ExternalData! !
#classVariableString!
ButtonClassName <CString>	"The windows class name"
ButtonPainter <Painter>
		! !
#instanceVariableString!
buttonStyle <ExternalData>
clickAction <[Button]>
			"The action to be performed when the button is clicked.  Changing the state
			  must be done explicitly by the action."
state <Boolean | Nil>
			"The display state of the button.  For some styles, like checkboxes, nil means indeterminate (gray)"
label <Str>
	"If the image is nil, this is the text the button will display"
image <Image>
natural <Rect>
stretchy <Boolean>
buttonPainter <Painter>
		! !
setWindowImage:!
3667435!
private!
1Image:! !
stretchy!
3670512!
accessing!
0Boolean! !
buildWin32Handle!
3661840!
private!
1! !
clickAction:!
3668790!
accessing!
0[Button]:! !
press!
3672283!
control!
0! !
hasImage!
3668935!
accessing!
0Boolean! !
#comment!
Native button-like Visuals.  This implements not only text buttons, but check boxes,
radio buttons, three-state check boxes, and general buttons with images rather
than text on them.

Tags: %User %UI

(c) 1995-1997 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 
Use and distribution of this software is subject to the terms of the attached source license.
! !
#abstract!
false! !
image:!
3669272!
accessing!
0Image:! !
buttonStyle!
3664782!
private!
1ExternalData! !
notificationMsg:!
3671757!
restricted-win32!
0ExternalData:! !
clickAction!
3668651!
accessing!
0[Button]! !
