GtkCellRendererSpinner renders a spinning animation in a cell, very similar to Gtk.Spinner.Gtk_Spinner. It can often be used as an alternative to a Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress for displaying indefinite activity, instead of actual progress.
To start the animation in a cell, set the Gtk.Cell_Renderer_Spinner.Gtk_Cell_Renderer_Spinner:active property to True and increment the Gtk.Cell_Renderer_Spinner.Gtk_Cell_Renderer_Spinner: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.
Active_Property : constant Glib.Properties.Property_Boolean;
function Get_Type return Glib.GType
type Gtk_Cell_Renderer_Spinner is access all Gtk_Cell_Renderer_Spinner_Record'Class;
function Gtk_Cell_Renderer_Spinner_New return Gtk_Cell_Renderer_Spinner
Returns a new cell renderer which will show a spinner to indicate activity. Since: gtk+ 2.20
type Gtk_Cell_Renderer_Spinner_Record is new Gtk_Cell_Renderer_Record with null record;
procedure Gtk_New (Self : out Gtk_Cell_Renderer_Spinner)
Returns a new cell renderer which will show a spinner to indicate activity. Since: gtk+ 2.20 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize
(Self : not null access Gtk_Cell_Renderer_Spinner_Record'Class)
Returns a new cell renderer which will show a spinner to indicate activity. Since: gtk+ 2.20 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
Pulse_Property : constant Glib.Properties.Property_Uint;
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.Gtk_Spinner widget draws one full cycle of the animation, consisting of 12 frames, in 750 milliseconds.
Size_Property : constant Gtk.Enums.Property_Gtk_Icon_Size;
The Gtk.Enums.Gtk_Icon_Size value that specifies the size of the rendered spinner.