Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | None |
Graphics.Rendering.Pango.Types
Description
This file reflects the Gtk+ object hierarchy in terms of Haskell classes.
Note: the mk... functions were originally meant to simply be an alias for the constructor. However, in order to communicate the destructor of an object to objectNew, the mk... functions are now a tuple containing Haskell constructor and the destructor function pointer. This hack avoids changing all modules that simply pass mk... to objectNew.
Documentation
module System.Glib.GObject
newtype PangoContext Source
Constructors
PangoContext (ForeignPtr PangoContext) |
class GObjectClass o => PangoContextClass o Source
Instances
toPangoContext :: PangoContextClass o => o -> PangoContextSource
castToPangoContext :: GObjectClass obj => obj -> PangoContextSource
newtype PangoLayoutRaw Source
Constructors
PangoLayoutRaw (ForeignPtr PangoLayoutRaw) |
class GObjectClass o => PangoLayoutRawClass o Source
Instances
toPangoLayoutRaw :: PangoLayoutRawClass o => o -> PangoLayoutRawSource
castToPangoLayoutRaw :: GObjectClass obj => obj -> PangoLayoutRawSource
Constructors
Font (ForeignPtr Font) |
class GObjectClass o => FontClass o Source
mkFont :: (ForeignPtr Font -> Font, FinalizerPtr a)Source
unFont :: Font -> ForeignPtr FontSource
castToFont :: GObjectClass obj => obj -> FontSource
newtype FontFamily Source
Constructors
FontFamily (ForeignPtr FontFamily) |
class GObjectClass o => FontFamilyClass o Source
Instances
toFontFamily :: FontFamilyClass o => o -> FontFamilySource
mkFontFamily :: (ForeignPtr FontFamily -> FontFamily, FinalizerPtr a)Source
castToFontFamily :: GObjectClass obj => obj -> FontFamilySource
Constructors
FontFace (ForeignPtr FontFace) |
class GObjectClass o => FontFaceClass o Source
Instances
toFontFace :: FontFaceClass o => o -> FontFaceSource
mkFontFace :: (ForeignPtr FontFace -> FontFace, FinalizerPtr a)Source
castToFontFace :: GObjectClass obj => obj -> FontFaceSource
Constructors
FontMap (ForeignPtr FontMap) |
Instances
class GObjectClass o => FontMapClass o Source
Instances
toFontMap :: FontMapClass o => o -> FontMapSource
mkFontMap :: (ForeignPtr FontMap -> FontMap, FinalizerPtr a)Source
castToFontMap :: GObjectClass obj => obj -> FontMapSource
Constructors
FontSet (ForeignPtr FontSet) |
Instances
class GObjectClass o => FontSetClass o Source
Instances
toFontSet :: FontSetClass o => o -> FontSetSource
mkFontSet :: (ForeignPtr FontSet -> FontSet, FinalizerPtr a)Source
castToFontSet :: GObjectClass obj => obj -> FontSetSource