gi-pango-1.0.22: Pango bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Objects.FontsetSimple

Contents

Description

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

Synopsis

Exported types

newtype FontsetSimple Source #

Memory-managed wrapper type.

Constructors

FontsetSimple (ManagedPtr FontsetSimple) 
Instances
Eq FontsetSimple Source # 
Instance details

Defined in GI.Pango.Objects.FontsetSimple

GObject FontsetSimple Source # 
Instance details

Defined in GI.Pango.Objects.FontsetSimple

Methods

gobjectType :: IO GType

IsGValue FontsetSimple Source #

Convert FontsetSimple to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Pango.Objects.FontsetSimple

Methods

toGValue :: FontsetSimple -> IO GValue

fromGValue :: GValue -> IO FontsetSimple

HasParentTypes FontsetSimple Source # 
Instance details

Defined in GI.Pango.Objects.FontsetSimple

type ParentTypes FontsetSimple Source # 
Instance details

Defined in GI.Pango.Objects.FontsetSimple

type ParentTypes FontsetSimple = Fontset ': (Object ': ([] :: [Type]))

class (GObject o, IsDescendantOf FontsetSimple o) => IsFontsetSimple o Source #

Type class for types which can be safely cast to FontsetSimple, for instance with toFontsetSimple.

Instances
(GObject o, IsDescendantOf FontsetSimple o) => IsFontsetSimple o Source # 
Instance details

Defined in GI.Pango.Objects.FontsetSimple

toFontsetSimple :: (MonadIO m, IsFontsetSimple o) => o -> m FontsetSimple Source #

Cast to FontsetSimple, for types for which this is known to be safe. For general casts, use castTo.

noFontsetSimple :: Maybe FontsetSimple Source #

A convenience alias for Nothing :: Maybe FontsetSimple.

Methods

Overloaded methods

append

fontsetSimpleAppend Source #

Arguments

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

fontset: a tFontsetSimple.

-> b

font: a tFont.

-> m () 

Adds a font to the fontset.

new

fontsetSimpleNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Language

language: a tLanguage tag

-> m FontsetSimple

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

Creates a new tFontsetSimple for the given language.

size

fontsetSimpleSize Source #

Arguments

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

fontset: a tFontsetSimple.

-> m Int32

Returns: the size of fontset.

Returns the number of fonts in the fontset.