Package: gtk

Accessor gtk-scale-button-icons

Lambda List

gtk-scale-button-icons (object)

Syntax

(gtk-scale-button-icons object object) => icons
(setf (gtk-scale-button-icons object) icons)

Arguments

object -- a gtk-scale-button widget
icons -- a list of strings with the icon names

Details

Accessor of the icons slot of the gtk-scale-button class.

The (setf gtk-scale-button-icons slot access function sets the icons to be used by the scale button. The (setf gtk-scale-button-icons) slot access function sets the icons.

The names of the icons to be used by the scale button. The first item in the list will be used in the button when the current value is the lowest value, the second item for the highest value. All the subsequent icons will be used for all the other values, spread evenly over the range of values. If there is only one icon name in the icons list, it will be used for all the values. If only two icon names are in the icons array, the first one will be used for the bottom 50% of the scale, and the second one for the top 50%. It is recommended to use at least 3 icons so that the scale button reflects the current value of the scale better for the users.
 

See also

2021-12-23