Re: Simple Validations

Magnus Lie Hetland <[email protected]> Mon, 10 Mar 2003 08:52:13 +0100
Newsgroups gmane.comp.python.anygui.general
Message-ID <[email protected]>
Ernesto Revilla <[email protected]>:
>
> Hi,
> has anygui simple validations, like integer, float and list?

No; not yet, anyway.

> How could this be provided? (Which events do I have to use, or what
> other mechanisms are available?)

In the present version I don't think there is an elegant solution.
You'd have to use some sort of CGI-like thing; e.g. when pressing some
form of submit button (like "OK" or something) you'd check whether the
fields were OK.

> Is there a list of which events are treated?

There aren't that many yet... Only 'click', 'select', and 'enterkey'
:)

We're working on a more complete list, but there's no telling when
that will be finished and implemented.

> Please reply to [email protected] as I'm not on the mailing list.
> Thanx,
> Erny
> Spain

-- 
Magnus Lie Hetland               "Nothing shocks me. I'm a scientist." 
http://hetland.org                                   -- Indiana Jones


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com