gEDA-dev: Filechooser and component selector code

Patrick Bernaud b-patrick at wanadoo.fr
Tue Oct 3 17:45:14 EDT 2006


Peter Clifton writes:
 > [...]
 > One thought would be to have the filtered list update as the user types
 > if possible. Its not immediately obvious to press Enter (Like the
 > previous search box). The evolution mail client embeds a "Clear" button
 > (actually a sweeping brush) into it's filter box to remove the filter,
 > however it too requires Enter to be pushed before filtering the list.
 > Somehow that doesn't seem wrong in Evolution.

Below is a patch that adds a clear button (next to the entry not
inside as in Evolution, I will have a look at how they do that) and
the update of the list as the user types.


 > I see that the new widget doesn't have its configure event connected,
 > presumably removing the resizing capability of the preview widget. Is is
 > possible to implement an arbitrary fixed size preview, or a resizable
 > widget? Perhaps a couple of properties could define its suggested, or
 > preferred size, then another which defines if the widget will resize to
 > fill available space?

My purpose was more to come with a widget that could be quickly added
to the file selector than with full featured widget. Besides at this
times you were playing with the toplevel structure and suggesting
it would somehow affect the preview.

I agree it would be nice to improve the preview to respond to the
configure event (among other things).


 > On my system, I notice that the parts lists are a little small for the
 > line width of the file names. I can drag the window out which is nice,
 > but if I close and re-open it, the old size is back.
 > 
 > I'm not sure if it is something we're "supposed" to program ourselves,
 > or whether the window manager should do it for us, but I'd like the
 > ability for the window to popup with the same width and height each time
 > I open the component selector dialog. I don't mean to save it across
 > invocations of gschem, just whilst gschem is running.

No idea on that. Anybody know?


Regards,


Patrick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gschem-compselect__clear_button+filter.patch
Type: application/octet-stream
Size: 10398 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061003/53c5bab3/gschem-compselect__clear_buttonfilter-0001.obj


More information about the geda-dev mailing list