fltk.core

FLTK Library Bindings for D

This package provides low-level D bindings for the FLTK (Fast Light Toolkit) C++ GUI library. It includes functionality for:

  • Version detection and ABI compatibility checking
  • pkg-config and fltk-config probing for build configuration
  • C shim bindings for stable FFI surface
  • FLTK enumerations and constants
  • Core widget bindings
  • Event handling

The bindings are designed to work with FLTK 1.3.x and provide a stable foundation for the higher-level idiomatic D wrapper in the fltk package.

Example:

import fltk.core;

void main() {
   // Detect FLTK version
   auto ver = detectFltkVersion();
   if (ver.isValid()) {
      writeln("FLTK version: ", ver.toString());
   }

   // Probe for available components
   auto config = probeFltkConfig();
   if (config.isCoreAvailable()) {
      writeln("FLTK core is available");
   }
}

Authors

Dejan Lekić

License

BSD-3-Clause
No exported symbols.