Compilation Units
Tagged Types
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.
<group>Trees and Lists</group>
Active_Property : constant Glib.Properties.Property_Boolean;
Whether the spinner is active (ie. shown) in the cell
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.
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. 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. 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 GtkSpinner 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 GtkIconSize value that specifies the size of the rendered spinner.