Gtk2HsContentsIndex
Graphics.UI.Gtk.ModelView.CellRendererPixbuf
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Detail
Class Hierarchy
Types
Constructors
Attributes
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
cellPixbuf :: CellRendererPixbufClass self => Attr self Pixbuf
cellPixbufExpanderOpen :: CellRendererPixbufClass self => Attr self Pixbuf
cellPixbufExpanderClosed :: CellRendererPixbufClass self => Attr self Pixbuf
cellPixbufStockId :: CellRendererPixbufClass self => Attr self String
cellPixbufStockSize :: CellRendererPixbufClass self => Attr self Int
cellPixbufStockDetail :: CellRendererPixbufClass self => Attr self String
cellPixbufIconName :: CellRendererPixbufClass self => Attr self String
cellPixbufFollowState :: CellRendererPixbufClass self => Attr self Bool
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.
Attributes
cellPixbuf :: CellRendererPixbufClass self => Attr self Pixbuf
The pixbuf to render.
cellPixbufExpanderOpen :: CellRendererPixbufClass self => Attr self Pixbuf
Pixbuf for open expander.
cellPixbufExpanderClosed :: CellRendererPixbufClass self => Attr self Pixbuf
Pixbuf for closed expander.
cellPixbufStockId :: CellRendererPixbufClass self => Attr self String

The stock ID of the stock icon to render.

Default value: ""

cellPixbufStockSize :: CellRendererPixbufClass self => Attr self Int

The IconSize value that specifies the size of the rendered icon.

Default value: 1

cellPixbufStockDetail :: CellRendererPixbufClass self => Attr self String

Render detail to pass to the theme engine.

Default value: ""

cellPixbufIconName :: CellRendererPixbufClass self => Attr self String

The name of the themed icon to display. This property only has an effect if not overridden by cellPixbufStockId or cellPixbuf attributes.

Default value: ""

cellPixbufFollowState :: CellRendererPixbufClass self => Attr self Bool

Specifies whether the rendered pixbuf should be colorized according to the CellRendererState.

Default value: False

Produced by Haddock version 0.8