gtk2hs-cast-th: A type class for cast functions of Gtk2hs: TH package

[ gui, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.10.1.0
Dependencies base, hint, template-haskell [details]
Tested with ghc ==6.10.1
License LicenseRef-OtherLicense
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>
Category GUI
Bug tracker mailto:marcot@holoscopio.com
Source repo head: darcs get http://git.holoscopio.com/marcot/git/gtk2hs-cast/gtk2hs-cast-gtk
Uploaded by MarcoSilva at 2009-05-31T14:18:10Z
Distributions
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 1329 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]