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.Objects.EngineLang

Contents

- Exported types

Description

The `EngineLang` class is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. For instance, a custom `EngineLang` could be provided for Thai to implement the dictionary-based word boundary lookups needed for that language.

Synopsis

- newtype EngineLang = EngineLang (ManagedPtr EngineLang)
- class GObject o => IsEngineLang o
- toEngineLang :: (MonadIO m, IsEngineLang o) => o -> m EngineLang
- noEngineLang :: Maybe EngineLang

# Exported types

newtype EngineLang Source #

Memory-managed wrapper type.

Constructors

EngineLang (ManagedPtr EngineLang) |

Instances

GObject EngineLang Source # |
Instance details Defined in GI.Pango.Objects.EngineLang Methods gobjectType :: EngineLang -> IO GType Source #
IsObject EngineLang Source # |
Instance details Defined in GI.Pango.Objects.EngineLang
IsEngine EngineLang Source # |
Instance details Defined in GI.Pango.Objects.EngineLang
IsEngineLang EngineLang Source # |
Instance details Defined in GI.Pango.Objects.EngineLang

class GObject o => IsEngineLang o Source #

Type class for types which can be safely cast to `EngineLang`, for instance with `toEngineLang`.

Instances

(GObject a, (UnknownAncestorError EngineLang a :: Constraint)) => IsEngineLang a Source # |
Instance details Defined in GI.Pango.Objects.EngineLang
IsEngineLang EngineLang Source # |
Instance details Defined in GI.Pango.Objects.EngineLang

toEngineLang :: (MonadIO m, IsEngineLang o) => o -> m EngineLang Source #

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

noEngineLang :: Maybe EngineLang Source #

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