Package: gtk

Accessor gtk-progress-bar-fraction

Lambda List

gtk-progress-bar-fraction (object)

Syntax

(gtk-progress-bar-fraction object) => fraction
(setf (gtk-progress-bar-fraction object) fraction)

Arguments

object -- a gtk-progress-bar widget
fraction -- a double float with the fraction of the task that is been completed

Details

Accessor of the fraction slot of the gtk-progress-bar class.

The gtk-progress-bar-fraction slot access function returns the current fraction from 0.0 to 1.0 of the task that is been completed. The (setf gtk-progress-bar-fraction) slot access function causes the progress bar to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.
 

See also

*2021-11-2