|
Graphics.UI.Gtk.ModelView.CellRendererPixbuf | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
Renders a pixbuf in a cell
|
|
Synopsis |
|
|
|
|
Detail
|
|
A CellRendererPixbuf can be used to render an image in a cell. It
allows to render either a given Pixbuf (set via the cellPixbuf
property) or a stock icon (set via the cellPixbufStockId property).
To support the tree view, CellRendererPixbuf also supports rendering two
alternative pixbufs, when the
Graphics.UI.Gtk.ModelView.CellRenderer.cellIsExpander property is True.
If the this property is True and the cellPixbufExpanderOpen property is
set to a pixbuf, it renders that pixbuf, if the
Graphics.UI.Gtk.ModelView.CellRenderer.cellIsExpanded property is False
and the cellPixbufExpanderClosed property is set to a pixbuf, it renders
that one.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----CellRenderer
| +----CellRendererPixbuf
|
|
Types
|
|
data CellRendererPixbuf | Source |
|
|
|
|
|
|
|
|
|
|
|
Constructors
|
|
|
Create a new CellRendererPixbuf object.
|
|
Attributes
|
|
|
The pixbuf to render.
|
|
|
Pixbuf for open expander.
|
|
|
Pixbuf for closed expander.
|
|
|
The stock ID of the stock icon to render.
Default value: ""
|
|
|
The IconSize value that specifies the size of the rendered icon.
Default value: 1
|
|
|
Render detail to pass to the theme engine.
Default value: ""
|
|
|
The name of the themed icon to display. This property only has an effect
if not overridden by cellPixbufStockId or cellPixbuf attributes.
Default value: ""
|
|
|
Specifies whether the rendered pixbuf should be colorized according to
the CellRendererState.
Default value: False
|
|
Produced by Haddock version 2.6.0 |