[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: rpg dialog system
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 24 Dec 2009 11:46:36 +0200
On Wed, Dec 23, 2009 at 11:43 PM, Roger Durañona Vargas
<luo_hei@yahoo.es> 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:
http://batbytes.com/luafaq/#T6.2.2
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
values.
I've implemented this pattern with several other frameworks (like
lua-gtk, luajava and Python/Tkinter) so it seems to be generalizable.
steve d.