gEDA-dev: Some gschem misfeatures noted this morning (10.5.2006)

Peter Clifton pcjc2 at cam.ac.uk
Thu Oct 5 17:38:26 EDT 2006


On Thu, 2006-10-05 at 17:15 -0400, Stuart Brorson wrote:
> > I think you want:
> >
> > cvs co -r V1_X eda/geda/xgsch2pcb
> 
> Thank you!
> 
> I grabbed the latest, tried it out, and it worked fine.  YOur patch did the right thing.  Thanks again!
> 
> Next complaint .... :-(       When I do "new" and create a new
> project, then do "add" to add my pre-existing .sch files, I can browse
> to the filechooser.  I have 8 .sch files.  Again, I can't select them
> all at once (i.e. shift click); rather I need to select each one
> individually, the press the "add" button, select the next one, press
> the "add" button, etc.

As a side track.. does your system mis-render the add and remove buttons
as on mine, where they over-lap the frame they are sitting in? (I think
it is failing to recalculate the required allocation in the parent
containers after the + and - images are added to the button).

> Can this also become a multi-select dialog?

"""
The gtk.FileChooserButton is a widget that lets the user select a file.
It implements the gtk.FileChooser interface. Visually, it is a file name
with a button to bring up a gtk.FileChooserDialog. The user can then use
that dialog to change the file associated with that button. This widget
does not support setting the "select-multiple" property to True.

"""

So, not unless the dialog is re-written with a different widget. The
filechooser button is nice, but I don't want it reducing functionality,
so can be on the list of things to do.

The code which gets the new filename from the Add page dialog won't be
expecting a list of multiple filenames, so it will need a little
modification.

It _can_ be done though :)

> Thanks!
> 
> Yes, I will submit some patches soon.  IN particular, I'll submit a
> one-liner tonight (or tomorrow morning) after trying the latest stuff
> out on my older boxen.  (I'm on the GTK-2.8 box right now. . . .)

Thanks, they will be appreciated.

> Perhaps if I grab some time later I can also implement some other
> featurettes. . . . .

I look forward to them.

One point to bear in mind is that xgsch2pcb, whilst a useful tool in its
own right, doesn't aim to be a generic project manager. It does aim to
have code which can be used in one eventually.

Food for thought...

What options can be used in a gsch2pcb project file? Which are useful
for us to have access to in a properties dialog?

Where do users (and newbies especially) keep their custom footprints and
symbols? 

How can we add the facility to find these in xgsch2pcb?

Do we list them explicitly as belonging to the project, or simply
reference a dir with them in?

If the latter, do we list the files in that directory and offer "Edit",
"New" .. buttons? How far do we take it.. "Delete", "Rename"?


Many thanks

Peter C




More information about the geda-dev mailing list