The fltkhs package

[Tags:library, mit, program]

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]


Dependencies base (==4.*), bytestring, directory (>=, filepath, fltkhs, mtl, parsec (>=3.1.6), text (>=0.2 && <1.3) [details]
License MIT
Copyright © 2017 Aditya Siram All Rights Reserved
Author Aditya Siram
Category UI, Graphics, GUI, User Interfaces
Home page
Bug tracker
Source repository head: git clone
Uploaded Sun Mar 26 22:33:59 UTC 2017 by deech
Downloads 1812 total (80 in the last 30 days)
0 []
Status Docs uploaded by user [build log]
All reported builds failed as of 2017-03-26 [all 2 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for fltkhs

Readme for fltkhs-

Fltkhs - A Haskell Binding to the FLTK GUI Library

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

While the current recommended version of FLTK is 1.3.4, the previous version 1.3.3. is also supported since some Linux distributions haven't upgraded yet.

Quick Install

Linux, *BSD and OSX

Installing FLTK from source (vs. package mangers) is recommended. Package managers sometimes put headers and libraries in unexpected places causing fltkhs compilation failures. On OSX the brew package for the current stable version of FLTK is broken. Furthermore some Linux distributions only ship the shared libraries which means that executables are less portable. Compiling from source is pretty quick and painless and fixes these problems.

Install FLTK-1.3.4-1 from source:

  > wget
  > tar -zxf fltk-1.3.4-1-source.tar.gz
  > cd fltk-1.3.4-1
  > ./configure --enable-gl --enable-shared --enable-localjpeg --enable-localzlib --enable-localpng
  > make
  > sudo make install
  > fltk-config --version

Build the FLTKHS skeleton project:

  > brew install autoconf # Only on OSX
  > git clone
  > cd fltkhs-hello-world
  > stack install
  # About 6-8 minutes passes ...
  > stack exec fltkhs-hello-world


Please see the detailed Windows installation instructions


Drawing with FLTKHS

A table of widgets

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


A number of demos are also available in the fltkhs-demos and the fltkhs-fluid-demos packages.