gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.CellRendererPixbuf

Contents

Description

A CellRendererPixbuf can be used to render an image in a cell. It allows to render either a given Pixbuf (set via the CellRendererPixbuf:pixbuf property) or a named icon (set via the CellRendererPixbuf:icon-name property).

To support the tree view, CellRendererPixbuf also supports rendering two alternative pixbufs, when the CellRenderer:is-expander property is True. If the CellRenderer:is-expanded property is True and the CellRendererPixbuf:pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the CellRenderer:is-expanded property is False and the CellRendererPixbuf:pixbuf-expander-closed property is set to a pixbuf, it renders that one.

Synopsis

Exported types

Methods

new

cellRendererPixbufNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CellRendererPixbuf

Returns: the new cell renderer

Creates a new CellRendererPixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set()). Also, with TreeViewColumn, you can bind a property to a value in a TreeModel. For example, you can bind the “pixbuf” property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the TreeView.

Properties

followState

data CellRendererPixbufFollowStatePropertyInfo Source #

Instances

AttrInfo CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrOrigin CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrLabel CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrGetType CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufFollowStatePropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufFollowStatePropertyInfo Source # 

gicon

data CellRendererPixbufGiconPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufGiconPropertyInfo Source # 
type AttrOrigin CellRendererPixbufGiconPropertyInfo Source # 
type AttrLabel CellRendererPixbufGiconPropertyInfo Source # 
type AttrGetType CellRendererPixbufGiconPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufGiconPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufGiconPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufGiconPropertyInfo Source # 

iconName

data CellRendererPixbufIconNamePropertyInfo Source #

Instances

AttrInfo CellRendererPixbufIconNamePropertyInfo Source # 
type AttrOrigin CellRendererPixbufIconNamePropertyInfo Source # 
type AttrLabel CellRendererPixbufIconNamePropertyInfo Source # 
type AttrGetType CellRendererPixbufIconNamePropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufIconNamePropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufIconNamePropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufIconNamePropertyInfo Source # 

pixbuf

data CellRendererPixbufPixbufPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufPixbufPropertyInfo Source # 
type AttrOrigin CellRendererPixbufPixbufPropertyInfo Source # 
type AttrLabel CellRendererPixbufPixbufPropertyInfo Source # 
type AttrGetType CellRendererPixbufPixbufPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufPixbufPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufPixbufPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufPixbufPropertyInfo Source # 

pixbufExpanderClosed

data CellRendererPixbufPixbufExpanderClosedPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrOrigin CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrLabel CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrGetType CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufPixbufExpanderClosedPropertyInfo Source # 

pixbufExpanderOpen

data CellRendererPixbufPixbufExpanderOpenPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrOrigin CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrLabel CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrGetType CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufPixbufExpanderOpenPropertyInfo Source # 

stockDetail

data CellRendererPixbufStockDetailPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrOrigin CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrLabel CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrGetType CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufStockDetailPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufStockDetailPropertyInfo Source # 

stockId

data CellRendererPixbufStockIdPropertyInfo Source #

Instances

AttrInfo CellRendererPixbufStockIdPropertyInfo Source # 
type AttrOrigin CellRendererPixbufStockIdPropertyInfo Source # 
type AttrLabel CellRendererPixbufStockIdPropertyInfo Source # 
type AttrGetType CellRendererPixbufStockIdPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufStockIdPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufStockIdPropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufStockIdPropertyInfo Source # 

stockSize

data CellRendererPixbufStockSizePropertyInfo Source #

Instances

AttrInfo CellRendererPixbufStockSizePropertyInfo Source # 
type AttrOrigin CellRendererPixbufStockSizePropertyInfo Source # 
type AttrLabel CellRendererPixbufStockSizePropertyInfo Source # 
type AttrGetType CellRendererPixbufStockSizePropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufStockSizePropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufStockSizePropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufStockSizePropertyInfo Source # 

surface

data CellRendererPixbufSurfacePropertyInfo Source #

Instances

AttrInfo CellRendererPixbufSurfacePropertyInfo Source # 
type AttrOrigin CellRendererPixbufSurfacePropertyInfo Source # 
type AttrLabel CellRendererPixbufSurfacePropertyInfo Source # 
type AttrGetType CellRendererPixbufSurfacePropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererPixbufSurfacePropertyInfo Source # 
type AttrSetTypeConstraint CellRendererPixbufSurfacePropertyInfo Source # 
type AttrAllowedOps CellRendererPixbufSurfacePropertyInfo Source #