Package: gtk

Class gtk:cell-renderer-spinner

Superclasses

gtk:cell-renderer, gobject:initially-unowned, gobject: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, that is, shown in the cell.
Default value: false
pulse
The pulse property of type :uint (Read / Write)
The 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

The gtk:cell-renderer-spinner class renders a spinning animation in a cell, very similar to the gtk:spinner widget. It can often be used as an alternative to a the gtk:cell-renderer-progress object 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, for example, the gtk:tree-view-column-add-attribute function.

Warning

The gtk:cell-renderer-spinner implementation is deprecated since 4.10. List views use widgets to display their contents. You should use the gtk:spinner widget instead.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-7-30