Gtk2HsContentsIndex
Graphics.UI.Gtk.TreeList.CellRendererPixbuf
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Detail
Class Hierarchy
Types
Constructors
Description
Renders a pixbuf in a cell
Synopsis
data CellRendererPixbuf
class CellRendererClass o => CellRendererPixbufClass o
castToCellRendererPixbuf :: GObjectClass obj => obj -> CellRendererPixbuf
toCellRendererPixbuf :: CellRendererPixbufClass o => o -> CellRendererPixbuf
cellRendererPixbufNew :: IO CellRendererPixbuf
Detail

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 stock icon (set via the stock-id 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.

Class Hierarchy
 |  GObject
 |   +----Object
 |         +----CellRenderer
 |               +----CellRendererPixbuf
 
Types
data CellRendererPixbuf
show/hide Instances
class CellRendererClass o => CellRendererPixbufClass o
show/hide Instances
castToCellRendererPixbuf :: GObjectClass obj => obj -> CellRendererPixbuf
toCellRendererPixbuf :: CellRendererPixbufClass o => o -> CellRendererPixbuf
Constructors
cellRendererPixbufNew :: IO CellRendererPixbuf
Create a new CellRendererPixbuf object.
Produced by Haddock version 0.8