Class
Gtk.CellRendererSpinner
Description [src]
final class Gtk.CellRendererSpinner : Gtk.CellRenderer {
/* No available fields */
}
Renders a spinning animation in a cell
GtkCellRendererSpinner renders a spinning animation in a cell, very
similar to GtkSpinner
. It can often be used as an alternative
to a GtkCellRendererProgress
for displaying indefinite activity,
instead of actual progress.
To start the animation in a cell, set the GtkCellRendererSpinner:active
property to TRUE
and increment the GtkCellRendererSpinner: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.
gtk_tree_view_column_add_attribute()
.
Constructors
gtk_cell_renderer_spinner_new
Returns a new cell renderer which will show a spinner to indicate activity.
Properties
Gtk.CellRendererSpinner:active
Gtk.CellRendererSpinner:pulse
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.
Gtk.CellRendererSpinner:size
The GtkIconSize
value that specifies the size of the rendered spinner.
Properties inherited from GtkCellRenderer (15)
Gtk.CellRenderer:cell-background
Gtk.CellRenderer:cell-background-rgba
Cell background as a GdkRGBA