fltk

The Fast-Light Tool Kit

Wrapper score 30/100 · tests present · docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version Unknown
License LGPL
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install fltk
choosenim install fltk
git clone https://github.com/Skrylar/nfltk

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
fltk - - - - - - -

Source

Repository https://github.com/Skrylar/nfltk
Homepage https://github.com/Skrylar/nfltk
Documentation View Documentation
Registry Source nimble_official

README

Nimized Fast Light Toolkit

A wrapper for the Fast Light Toolkit, for the Nim language.

This library is compatible with the following versions:

Version
FLTK 1.3
Nim 0.20

This is a C++ wrapper and so you must compile in cpp mode:

nim cpp test.nim

Notes

  • Reference types have been removed. Anywhere that Widget& would have appeared in FLTK code is now a ptr Widget.
  • Getters and setters follow Nim convention. set_something is bound as something= except where it was not compatible.
  • FLTK does not have any fancy layout systems built in; you will need to bring your own.
  • You can't override classes. So things like subclassing an OpenGL view to provide your own draw function doesn't work.
  • Devices are partially bound but not complete. Drawing commands involving regions are also not implemented (they have OS specific requirements--needs to be handled.)
  • This wrapper is not explicitly documented, but follows the original FLTK documentation closely.