← Back to team overview

geda-developers team mailing list archive

Re: Text size input in gschem

 

Sent from my iPhone

On Aug 29, 2013, at 7:12 AM, Peter TB Brett <peter@xxxxxxxxxxxxx> wrote:
> Looking at the x_textsizels.c code, I'm a little confused about why you are
> storing the text sizes as strings rather than as numbers.  They are
> fundamentally numbers, and they end up being *used* as numbers, so surely
> the normal approach would be to use a G_TYPE_<numeric> column in the
> GtkTreeModel and define an appropriate GtkCellRenderer...?

The GtkComboBox adds the limitation that the column must be G_TYPE_STRING.

Cheers,
Ed


References