Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | jwlato@gmail.com |
Safe Haskell | None |
Renders a cell
- data CellRendererCairo
- class CellRendererClass o => CellRendererCairoClass o
- castToCellRendererCairo :: GObjectClass obj => obj -> CellRendererCairo
- gTypeCellRendererCairo :: GType
- toCellRendererCairo :: CellRendererCairoClass o => o -> CellRendererCairo
- withCellRendererCairo :: CellRendererCairo -> (Ptr CellRendererCairo -> IO b) -> IO b
- cellRendererCairoNew :: IO CellRendererCairo
- cellRendererSetRenderer :: CellRendererCairoClass self => self -> (Rectangle -> Render ()) -> IO ()
- cellRenderer :: CellRendererCairoClass self => WriteAttr self (Rectangle -> Render ())
Detail
A CellRendererCairo
can be used to render an image in a cell. It
allows to render via an arbitrary 'Render ()' command.
Class Hierarchy
|GObject
| +----Object
| +----CellRenderer
| +----CellRendererCairo
Types
data CellRendererCairo Source
A Cairo-based CellRenderer
class CellRendererClass o => CellRendererCairoClass o Source
castToCellRendererCairo :: GObjectClass obj => obj -> CellRendererCairoSource
withCellRendererCairo :: CellRendererCairo -> (Ptr CellRendererCairo -> IO b) -> IO bSource
Constructors
cellRendererCairoNew :: IO CellRendererCairoSource
Create a new CellRendererCairo object.
Functions
cellRendererSetRenderer :: CellRendererCairoClass self => self -> (Rectangle -> Render ()) -> IO ()Source
set the rendering function used by a CellRendererCairo
Attributes
cellRenderer :: CellRendererCairoClass self => WriteAttr self (Rectangle -> Render ())Source
The current rendering function.