| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Pango.Structs.AttrColor
Description
The #PangoAttrColor structure is used to represent attributes that are colors.
- newtype AttrColor = AttrColor (ForeignPtr AttrColor)
- newZeroAttrColor :: MonadIO m => m AttrColor
- noAttrColor :: Maybe AttrColor
- attrColorReadAttr :: AttrColor -> IO Attribute
- attrColorReadColor :: AttrColor -> IO Color
Exported types
Constructors
| AttrColor (ForeignPtr AttrColor) |
newZeroAttrColor :: MonadIO m => m AttrColor Source
Construct a AttrColor struct initialized to zero.
Properties
Attr
Color
attrColorReadColor :: AttrColor -> IO Color Source