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.
CellRendererPixbuf self()Returns `this`, for use in `with` statements.CellRendererPixbufGidBuilder builder()Get builder for [gtk.cellrendererpixbuf.CellRendererPixbuf] Returns: New builder objectbool followState() @propertyGet `followState` property. Returns: Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState.void followState(bool propval) @propertySet `followState` property. Params: propval = Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState.gio.icon.Icon gicon() @propertyGet `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) @propertySet `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() @propertyGet `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) @propertySet `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() @propertyvoid pixbuf(gdkpixbuf.pixbuf.Pixbuf propval) @propertygdkpixbuf.pixbuf.Pixbuf pixbufExpanderClosed() @propertyvoid pixbufExpanderClosed(gdkpixbuf.pixbuf.Pixbuf propval) @propertygdkpixbuf.pixbuf.Pixbuf pixbufExpanderOpen() @propertyvoid pixbufExpanderOpen(gdkpixbuf.pixbuf.Pixbuf propval) @propertystring stockDetail() @propertyvoid stockDetail(string propval) @propertystring stockId() @propertyvoid stockId(string propval) @propertyuint stockSize() @propertyGet `stockSize` property. Returns: The #GtkIconSize value that specifies the size of the rendered icon.void stockSize(uint propval) @propertySet `stockSize` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered icon.cairo.surface.Surface surface() @propertyvoid surface(cairo.surface.Surface propval) @propertyT followState(bool propval)Set `followState` property. Params: propval = Specifies whether the rendered pixbuf should be colorized according to the #GtkCellRendererState. Returns: Builder instance for fluent chainingT gicon(gio.icon.Icon propval)Set `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 chainingT iconName(string propval)Set `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)T pixbufExpanderClosed(gdkpixbuf.pixbuf.Pixbuf propval)T pixbufExpanderOpen(gdkpixbuf.pixbuf.Pixbuf propval)T stockDetail(string propval)T stockId(string propval)T stockSize(uint propval)Set `stockSize` property. Params: propval = The #GtkIconSize value that specifies the size of the rendered icon. Returns: Builder instance for fluent chainingT surface(cairo.surface.Surface propval)Fluent builder for [gtk.cell_renderer_pixbuf.CellRendererPixbuf]