fltkhs: FLTK bindings

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

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] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
bundled

Use the bundled FLTK library.

Disabled
demos

Build the demo apps (`fltkhs-buttons` and `fltkhs-example-opengl`).

Enabled
opengl

Enable OpenGL support.

Disabled

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

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, OpenGLRaw (>=3 && <3.4), parsec (>=3.1.6), text (>=1.2.2.0 && <1.3), vector (>=0.12.0.1) [details]
Tested with ghc >=7.8.1
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 repo head: git clone http://github.com/deech/fltkhs
Uploaded by deech at 2020-02-21T20:45:07Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Executables fltkhs-example-opengl, fltkhs-buttons, fltkhs-fluidtohs
Downloads 48022 total (32 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.8.0.3

[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 http://github.com/deech/fltkhs-hello-world
  > 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.

Windows

Please see the detailed Windows installation instructions.

Screenshots

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.

Demos

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