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]

Properties

Versions 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
Dependencies base (==4.*), bytestring, directory (>=1.2.1.0), 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
Maintainer aditya.siram@gmail.com
Category UI, Graphics, GUI, User Interfaces
Home page http://github.com/deech/fltkhs
Bug tracker https://github.com/deech/fltkhs/issues
Source repository head: git clone http://github.com/deech/fltkhs
Uploaded Sun Mar 26 22:33:59 UTC 2017 by deech
Distributions
Downloads 1812 total (80 in the last 30 days)
Votes
0 []
Status Docs uploaded by user [build log]
All reported builds failed as of 2017-03-26 [all 2 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for fltkhs

Readme for fltkhs-0.5.1.5

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 http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-1-source.tar.gz
  > 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
  1.3.4-1

Build the FLTKHS skeleton project:

  > brew install autoconf # Only on OSX
  > 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 and the fltkhs-fluid-demos packages.