lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Dec 23, 2009 at 11:43 PM, Roger Durañona Vargas
<> wrote:
> Im looking for advices about better methods to implement a system that
> allows creating a dialog editor tool, does  somebody has experience with
> this?

Have a look at the autoform.wlua dialog example:

The idea is to avoid programming, but declare the fields you wish to
be editable, together with titles and constraints. An example given is
Range(0,4) which will verify that the input is a number between these

I've implemented this pattern with several other frameworks (like
lua-gtk, luajava and Python/Tkinter) so it seems to be generalizable.

steve d.