CellRendererPixbuf


Object Hierarchy:

Gtk.CellRendererPixbuf Gtk.CellRendererPixbuf Gtk.CellRendererPixbuf Gtk.CellRenderer Gtk.CellRenderer Gtk.CellRenderer->Gtk.CellRendererPixbuf GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.CellRenderer GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned

Description:

[ CCode ( type_id = "gtk_cell_renderer_pixbuf_get_type ()" ) ]
public class CellRendererPixbuf : CellRenderer

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.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org