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.
-
Untyped pointer to the underlying `GtkCellRendererSpinner` instance.For type-safe access, use the generated, typed pointer
cell_renderer_spinner_ptrproperty instead.Declaration
Swift
public let ptr: UnsafeMutableRawPointer!
-
Designated initialiser from the underlying
Cdata typeDeclaration
Swift
@inlinable init(_ p: UnsafeMutablePointer<GtkCellRendererSpinner>) -
Designated initialiser from a constant pointer to the underlying
Cdata typeDeclaration
Swift
@inlinable init(_ p: UnsafePointer<GtkCellRendererSpinner>) -
Conditional initialiser from an optional pointer to the underlying
Cdata typeDeclaration
Swift
@inlinable init!(_ maybePointer: UnsafeMutablePointer<GtkCellRendererSpinner>?) -
Conditional initialiser from an optional, non-mutable pointer to the underlying
Cdata typeDeclaration
Swift
@inlinable init!(_ maybePointer: UnsafePointer<GtkCellRendererSpinner>?) -
Conditional initialiser from an optional
gpointerDeclaration
Swift
@inlinable init!(gpointer g: gpointer?) -
Conditional initialiser from an optional, non-mutable
gconstpointerDeclaration
Swift
@inlinable init!(gconstpointer g: gconstpointer?) -
Reference intialiser for a related type that implements
CellRendererSpinnerProtocolDeclaration
Swift
@inlinable init<T>(_ other: T) where T : CellRendererSpinnerProtocol -
This factory is syntactic sugar for setting weak pointers wrapped in
GWeak<T>Declaration
Swift
@inlinable static func unowned<T>(_ other: T) -> CellRendererSpinnerRef where T : CellRendererSpinnerProtocol -
Unsafe typed initialiser. Do not use unless you know the underlying data type the pointer points to conforms to
CellRendererSpinnerProtocol.Declaration
Swift
@inlinable init<T>(cPointer: UnsafeMutablePointer<T>) -
Unsafe typed initialiser. Do not use unless you know the underlying data type the pointer points to conforms to
CellRendererSpinnerProtocol.Declaration
Swift
@inlinable init<T>(constPointer: UnsafePointer<T>) -
Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to
CellRendererSpinnerProtocol.Declaration
Swift
@inlinable init(mutating raw: UnsafeRawPointer) -
Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to
CellRendererSpinnerProtocol.Declaration
Swift
@inlinable init(raw: UnsafeMutableRawPointer) -
Unsafe untyped initialiser. Do not use unless you know the underlying data type the pointer points to conforms to
CellRendererSpinnerProtocol.Declaration
Swift
@inlinable init(opaquePointer: OpaquePointer) -
Returns a new cell renderer which will show a spinner to indicateactivity.
Declaration
Swift
@inlinable init()
View on GitHub
Install in Dash
CellRendererSpinnerRef Structure Reference