gtk.cell_renderer_spinner
Module for [CellRendererSpinner] class
Types 3
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.TreeViewColumn.addAttribute].
Methods
CellRendererSpinner self()Returns `this`, for use in `with` statements.CellRendererSpinnerGidBuilder builder()Get builder for [gtk.cellrendererspinner.CellRendererSpinner] Returns: New builder objectbool active() @propertyvoid active(bool propval) @propertyuint pulse() @propertyGet `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) @propertySet `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() @propertyGet `size` property. Returns: The #GtkIconSize value that specifies the size of the rendered spinner.void size(gtk.types.IconSize propval) @propertySet `size` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered spinner.Methods
T active(bool propval)T pulse(uint propval)Set `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)Set `size` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered spinner. Returns: Builder instance for fluent chainingclassCellRendererSpinnerGidBuilder : CellRendererSpinnerGidBuilderImpl!CellRendererSpinnerGidBuilder
Fluent builder for [gtk.cell_renderer_spinner.CellRendererSpinner]
Methods