The gtk2hs-cast-gtk 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 gtk package of gtk2hs-cast, which contains the instances of Cast for the types in the gtk package from gtk2hs.
Properties
| Versions | 0.10.1.0, 0.10.1.1, 0.10.1.2 |
|---|---|
| Dependencies | base, gtk, gtk2hs-cast-glib, gtk2hs-cast-th, hint, template-haskell |
| License | 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> |
| Stability | alpha |
| Category | GUI |
| Bug tracker | mailto:marcot@holoscopio.com |
| Source repository | darcs get http://git.holoscopio.com/marcot/git/gtk2hs-cast/gtk2hs-cast-gtk |
| Upload date | Sun May 31 14:19:27 UTC 2009 |
| Uploaded by | MarcoSilva |
| Build failure | ghc-6.12 (log), ghc-7.0 (log) |
Modules
- Graphics
- UI
- Gtk
- Graphics.UI.Gtk.Cast
- Gtk
- UI
Downloads
- gtk2hs-cast-gtk-0.10.1.2.tar.gz (Cabal source package)
- package description (included in the package)