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.Objects.FontsetSimple

Contents

Description

FontsetSimple is a implementation of the abstract Fontset base class in terms of an array of fonts, which the creator provides when constructing the FontsetSimple.

Synopsis

Exported types

Methods

append

fontsetSimpleAppend Source #

Arguments

:: (HasCallStack, MonadIO m, IsFontsetSimple a, IsFont b) 
=> a

fontset: a FontsetSimple.

-> b

font: a Font.

-> m () 

Adds a font to the fontset.

new

fontsetSimpleNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Language

language: a Language tag

-> m FontsetSimple

Returns: the newly allocated FontsetSimple, which should be freed with objectUnref.

Creates a new FontsetSimple for the given language.

size

fontsetSimpleSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsFontsetSimple a) 
=> a

fontset: a FontsetSimple.

-> m Int32

Returns: the size of fontset.

Returns the number of fonts in the fontset.