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 -- 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 slot digits of the gtk-scale class.

The generic function gtk-scale-digits returns the number of decimal places that are displayed.

The generic function (setf gtk-scale-digits) 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

2015-2-22