The gtk2hs-cast-th package


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.


Dependencies base, hint, template-haskell [details]
License OtherLicense
Copyright 2009 Marco Túlio Gontijo e Silva <>
Author Marco Túlio Gontijo e Silva <>
Maintainer Marco Túlio Gontijo e Silva <>
Stability alpha
Category GUI
Bug tracker
Source repository head: darcs get
Uploaded Sun May 31 14:18:10 UTC 2009 by MarcoSilva
Distributions NixOS:
Downloads 332 total (3 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees