Lua scripts running in medit have a limited access to
Gtk functionality
exposed through gtk
package in addition to functions in
moo
package.
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.
Notations used in this manual are described here.