Package: gtk

Class gtk-cell-renderer-spinner

Superclasses

gtk-cell-renderer, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

active
The active property of type :boolean (Read / Write)
Whether the spinner is active, i.e. shown, in the cell.
Default value: false
pulse
The pulse property of type :uint (Read / Write)
Pulse of the spinner. Increment this value to draw the next frame of the spinner animation. Usually, you would update this value in a timeout. By default, the gtk-spinner widget draws one full cycle of the animation, consisting of 12 frames, in 750 milliseconds.
Default value: 0
size
The size property of type gtk-icon-size (Read / Write)
The icon size that specifies the size of the rendered spinner.
Default value: :menu

Details

gtk-cell-renderer-spinner renders a spinning animation in a cell, very similar to gtk-spinner. It can often be used as an alternative to a gtk-cell-renderer-progress for displaying indefinite activity, instead of actual progress.

To start the animation in a cell, set the active property to true and increment the pulse property at regular intervals. The usual way to set the cell renderer properties for each cell is to bind them to columns in your tree model using e.g. the function gtk-tree-view-column-add-attribute.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2020-6-13