gi-pango-1.0.20: Pango bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.AttrColor

Contents

Description

The AttrColor structure is used to represent attributes that are colors.

Synopsis

Exported types

newtype AttrColor Source #

Memory-managed wrapper type.

Constructors

AttrColor (ManagedPtr AttrColor) 
Instances
WrappedPtr AttrColor Source # 
Instance details

Defined in GI.Pango.Structs.AttrColor

tag ~ AttrSet => Constructible AttrColor tag Source # 
Instance details

Defined in GI.Pango.Structs.AttrColor

Methods

new :: MonadIO m => (ManagedPtr AttrColor -> AttrColor) -> [AttrOp AttrColor tag] -> m AttrColor

newZeroAttrColor :: MonadIO m => m AttrColor Source #

Construct a AttrColor struct initialized to zero.

noAttrColor :: Maybe AttrColor Source #

A convenience alias for Nothing :: Maybe AttrColor.

Properties

attr

the common portion of the attribute

getAttrColorAttr :: MonadIO m => AttrColor -> m Attribute Source #

Get the value of the “attr” field. When overloading is enabled, this is equivalent to

get attrColor #attr

color

the Color which is the value of the attribute

getAttrColorColor :: MonadIO m => AttrColor -> m Color Source #

Get the value of the “color” field. When overloading is enabled, this is equivalent to

get attrColor #color