[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: UI concept screen-shotshttp://www2.eng.cam.ac.uk/~pcjc2/geda/ui/



On Sun, 2007-05-20 at 20:11 +0100, Peter TB Brett wrote:
> On Sunday 20 May 2007 19:58:13 Peter Clifton wrote:
> > To combat this, I thought it would be most appropriate to make the
> > "picker" invocation via a guile script. This could allow you to insert
> > different guile scripts for different layout editors, or footprint
> > sources.
> >
> > Agreed PCB is a little heavy-weight, but we'll see how it actually works
> > out when I eventually get around to coding something.
> 
> Better idea: add a generic mechanism within libgeda for registering a Guile 
> function for choosing the value of a particular attribute name.
> 
> Then the footprint chooser could just be an application of that...

Yep, that would be the best way. I see three possible mechanisms:

An action responding to "..." to launch some UI.
A way to list auto-complete suggestions for a partially typed value.
A way to validate a typed entry as "invalid, good, or unknown", (for
example).

For any given attribute name, there might be any number of these.

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev