{"id":13894311,"url":"https://github.com/stetre/moonfltk","last_synced_at":"2026-02-11T08:54:30.319Z","repository":{"id":44603633,"uuid":"54705769","full_name":"stetre/moonfltk","owner":"stetre","description":"Lua bindings for FLTK","archived":false,"fork":false,"pushed_at":"2022-02-06T11:35:45.000Z","size":763,"stargazers_count":46,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-07T18:29:30.195Z","etag":null,"topics":["fltk","gui","lua-bindings","lua-gui"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stetre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-25T08:30:49.000Z","updated_at":"2024-06-12T14:10:45.000Z","dependencies_parsed_at":"2022-09-17T14:31:10.078Z","dependency_job_id":null,"html_url":"https://github.com/stetre/moonfltk","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetre%2Fmoonfltk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetre%2Fmoonfltk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetre%2Fmoonfltk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetre%2Fmoonfltk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stetre","download_url":"https://codeload.github.com/stetre/moonfltk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226248245,"owners_count":17595158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fltk","gui","lua-bindings","lua-gui"],"created_at":"2024-08-06T18:01:29.249Z","updated_at":"2026-02-11T08:54:25.294Z","avatar_url":"https://github.com/stetre.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"## MoonFLTK: Lua bindings for FLTK\n\nMoonFLTK is a Lua binding library for the [Fast Light Toolkit (FLTK)](http://www.fltk.org/).\n\nIt runs on GNU/Linux and on Windows (MSYS2/MinGW) and requires [Lua](http://www.lua.org/) (\u003e=5.3)\nand [FLTK](http://www.fltk.org/software.php) (\u003e=1.3.3).\n\n_Authored by:_ _[Stefano Trettel](https://www.linkedin.com/in/stetre)_\n\n[![Lua logo](./doc/powered-by-lua.gif)](http://www.lua.org/)\n\n#### License\n\nMIT/X11 license (same as Lua). See [LICENSE](./LICENSE).\n\n#### Documentation\n\nSee the [Reference Manual](https://stetre.github.io/moonfltk/doc/index.html).\n\n#### Getting and installing\n\nSetup the build environment as described [here](https://github.com/stetre/moonlibs), then:\n\n```sh\n$ git clone https://github.com/stetre/moonfltk\n$ cd moonfltk\nmoonfltk$ make\nmoonfltk$ make install # or 'sudo make install' (Ubuntu)\n```\n\n#### Example\n\n```lua\n-- Script: hello.lua\n\nfl = require(\"moonfltk\")\n\nwin = fl.window(340, 180, arg[0])\nbox = fl.box(20, 40, 300, 100, \"Hello, World!\");\nbox:box('up box')\nbox:labelfont(fl.BOLD + fl.ITALIC)\nbox:labelsize(36)\nbox:labeltype('shadow')\nwin:done() -- 'end' is a keyword in Lua\nwin:show(arg[0], arg)\n\nreturn fl.run()\n```\n\nThe script can be executed at the shell prompt with the standard Lua interpreter:\n\n```shell\n$ lua hello.lua\n```\n\nOther examples can be found in the **examples/** directory contained in the release package\n(the **examples/fltk** subdirectory contains portings to MoonFLTK of most of the examples\nthat come with the FLTK distribution).\n\n#### See also\n\n* [MoonLibs - Graphics and Audio Lua Libraries](https://github.com/stetre/moonlibs).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstetre%2Fmoonfltk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstetre%2Fmoonfltk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstetre%2Fmoonfltk/lists"}