ltcltk: a binding to tcl and tk for lua
ltcltk is not supported any more!
I don't use it any more, and apparently neither does anybody else. There was a major rewrite in progress, the results of which can be downloaded here, but it is not complete, and finishing it is just too much work for a userbase of exactly zero.
Doug Currie has piicked this up and made it work with lua 5.3. You can find his work at https://github.com/dcurrie/ltcltk/
What is it?
ltcltk is a binding of the Tcl skripting language and, more importantly, of the Tk toolkit to the lua skripting language. It consists of 2 modules, ltcl and ltk.
ltcl is the binding to the Tcl interpreter. It allows to access Tcl variables from Lua, function calls from Lua to Tcl and also from Tcl to Lua, plus the ability to define Tcl functions in Lua.
ltk is a simple pure-Lua binding to the Tk toolkit that uses ltcl to access the Tk functionality through a Tcl interpreter. All standard Tk functions and widgets from Tk 8.4 and Tk 8.5 are supported, with the ability to provide Lua functions where standard Tk expects Tcl functions or scripts. A few Tcl functions that seemed useful in the context of ltk are also provided.
Documentation
- README
- general README file
- README_ltcl
- documentation for the ltcl module
- README_ltk
- documentation for the ltk module
Additional documentation on Tcl and Tk is available from www.tcl.tk
Download
You can get ltcltk-0.9-2 by clicking on this link, or eventually by installing it from the luarocks repository. If you fetch it from here, the included README gives hints on how to build it.
License
The ltcl and ltk modules and all acccompagnying documentation and additional source code is released under the MIT/X11 license.
Copyright (c) 2010, 2011 Gunnar ZötlPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contact
If you have anything to say about this, comments, bug reports, whatever, feel free to email them to