[Gimp-developer] Size entry widgets could use some simple math (from Bug: 76616)
gg at catking.net
gg at catking.net
Sun Jan 27 20:04:12 PST 2008
On Sun, 27 Jan 2008 12:39:13 +0100, Fredrik Alstromer
<roe at chs.chalmers.se> wrote:
> As requested, I'm moving this discussion to the mailing list... for the
> history, see the bugzilla entry 76616.
>
> Just to get a few things straight, I've stumbled on the fact the you
> can't do simple arithmetic expressions in any widget whatsoever (most
> prominently, boundary measurements), and I figured, since this bug had
> been open since 2002, there probably wasn't much going on, so just to
> get the pot stirring a little I hacked together a little recursive
> descent parser / evaluator.
>
Hi,
you may like to look at this bug I originally opened on gimp but later got
transfered to gtk+ since that project controls the widget. I provided a
patch but it's been dead in the water for over a year.
http://bugzilla.gnome.org/show_bug.cgi?id=358137
Even a trivial mod like that seems too much for gtk to deal with so you
may need to consider the chances of adding the behaviour you want. That
almost certainly means gimp will need to derive it's own replacement for
spin widget which seems to be the direction you are heading anyway.
Assuming you can get acceptance of your idea, which seems like a very
useful feature, you may like to consider the drag and drop angle as well.
I patched gtk+ locally because it was a constant hindrance to just about
everything I do with gimp.
gg/
--
.*.
/V\
(/ \)
( )
^^_^^
More information about the Gimp-developer
mailing list