fltkhs: FLTK bindings

[ graphics, gui, library, mit, program, ui, user-interfaces ] [ Propose Tags ]

Low level bindings for the FLTK GUI toolkit. For installation and quick start instruction please scroll all the way down to the README.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5, 0.4.0.6, 0.4.0.7, 0.4.0.8, 0.4.0.9, 0.4.1.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.0.5, 0.5.0.6, 0.5.0.7, 0.5.0.8, 0.5.0.9, 0.5.1.0, 0.5.1.1, 0.5.1.2, 0.5.1.3, 0.5.1.4, 0.5.1.5, 0.5.1.6, 0.5.1.7, 0.5.1.8, 0.5.1.9, 0.5.2.0, 0.5.2.1, 0.5.2.2, 0.5.2.3, 0.5.2.4, 0.5.2.5, 0.5.2.6, 0.5.2.7, 0.5.2.8, 0.5.2.9, 0.5.3.0, 0.5.3.1, 0.5.3.2, 0.5.3.3, 0.5.3.4, 0.5.3.5, 0.5.3.6, 0.5.3.7, 0.5.3.8, 0.5.3.9, 0.5.4.0, 0.5.4.1, 0.5.4.2, 0.5.4.3, 0.5.4.4, 0.5.4.5, 0.6.0.0, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.7.0.4, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.0.3
Dependencies base (>=4 && <5), bytestring, directory (>=1.2.1.0), filepath, fltkhs, mtl, parsec (>=3.1.6) [details]
License MIT
Author Aditya Siram
Maintainer aditya.siram@gmail.com
Category UI, Graphics
Home page http://github.com/deech/fltkhs
Source repo head: git clone http://github.com/deech/fltkhs
Uploaded by deech at 2016-03-08T23:24:52Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Executables fltkhs-buttons, fltkhs-fluidtohs
Downloads 47886 total (196 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for fltkhs-0.4.0.7

[back to package description]

Fltkhs - A Haskell Binding to the FLTK GUI Library

Fltkhs aims to be a complete Haskell binding to the [FLTK GUI library] 1.

NOTE: As of version 0.4.0.0, due to the introduction of closed type families, only GHC >= 7.8.1 is supported.

Quick Install

Linux and *BSD

Install FLTK-1.3.3 from source:

   > wget http://fltk.org/pub/fltk/1.3.3/fltk-1.3.3-source.tar.gz
   > tar -zxvf fltk-1.3.3-source.tar.gz
   > cd fltk-1.3.3
   > configure --enable-shared
   > make
   > sudo make install
   > fltk-config --version
   1.3.3

Build the FLTKHS skeleton project:

   > git clone http://github.com/deech/fltkhs-hello-world
   > cd fltkhs-hello-world
   > stack install
   # About 6-8 minutes passes ...
   > stack exec fltkhs-hello-world

OSX Yosemite only

Install FLTK-1.3.3 from Brew:

   > brew install autoconf
   > brew install fltk
   > fltk-config --version
   1.3.3

Build the FLTKHS skeleton project:

   > git clone http://github.com/deech/fltkhs-hello-world
   > cd fltkhs-hello-world
   > stack install
   # About 6-8 minutes passes ...
   > stack exec fltkhs-hello-world

OSX El Capitan only

Install the development version of FLTK from Brew:

  > brew install --devel fltk
  > fltk-config --version
  1.3.4

Build the FLTKHS skeleton project:

   > git clone http://github.com/deech/fltkhs-hello-world
   > cd fltkhs-hello-world
   > stack install
   # About 6-8 minutes passes ...
   > stack exec fltkhs-hello-world

Windows

Please see the detailed Windows installation instructions

Screenshots

Drawing with FLTKHS

A table of widgets

A complex tree Done completely using Fluid. Notice how tree nodes can be arbitrary widgets.

Demos

A number of demos are also available in the [fltkhs-demos] 4 and the [fltkhs-fluid-demos] 5 packages.