Using an algebraic data types structure and field names, this library constructs widgets for wxHaskell. It can handle data types with single or multiple constructors, as well as recursive data types.
The library is designed to integrate smoothly with wxHaskell. First, by making it easy to integrate WxGeneric-widgets into existing wxHaskell programs. Second, by letting a user extend WxGeneric using mostly wxHaskell function.
- WxGeneric on Hackage
- WxGeneric on code.haskell.org
- Blog post: "Using WxGeneric" (21st May 2008)
- Blog post: "Introducing WxGeneric" (3rd May 2008)
- Haddock docs for WxGeneric (can be a little dated)
Download and Install
Before installing WxGeneric you need:
You can get the sources either from hackage or from WxGeneric's Darcs repository:
darcs get http://code.haskell.org/WxGeneric/
After getting the sources do:
cd WxGeneric runhaskell Setup clean runhaskell Setup configure --user --prefix=$HOME runhaskell Setup build runhaskell Setup install
Then you is ready to try the examples, see <path to WxGeneric>/examples.