Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
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, IsDescendantOf EngineLang o) => IsEngineLang o
- toEngineLang :: (MonadIO m, IsEngineLang o) => o -> m EngineLang
- noEngineLang :: Maybe EngineLang
Exported types
newtype EngineLang Source #
Memory-managed wrapper type.
Instances
GObject EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang gobjectType :: IO GType # | |
HasParentTypes EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang | |
type ParentTypes EngineLang Source # | |
Defined in GI.Pango.Objects.EngineLang |
class (GObject o, IsDescendantOf EngineLang o) => IsEngineLang o Source #
Type class for types which can be safely cast to EngineLang
, for instance with toEngineLang
.
Instances
(GObject o, IsDescendantOf EngineLang o) => IsEngineLang o Source # | |
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
.