CellRendererSpinnerRef

public struct CellRendererSpinnerRef : CellRendererSpinnerProtocol, GWeakCapturing

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().

The CellRendererSpinnerRef type acts as a lightweight Swift reference to an underlying GtkCellRendererSpinner instance. It exposes methods that can operate on this data type through CellRendererSpinnerProtocol conformance. Use CellRendererSpinnerRef only as an unowned reference to an existing GtkCellRendererSpinner instance.

  • ptr
    Untyped pointer to the underlying `GtkCellRendererSpinner` instance.
    

    For type-safe access, use the generated, typed pointer cell_renderer_spinner_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

CellRendererSpinner Class