Re: Notes and thoughts on the GTK+ meeting at GUADEC
- From: Christian Hergert <chris dronelabs com>
- To: gtk-devel-list gnome org
- Subject: Re: Notes and thoughts on the GTK+ meeting at GUADEC
- Date: Tue, 18 Aug 2009 15:27:37 -0700
Hello,
One of the items I haven't seen discussed is input validation. Web
frameworks such as Rails and Django spent a great deal of time making
these easy to work with and I think that it should be considered for
gtk+ 3.0.
FWIW, I hacked up a crude idea[1] a few months ago. If others are
interested in this feature, and willing to give me API guidance, I'd
be willing to spend the time to implement it.
As primary features, I think it should cover,
* Integration with GtkBuilder to build validations at design time
* Ability to chain a validation request on button activate in a
dialog and suppress the event if validation fails
* Validation split into reusable validators and reusable style
modifiers
- Range validator, Regex validator, etc
- Style modifier, or with css we can add/remove classes based on
validation result
Comments and suggestions appreciated,
-- Christian
[1] http://git.dronelabs.com/gtk-validation/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]