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

A CellRendererPixbuf can be used to render an image in a cell.

It allows to render either a given Pixbuf (set via the pixbuf property) or a named icon (set via the icon_name property).

To support the tree view, CellRendererPixbuf also supports rendering two alternative pixbufs, when the is_expander property is true. If the is_expanded property is true and the pixbuf_expander_open property is set to a pixbuf, it renders that pixbuf, if the is_expanded property is false and the pixbuf_expander_closed property is set to a pixbuf, it renders that one.


Namespace: Gtk
Package: gtk+-3.0

Content:

Properties:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org