Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Philipp Janda edited this page Dec 13, 2015 · 4 revisions

fltk4lua -- Lua Binding to the Fast Light Tool Kit

FLTK is a small C++ GUI toolkit portable to the MS Windows, Linux, and Mac OSX operating systems. fltk4lua is a binding to this C++ toolkit, which allows you to create GUIs from within Lua scripts.

fltk4lua is available via the LuaRocks package manager. For details about building/installing the module see here.

Although FLTK is a small GUI toolkit, it still has many classes and functions. fltk4lua currently exports more than 50 different userdata types and hundreds of C++ functions. Fortunately the Lua API is very close to the C++ API, so you can use the official FLTK documentation, and look at the Lua examples in the repository, or at the source code. There is also a Getting Started Guide, which builds a simple GUI with fltk4lua and explains every step.

However, here is a list of userdata types/functions/properties that are available in Lua. The format of the listing (especially the function prototypes) is specified here.

Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.