Re: [gnome-db] Formatting numbers in Form/Grid
- From: Murray Cumming <murrayc murrayc com>
- To: Vivien Malerba <vmalerba gmail com>
- Cc: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Formatting numbers in Form/Grid
- Date: Thu, 01 Feb 2007 09:57:52 +0100
On Wed, 2007-01-31 at 22:55 +0100, Vivien Malerba wrote:
> > > As a matter of fact I was planning to add a way to specify a mask to
> > > enter data (as for example like
> > > http://gtkmaskedentry.sourceforge.net/), and other attributes such as
> > > text max length; so if you can wait till next week (I probably won't
> > > have the time to do it before), you'll have the framework in place to
> > > add more format spec.
> >
> > Great. Are you sure that that will deal with the same problem as
> > numerical representation, or just what formats may be entered?
>
> It's up to you to define what the attributes will be and what they
> will do. The only constraint is that the GnomeDbDataEntry or
> GtkCellRenderer used take a GValue as input and returns a GValue when
> the data being displayed is modified.
I'm not convinced that a text-entry mask can define how numbers should
be represented, but I look forward to seeing this. Thanks for the work.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]