Class CellRendererPixbuf

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") @Deprecated public class CellRendererPixbuf extends CellRenderer
Deprecated.
List views use widgets to display their contents. You should use Image for icons, and Picture for images

Renders a pixbuf in a cell

A GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render either a given GdkPixbuf (set via the GtkCellRendererPixbuf:pixbuf property) or a named icon (set via the GtkCellRendererPixbuf:icon-name property).

To support the tree view, GtkCellRendererPixbuf also supports rendering two alternative pixbufs, when the GtkCellRenderer:is-expander property is true. If the GtkCellRenderer:is-expanded property is true and the GtkCellRendererPixbuf:pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the GtkCellRenderer:is-expanded property is false and the GtkCellRendererPixbuf:pixbuf-expander-closed property is set to a pixbuf, it renders that one.

  • Constructor Details

    • CellRendererPixbuf

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

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

    • getType

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

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

      protected CellRendererPixbuf 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 CellRendererPixbuf.Builder<? extends CellRendererPixbuf.Builder> builder()
      Deprecated.
      A CellRendererPixbuf.Builder object constructs a CellRendererPixbuf with the specified properties. Use the various set...() methods to set properties, and finish construction with CellRendererPixbuf.Builder.build().
      Returns:
      the builder object