gtk.cell_renderer_pixbuf

Module for [CellRendererPixbuf] class

Types 3

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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CellRendererPixbuf self() nothrowReturns `this`, for use in `with` statements.
CellRendererPixbufGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_pixbuf.CellRendererPixbuf] Returns: New builder object
bool followState() @property nothrowGet `followState` property. Returns: Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState.
void followState(bool propval) @property nothrowSet `followState` property. Params: propval = Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState.
gio.icon.Icon gicon() @property nothrowGet `gicon` property. Returns: The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically.
void gicon(gio.icon.Icon propval) @property nothrowSet `gicon` property. Params: propval = The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically.
string iconName() @property nothrowGet `iconName` property. Returns: The name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties.
void iconName(string propval) @property nothrowSet `iconName` property. Params: propval = The name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties.
gdkpixbuf.pixbuf.Pixbuf pixbuf() @property nothrow
void pixbuf(gdkpixbuf.pixbuf.Pixbuf propval) @property nothrow
void pixbufExpanderClosed(gdkpixbuf.pixbuf.Pixbuf propval) @property nothrow
void pixbufExpanderOpen(gdkpixbuf.pixbuf.Pixbuf propval) @property nothrow
string stockDetail() @property nothrow
void stockDetail(string propval) @property nothrow
string stockId() @property nothrow
void stockId(string propval) @property nothrow
uint stockSize() @property nothrowGet `stockSize` property. Returns: The #GtkIconSize value that specifies the size of the rendered icon.
void stockSize(uint propval) @property nothrowSet `stockSize` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered icon.
cairo.surface.Surface surface() @property nothrow
void surface(cairo.surface.Surface propval) @property nothrow
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkCellRendererPixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with [gobject.object.ObjectWrap.set]). Also, with #GtkTreeViewColum...

Fluent builder implementation template for gtk.cell_renderer_pixbuf.CellRendererPixbuf

Methods
T followState(bool propval) nothrowSet `followState` property. Params: propval = Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState. Returns: Builder instance for fluent chaining
T gicon(gio.icon.Icon propval) nothrowSet `gicon` property. Params: propval = The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically. Returns: Builder instance for fluent chaining
T iconName(string propval) nothrowSet `iconName` property. Params: propval = The name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties. Returns: Builder instance...
T pixbuf(gdkpixbuf.pixbuf.Pixbuf propval) nothrow
T stockDetail(string propval) nothrow
T stockId(string propval) nothrow
T stockSize(uint propval) nothrowSet `stockSize` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered icon. Returns: Builder instance for fluent chaining
T surface(cairo.surface.Surface propval) nothrow