Package: gtk

Accessor gtk-scale-digits

Lambda List

gtk-scale-digits (object)

Syntax

(gtk-scale-digits object) => digits
(setf (gtk-scale-digits object) digits)

Arguments

object -- a gtk-scale widget
digits -- an integer with the number of decimal places to display, e.g. use 1 to display 1.0, 2 to display 1.00, etc

Details

Accessor of the digits slot of the gtk-scale class.

The gtk-scale-digits slot access function returns the number of decimal places that are displayed. The (setf gtk-scale-digits) slot access function sets the number of decimal places that are displayed in the value. Also causes the value of the adjustment to be rounded off to this number of digits, so the retrieved value matches the value the user saw.
 

See also

2021-12-27