gi-pango-1.0.19: Pango bindings

Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com)
Safe Haskell | None
Language | Haskell2010

GI.Pango.Structs.EngineInfo

Contents

- Exported types
- Properties
  - engineType
  - id
  - nScripts
  - renderType
  - scripts

Description

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

Synopsis

- newtype EngineInfo = EngineInfo (ManagedPtr EngineInfo)
- newZeroEngineInfo :: MonadIO m => m EngineInfo
- noEngineInfo :: Maybe EngineInfo
- clearEngineInfoEngineType :: MonadIO m => EngineInfo -> m ()
- getEngineInfoEngineType :: MonadIO m => EngineInfo -> m (Maybe Text)
- setEngineInfoEngineType :: MonadIO m => EngineInfo -> CString -> m ()
- clearEngineInfoId :: MonadIO m => EngineInfo -> m ()
- getEngineInfoId :: MonadIO m => EngineInfo -> m (Maybe Text)
- setEngineInfoId :: MonadIO m => EngineInfo -> CString -> m ()
- getEngineInfoNScripts :: MonadIO m => EngineInfo -> m Int32
- setEngineInfoNScripts :: MonadIO m => EngineInfo -> Int32 -> m ()
- clearEngineInfoRenderType :: MonadIO m => EngineInfo -> m ()
- getEngineInfoRenderType :: MonadIO m => EngineInfo -> m (Maybe Text)
- setEngineInfoRenderType :: MonadIO m => EngineInfo -> CString -> m ()
- clearEngineInfoScripts :: MonadIO m => EngineInfo -> m ()
- getEngineInfoScripts :: MonadIO m => EngineInfo -> m (Maybe EngineScriptInfo)
- setEngineInfoScripts :: MonadIO m => EngineInfo -> Ptr EngineScriptInfo -> m ()

# Exported types

newtype EngineInfo Source #

Memory-managed wrapper type.

Constructors

EngineInfo (ManagedPtr EngineInfo) |

Instances

WrappedPtr EngineInfo Source # |
Instance details Defined in GI.Pango.Structs.EngineInfo Methods wrappedPtrCalloc :: IO (Ptr EngineInfo) Source # wrappedPtrCopy :: EngineInfo -> IO EngineInfo Source # wrappedPtrFree :: Maybe (FunPtr (Ptr EngineInfo -> IO ())) Source #
tag ~ AttrSet => Constructible EngineInfo tag Source # |
Instance details Defined in GI.Pango.Structs.EngineInfo Methods new :: MonadIO m => (ManagedPtr EngineInfo -> EngineInfo) -> [AttrOp EngineInfo tag] -> m EngineInfo Source #

newZeroEngineInfo :: MonadIO m => m EngineInfo Source #

Construct a `EngineInfo` struct initialized to zero.

noEngineInfo :: Maybe EngineInfo Source #

A convenience alias for `Nothing` :: `Maybe` `EngineInfo`.

# 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 ]