gi-pango-1.0.11: Pango 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.Pango.Structs.AttrFontDesc

Contents

Description

The AttrFontDesc structure is used to store an attribute that sets all aspects of the font description at once.

Synopsis

Exported types

newZeroAttrFontDesc :: MonadIO m => m AttrFontDesc Source #

Construct a AttrFontDesc struct initialized to zero.

Methods

new

attrFontDescNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FontDescription

desc: the font description

-> m Attribute

Returns: the newly allocated Attribute, which should be freed with attributeDestroy.

Create a new font description attribute. This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.

Properties

attr

desc