gtk2hs-cast-th-0.10.1.0: gtk2hs-cast-th.cabal
name: gtk2hs-cast-th
version: 0.10.1.0
cabal-version: >= 1.6
build-type: Simple
license: OtherLicense
license-file: LICENSE
copyright: 2009 Marco Túlio Gontijo e Silva <marcot@holoscopio.com>
author: Marco Túlio Gontijo e Silva <marcot@holoscopio.com>
maintainer: Marco Túlio Gontijo e Silva <marcot@holoscopio.com>
stability: alpha
bug-reports: mailto:marcot@holoscopio.com
synopsis: A type class for cast functions of Gtk2hs: TH package
description:
This package contains a type class called Cast with a function cast, that is a
wrapper for all the castTo* functions of gtk2hs. It makes it easier to write
other functions that require a castTo* as a parameter, like xmlGetWidget from
glade. The main utility of these packages is to use xmlGetWidgetCast, a
version of xmlGetWidget defined in gtk2hs-cast-glade, which has the type:
xmlGetWidgetCast :: (Cast widget, WidgetClass widget) => GladeXML -> String ->
IO widget.
.
This is the Template Haskell package of gtk2hs-cast, it includes a template
for generating a module with instances of the Cast class, defined at
gtk2hs-cast-glib.
category: GUI
tested-with: GHC == 6.10.1
library
exposed-modules: System.Glib.Cast.TH
build-depends: base, hint, template-haskell
extensions: ScopedTypeVariables, TemplateHaskell
source-repository head
type: darcs
location: http://git.holoscopio.com/marcot/git/gtk2hs-cast/gtk2hs-cast-gtk