button-style

Name

button-style -- Set the button style for button number BUTTON in the current decor.

Synopsis

(button-style button #&key mwm
			      (active-up '()) 
			      (active-down '()) 
			      (inactive '()) #&allow-other-keys #&rest rest)

Description

Set the button style for button number BUTTON in the current decor. MWM sets the button's mwm flag (see set-button-mwm-flag!. This function also takes the keyword arguments #:justify, #:relief, #:vertical-justify, #:use-style-of, #:solid, #:gradient, #:h-gradient, #:v-gradient, #:relief-pattern, #:vector, #:pixmap, and #:tiled-pixmap, with effects as described under the `Face Flags' and `Face Specification Flags' concepts (with the additions that #:tiled-pixmap is an always-tiled pixmap, #:vector is a synonym for #:relief-pattern, and #:h-gradient and #:v-gradient are horizontal and vertical gradients). These extra keyword arguments can either be included in the main argument list, or lists of these arguments can be used as the ACTIVE-UP, ACTIVE-DOWN, or INACTIVE arguments.

Implementation Notes

Module: (app scwm face)

Defined in scheme/face.scm at line 104 (CVS log)