10.5.3 Abstract Gadget Classes The Push-Button Gadget

The push-button gadget provides press-to-activate switch behavior.

arm-callback will be invoked when the push button becomes armed (such as when the pointer moves into it, or a pointer button is pressed over it). When the button is actually activated (by releasing the pointer button over it), activate-callback will be invoked. Finally, disarm-callback will be invoked after activate-callback, or when the pointer is moved outside of the button.

push-button [Class]

The class that implements an abstract push button. It is a subclass of active-gadget and labelled-gadget-mixin.

:show-as-default [Initarg]
This initializes the "show as default" property for the gadget.

push-button-show-as-default [Generic Function]
Returns the "show as default" property for the push button gadget. When t, the push button will be drawn with a heavy border, which indicates that this button is the "default operation."

push-button-pane [Class]
The class that implements a portable push button; a subclass of push-button.

CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker