Class CellRendererSpinner

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") @Deprecated public class CellRendererSpinner extends CellRenderer
Deprecated.
List views use widgets to display their contents. You should use Spinner instead

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

  • Constructor Details

    • CellRendererSpinner

      public CellRendererSpinner(MemorySegment address)
      Deprecated.
      Create a CellRendererSpinner instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • CellRendererSpinner

      public CellRendererSpinner()
      Deprecated.
      Create a new CellRendererSpinner.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the CellRendererSpinner class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      Deprecated.
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected CellRendererSpinner asParent()
      Deprecated.
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class CellRenderer
      Returns:
      the instance as if it were its parent type
    • builder

      public static CellRendererSpinner.Builder<? extends CellRendererSpinner.Builder> builder()
      Deprecated.
      A CellRendererSpinner.Builder object constructs a CellRendererSpinner with the specified properties. Use the various set...() methods to set properties, and finish construction with CellRendererSpinner.Builder.build().
      Returns:
      the builder object