type Gtk_Cell_Renderer_Spinner_Record is new Gtk_Cell_Renderer_Record with null record;
type Gtk_Cell_Renderer_Spinner is access all Gtk_Cell_Renderer_Spinner_Record'Class;
Active_Property : constant Glib.Properties.Property_Boolean;
Pulse_Property : constant Glib.Properties.Property_Uint;
Size_Property : constant Gtk.Enums.Property_Gtk_Icon_Size;
procedure Gtk_New
( | Self | : out Gtk_Cell_Renderer_Spinner); |
procedure Initialize
( | Self | : not null access Gtk_Cell_Renderer_Spinner_Record'Class); |
function Gtk_Cell_Renderer_Spinner_New return Gtk_Cell_Renderer_Spinner;
function Get_Type return Glib.GType;
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.