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

GI.Pango.Structs.EngineScriptInfo

Description

The EngineScriptInfo structure contains information about how the shaper covers a particular script.

Synopsis

Exported types

newtype EngineScriptInfo Source #

Memory-managed wrapper type.

Constructors

EngineScriptInfo (ManagedPtr EngineScriptInfo) 

Instances

Instances details
Eq EngineScriptInfo Source # 
Instance details

Defined in GI.Pango.Structs.EngineScriptInfo

BoxedPtr EngineScriptInfo Source # 
Instance details

Defined in GI.Pango.Structs.EngineScriptInfo

CallocPtr EngineScriptInfo Source # 
Instance details

Defined in GI.Pango.Structs.EngineScriptInfo

ManagedPtrNewtype EngineScriptInfo Source # 
Instance details

Defined in GI.Pango.Structs.EngineScriptInfo

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

Defined in GI.Pango.Structs.EngineScriptInfo

Methods

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

newZeroEngineScriptInfo :: MonadIO m => m EngineScriptInfo Source #

Construct a EngineScriptInfo struct initialized to zero.

Methods

Properties

langs

a semicolon separated list of languages that this engine handles for this script. This may be empty, in which case the engine is saying that it is a fallback choice for all languages for this range, but should not be used if another engine indicates that it is specific for the language for a given code point. An entry in this list of "*" indicates that this engine is specific to all languages for this range.

clearEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m () Source #

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

clear #langs

getEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> m (Maybe Text) Source #

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

get engineScriptInfo #langs

setEngineScriptInfoLangs :: MonadIO m => EngineScriptInfo -> CString -> m () Source #

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

set engineScriptInfo [ #langs := value ]

script

a Script. The value ScriptCommon has the special meaning here of "all scripts"

getEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> m Script Source #

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

get engineScriptInfo #script

setEngineScriptInfoScript :: MonadIO m => EngineScriptInfo -> Script -> m () Source #

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

set engineScriptInfo [ #script := value ]