Graphics.Rendering.Pango.Types

pango-0.12.3: Binding to the Pango text rendering engine.

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

Constructors

PangoContext (ForeignPtr PangoContext) |

Instances

Eq PangoContext |
Ord PangoContext |
GObjectClass PangoContext |
PangoContextClass PangoContext |

class GObjectClass o => PangoContextClass o

Instances

PangoContextClass PangoContext |

toPangoContext :: PangoContextClass o => o -> PangoContext

mkPangoContext :: (ForeignPtr PangoContext -> PangoContext, FinalizerPtr a)

unPangoContext :: PangoContext -> ForeignPtr PangoContext

castToPangoContext :: GObjectClass obj => obj -> PangoContext

gTypePangoContext :: GType

newtype PangoLayoutRaw

Constructors

PangoLayoutRaw (ForeignPtr PangoLayoutRaw) |

Instances

Eq PangoLayoutRaw |
Ord PangoLayoutRaw |
GObjectClass PangoLayoutRaw |
PangoLayoutRawClass PangoLayoutRaw |

class GObjectClass o => PangoLayoutRawClass o

Instances

PangoLayoutRawClass PangoLayoutRaw |

toPangoLayoutRaw :: PangoLayoutRawClass o => o -> PangoLayoutRaw

mkPangoLayoutRaw :: (ForeignPtr PangoLayoutRaw -> PangoLayoutRaw, FinalizerPtr a)

unPangoLayoutRaw :: PangoLayoutRaw -> ForeignPtr PangoLayoutRaw

castToPangoLayoutRaw :: GObjectClass obj => obj -> PangoLayoutRaw

gTypePangoLayoutRaw :: GType

newtype Font

Constructors

Font (ForeignPtr Font) |

Instances

Eq Font |
Ord Font |
GObjectClass Font |
FontClass Font |

class GObjectClass o => FontClass o

Instances

FontClass Font |

toFont :: FontClass o => o -> Font

mkFont :: (ForeignPtr Font -> Font, FinalizerPtr a)

unFont :: Font -> ForeignPtr Font

castToFont :: GObjectClass obj => obj -> Font

gTypeFont :: GType

newtype FontFamily

Constructors

FontFamily (ForeignPtr FontFamily) |

Instances

Eq FontFamily |
Ord FontFamily |
Show FontFamily |
GObjectClass FontFamily |
FontFamilyClass FontFamily |

class GObjectClass o => FontFamilyClass o

Instances

FontFamilyClass FontFamily |

toFontFamily :: FontFamilyClass o => o -> FontFamily

mkFontFamily :: (ForeignPtr FontFamily -> FontFamily, FinalizerPtr a)

unFontFamily :: FontFamily -> ForeignPtr FontFamily

castToFontFamily :: GObjectClass obj => obj -> FontFamily

gTypeFontFamily :: GType

newtype FontFace

Constructors

FontFace (ForeignPtr FontFace) |

Instances

Eq FontFace |
Ord FontFace |
Show FontFace |
GObjectClass FontFace |
FontFaceClass FontFace |

class GObjectClass o => FontFaceClass o

Instances

FontFaceClass FontFace |

toFontFace :: FontFaceClass o => o -> FontFace

mkFontFace :: (ForeignPtr FontFace -> FontFace, FinalizerPtr a)

unFontFace :: FontFace -> ForeignPtr FontFace

castToFontFace :: GObjectClass obj => obj -> FontFace

gTypeFontFace :: GType

newtype FontMap

Constructors

FontMap (ForeignPtr FontMap) |

Instances

Eq FontMap |
Ord FontMap |
GObjectClass FontMap |
FontMapClass FontMap |

class GObjectClass o => FontMapClass o

Instances

FontMapClass FontMap |

toFontMap :: FontMapClass o => o -> FontMap

mkFontMap :: (ForeignPtr FontMap -> FontMap, FinalizerPtr a)

unFontMap :: FontMap -> ForeignPtr FontMap

castToFontMap :: GObjectClass obj => obj -> FontMap

gTypeFontMap :: GType

newtype FontSet

Constructors

FontSet (ForeignPtr FontSet) |

Instances

Eq FontSet |
Ord FontSet |
GObjectClass FontSet |
FontSetClass FontSet |

class GObjectClass o => FontSetClass o

Instances

FontSetClass FontSet |

toFontSet :: FontSetClass o => o -> FontSet

mkFontSet :: (ForeignPtr FontSet -> FontSet, FinalizerPtr a)

unFontSet :: FontSet -> ForeignPtr FontSet

castToFontSet :: GObjectClass obj => obj -> FontSet

gTypeFontSet :: GType