2010-12-28 02:17:20 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2011-01-22 17:40:22 -08:00
|
|
|
<!DOCTYPE chapter [
|
2010-12-28 02:17:20 -08:00
|
|
|
<!ENTITY % medit-defines SYSTEM "medit-defines.ent">
|
|
|
|
%medit-defines;
|
|
|
|
]>
|
2011-01-22 17:40:22 -08:00
|
|
|
<chapter id="chapter-script-lua-gtk">
|
2011-01-22 22:12:20 -08:00
|
|
|
<?dbhtml filename="lua-gtk.html"?>
|
2011-01-25 03:32:27 -08:00
|
|
|
<title>Gtk API for Lua scripts</title>
|
2010-12-28 02:17:20 -08:00
|
|
|
<sect1>
|
|
|
|
<title>Introduction</title>
|
2011-12-29 01:47:32 -08:00
|
|
|
<para>Lua scripts running in &medit; have a limited access to
|
2010-12-28 02:17:20 -08:00
|
|
|
<ulink url="http://www.gtk.org/">Gtk</ulink> functionality
|
|
|
|
exposed through <code>gtk</code> package in addition to functions in
|
2011-01-22 17:40:22 -08:00
|
|
|
<link linkend="chapter-script-lua"><code>moo</code> package</link>.
|
2010-12-28 02:17:20 -08:00
|
|
|
It is not a goal to provide complete Lua bindings for Gtk,
|
|
|
|
and it is not a goal to enable creating UI in Lua scripts.
|
|
|
|
If there is a demand, &medit; might bind more Gtk functionality,
|
|
|
|
but so far Lua in &medit; is supposed to be lean and mean
|
|
|
|
scripting language which is always available. Use Python if
|
|
|
|
you need more functionality.</para>
|
|
|
|
<para>
|
|
|
|
Notations used in this manual are described
|
2011-01-22 17:40:22 -08:00
|
|
|
<link linkend="section-script-lua-notations">here</link>.
|
2010-12-28 02:17:20 -08:00
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
###GENERATED###
|
2011-01-22 17:40:22 -08:00
|
|
|
</chapter>
|