The fltkhs package

[ Tags: 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]


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 Tue Sep 19 23:29:14 UTC 2017 by deech
Executables fltkhs-buttons, fltkhs-fluidtohs
Downloads 4016 total (324 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





Use the bundled FLTK library.


Enable OpenGL support.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for fltkhs-

[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. The main documentation has more detail on motivation and what this library hopes to achieve.

Quick Install

Linux, *BSD and OSX

The fastest and easiest way of installing FLTKHS is to use the bundled FLTK library.

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

And that's it!

On Windows it is only slightly more complicated because packages like autotools and tar are not available by default.

The second fastest way is to compile FLTK from source yourself. For instructions please see the documentation for Linux, OSX, Windows.


Please see the detailed Windows installation instructions.


Unfortunately these screenshots seem to only work on the Github page. If you're seeing this from Hackage, please try from Github.

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.