alignment: resourceValue
Sets the horizontal alignment for the widget's image.
check
Set the receiver's state to checked (true).
click
Programatically click the button.
drawPolicy: anInteger
Specifies the drawing policy used in rendering buttons. The drawing policy determines two things for a button:
getState
Answer the state of the checkbox.
image: anImage
Set the image of the receiver.
indicatorType: anIntegerSpecifies if the indicator is a 1-of or N-of indicator.
labelCheckedPixmap: anImageSpecifies the renderable object (pixmap) which draws on the face of the widget when it is checked.
labelCheckedString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is checked.
labelInsensitivePixmap: anImageSpecifies the renderable object (image) which draws on the face of the widget when it is disabled.
labelInsensitiveString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is disabled.
labelPressedPixmap: anImageSpecifies the renderable object (image) which draws on the face of the widget when it is pressed.
labelPressedString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is pressed.
labelPixmap: anImageSpecifies the renderable object (image) which draws on the face of the widget.
labelString: aStringSpecifies the renderable object (string) which draws on the face of the widget.
mnemonic: aCharacterProvides the user with alternate means for selecting a button.
orientation: anIntegerSpecifies whether the image and label are displayed vertically or horizontally.
set: aBoolean
Displays the button in its selected state if set to true.
setState: newState notify: notify
Sets or changes the EwToggleButton's current state.
newState - Specifies a Boolean value that indicates whether the checkbox state is selected or unselected. If true, the button state is selected; if false, button state is unselected.
notify - Indicates whether valueChangedCallback is it can be either true or false.
showAsDefault: anIntegerSpecifies a shadow thickness for a second shadow to be drawn around the PushButton to visually mark it as a default button. When the resource is set to 0, the button appears as a normal button.
turnOff
Set the receiver's state to off (false).
turnOn
Set the receiver's state to on (true).
uncheck
Set the receiver's state to unchecked (false).
Arm Callback
These callbacks are triggered when the button is armed. Buttons are armed and appear pressed whenever the moused is pressed within the button and not yet released. If the mouse is moved outside of the button while still pressed, the button will be disarmed and appear unpressed. If the mouse is released while still in the button, the button is activated
Disarm Callback
These callbacks are triggered when the button is disarmed. Buttons are disarmed whenever the mouse is moved outside of the button after it has been armed. Moving the mouse back over the button while the mouse button is still down will cause the button to become rearmed.
Border Width
Specifies the width of the border that surrounds the widget’s window on all four sides. The width is specified in pixels. A width of zero means that no border will show.
Draw Policy
Specifies the drawing policy used in rendering buttons. The drawing policy determines two things for a button:
Enabled
Determines whether a widget will react to input events. Disabled (insensitive) widgets do not react to input events.
Mnemonic
Provides the user with alternate means for selecting a button.
OrientationSpecifies whether the image and label are displayed vertically or horizontally.
Set
Displays the button in its selected state if set to true.
Show As DefaultSpecifies a shadow thickness for a second shadow to be drawn around the PushButton to visually mark it as a default button. When the resource is set to 0, the button appears as a normal button.
Visible
Maps the widget (makes visible) as soon as it is both realized and managed, if set to True. If set to False, the client is responsible for mapping and unmapping the widget.
Copyright 2005, 2017 Instantiations, Inc. All rights reserved.