gi-pango-1.0.25: Pango bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Pango.Structs.Analysis

Description

The PangoAnalysis structure stores information about the properties of a segment of text.

Synopsis

Exported types

newtype Analysis Source #

Memory-managed wrapper type.

Constructors

Analysis (ManagedPtr Analysis) 

Instances

Instances details
Eq Analysis Source # 
Instance details

Defined in GI.Pango.Structs.Analysis

BoxedPtr Analysis Source # 
Instance details

Defined in GI.Pango.Structs.Analysis

CallocPtr Analysis Source # 
Instance details

Defined in GI.Pango.Structs.Analysis

ManagedPtrNewtype Analysis Source # 
Instance details

Defined in GI.Pango.Structs.Analysis

tag ~ 'AttrSet => Constructible Analysis tag Source # 
Instance details

Defined in GI.Pango.Structs.Analysis

Methods

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

newZeroAnalysis :: MonadIO m => m Analysis Source #

Construct a Analysis struct initialized to zero.

Methods

Properties

extraAttrs

extra attributes for this segment.

clearAnalysisExtraAttrs :: MonadIO m => Analysis -> m () Source #

Set the value of the “extra_attrs” field to Nothing. When overloading is enabled, this is equivalent to

clear #extraAttrs

getAnalysisExtraAttrs :: MonadIO m => Analysis -> m [Ptr ()] Source #

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

get analysis #extraAttrs

setAnalysisExtraAttrs :: MonadIO m => Analysis -> Ptr (GSList (Ptr ())) -> m () Source #

Set the value of the “extra_attrs” field. When overloading is enabled, this is equivalent to

set analysis [ #extraAttrs := value ]

flags

boolean flags for this segment (Since: 1.16).

getAnalysisFlags :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #flags

setAnalysisFlags :: MonadIO m => Analysis -> Word8 -> m () Source #

Set the value of the “flags” field. When overloading is enabled, this is equivalent to

set analysis [ #flags := value ]

font

the font for this segment.

clearAnalysisFont :: MonadIO m => Analysis -> m () Source #

Set the value of the “font” field to Nothing. When overloading is enabled, this is equivalent to

clear #font

getAnalysisFont :: MonadIO m => Analysis -> m (Maybe Font) Source #

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

get analysis #font

setAnalysisFont :: MonadIO m => Analysis -> Ptr Font -> m () Source #

Set the value of the “font” field. When overloading is enabled, this is equivalent to

set analysis [ #font := value ]

gravity

the glyph orientation for this segment (A PangoGravity).

getAnalysisGravity :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #gravity

setAnalysisGravity :: MonadIO m => Analysis -> Word8 -> m () Source #

Set the value of the “gravity” field. When overloading is enabled, this is equivalent to

set analysis [ #gravity := value ]

langEngine

unused, reserved

clearAnalysisLangEngine :: MonadIO m => Analysis -> m () Source #

Set the value of the “lang_engine” field to Nothing. When overloading is enabled, this is equivalent to

clear #langEngine

getAnalysisLangEngine :: MonadIO m => Analysis -> m (Ptr ()) Source #

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

get analysis #langEngine

setAnalysisLangEngine :: MonadIO m => Analysis -> Ptr () -> m () Source #

Set the value of the “lang_engine” field. When overloading is enabled, this is equivalent to

set analysis [ #langEngine := value ]

language

the detected language for this segment.

clearAnalysisLanguage :: MonadIO m => Analysis -> m () Source #

Set the value of the “language” field to Nothing. When overloading is enabled, this is equivalent to

clear #language

getAnalysisLanguage :: MonadIO m => Analysis -> m (Maybe Language) Source #

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

get analysis #language

setAnalysisLanguage :: MonadIO m => Analysis -> Ptr Language -> m () Source #

Set the value of the “language” field. When overloading is enabled, this is equivalent to

set analysis [ #language := value ]

level

the bidirectional level for this segment.

getAnalysisLevel :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #level

setAnalysisLevel :: MonadIO m => Analysis -> Word8 -> m () Source #

Set the value of the “level” field. When overloading is enabled, this is equivalent to

set analysis [ #level := value ]

script

the detected script for this segment (A PangoScript) (Since: 1.18).

getAnalysisScript :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #script

setAnalysisScript :: MonadIO m => Analysis -> Word8 -> m () Source #

Set the value of the “script” field. When overloading is enabled, this is equivalent to

set analysis [ #script := value ]

shapeEngine

unused, reserved

clearAnalysisShapeEngine :: MonadIO m => Analysis -> m () Source #

Set the value of the “shape_engine” field to Nothing. When overloading is enabled, this is equivalent to

clear #shapeEngine

getAnalysisShapeEngine :: MonadIO m => Analysis -> m (Ptr ()) Source #

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

get analysis #shapeEngine

setAnalysisShapeEngine :: MonadIO m => Analysis -> Ptr () -> m () Source #

Set the value of the “shape_engine” field. When overloading is enabled, this is equivalent to

set analysis [ #shapeEngine := value ]