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.Structs.EngineInfo

Description

The EngineInfo structure contains information about a particular engine. It contains the following fields:

Synopsis

Exported types

newtype EngineInfo Source #

Memory-managed wrapper type.

newZeroEngineInfo :: MonadIO m => m EngineInfo Source #

Construct a EngineInfo struct initialized to zero.

Methods

Overloaded methods

Properties

engineType

a string identifying the engine type.

clearEngineInfoEngineType :: MonadIO m => EngineInfo -> m () Source #

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

clear #engineType

getEngineInfoEngineType :: MonadIO m => EngineInfo -> m (Maybe Text) Source #

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

get engineInfo #engineType

setEngineInfoEngineType :: MonadIO m => EngineInfo -> CString -> m () Source #

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

set engineInfo [ #engineType := value ]

id

a unique string ID for the engine.

clearEngineInfoId :: MonadIO m => EngineInfo -> m () Source #

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

clear #id

getEngineInfoId :: MonadIO m => EngineInfo -> m (Maybe Text) Source #

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

get engineInfo #id

setEngineInfoId :: MonadIO m => EngineInfo -> CString -> m () Source #

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

set engineInfo [ #id := value ]

nScripts

number of items in scripts.

getEngineInfoNScripts :: MonadIO m => EngineInfo -> m Int32 Source #

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

get engineInfo #nScripts

setEngineInfoNScripts :: MonadIO m => EngineInfo -> Int32 -> m () Source #

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

set engineInfo [ #nScripts := value ]

renderType

a string identifying the render type.

clearEngineInfoRenderType :: MonadIO m => EngineInfo -> m () Source #

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

clear #renderType

getEngineInfoRenderType :: MonadIO m => EngineInfo -> m (Maybe Text) Source #

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

get engineInfo #renderType

setEngineInfoRenderType :: MonadIO m => EngineInfo -> CString -> m () Source #

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

set engineInfo [ #renderType := value ]

scripts

array of scripts this engine supports.

clearEngineInfoScripts :: MonadIO m => EngineInfo -> m () Source #

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

clear #scripts

getEngineInfoScripts :: MonadIO m => EngineInfo -> m (Maybe EngineScriptInfo) Source #

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

get engineInfo #scripts

setEngineInfoScripts :: MonadIO m => EngineInfo -> Ptr EngineScriptInfo -> m () Source #

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

set engineInfo [ #scripts := value ]