About all my projects
Gnome::Gtk4::CellRendererSpinner

Gnome::Gtk4::CellRendererSpinner

Description

Renders a spinning animation in a cell

Gnome::Gtk4::CellRendererSpinner renders a spinning animation in a cell, very similar to Gnome::Gtk4::Spinner. It can often be used as an alternative to a Gnome::Gtk4::CellRendererProgress for displaying indefinite activity, instead of actual progress.

To start the animation in a cell, set the Gnome::Gtk4::CellRendererSpinner:active` property to True and increment the Gnome::Gtk4::CellRendererSpinner: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().

Class initialization

Note: The native version of this class is deprecated in gtk4-lib() since version 4.10

new

:native-object

Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object :$native-object! )

new-cellrendererspinner

Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10

Returns a new cell renderer which will show a spinner to indicate activity.

method new-cellrendererspinner ( --> Gnome::Gtk4::CellRendererSpinner \)