gtk.cell_renderer_spinner

Module for [CellRendererSpinner] class

Types 3

Renders a spinning animation in a cell

gtk.cell_renderer_spinner.CellRendererSpinner renders a spinning animation in a cell, very similar to gtk.spinner.Spinner. It can often be used as an alternative to a gtk.cell_renderer_progress.CellRendererProgress 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.TreeViewColumn.addAttribute.

Deprecated

List views use widgets to display their contents.

You should use gtk.spinner.Spinner instead

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CellRendererSpinner self() nothrowReturns `this`, for use in `with` statements.
CellRendererSpinnerGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_spinner.CellRendererSpinner] Returns: New builder object
bool active() @property nothrow
void active(bool propval) @property nothrow
uint pulse() @property nothrowGet `pulse` property. Returns: 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.
void pulse(uint propval) @property nothrowSet `pulse` property. Params: propval = 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.types.IconSize size() @property nothrowGet `size` property. Returns: The [gtk.types.IconSize] value that specifies the size of the rendered spinner.
void size(gtk.types.IconSize propval) @property nothrowSet `size` property. Params: propval = The [gtk.types.IconSize] value that specifies the size of the rendered spinner.
Constructors
this(void * ptr, Flag!"Take" take)
this()Returns a new cell renderer which will show a spinner to indicate activity. Returns: a new [gtk.cell_renderer.CellRenderer]

Fluent builder implementation template for gtk.cell_renderer_spinner.CellRendererSpinner

Methods
T active(bool propval) nothrow
T pulse(uint propval) nothrowSet `pulse` property. Params: propval = 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.
T size(gtk.types.IconSize propval) nothrowSet `size` property. Params: propval = The [gtk.types.IconSize] value that specifies the size of the rendered spinner. Returns: Builder instance for fluent chaining