CellRendererPixbuf
Object Hierarchy:
Description:
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class CellRendererPixbuf : CellRenderer
Warning: CellRendererPixbuf is deprecated since 4.10.
Renders a pixbuf in a cell
List views use widgets to display their contents. You should use [class@Gtk.Image] for icons, and [class@Gtk.Picture] for images
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.