[GRASS-dev] can wxPython GUI handle order of options for
v.type and alike?
glynn at gclements.plus.com
Wed May 23 03:46:53 EDT 2007
Michael Barton wrote:
> It might well be possible to parse the existing interface description
> better. Perhaps Daniel will be able to look at it more. But, it's hard to
> imagine how to create a set of check boxes in such a way to generate a
> variable set of type pairs (line,boundary, point,centroid).
You can't do it with check boxes alone.
A common interface for editing lists is with two list boxes, one
containing the available options, and one containing the edited list.
In addition, there are buttons to add an option to the list, remove an
option, and to move options up or down. Some of this functionality may
also be available by dragging items within and between the list boxes.
If you have the restriction that an option can only appear once,
adding it to the list removes it from the set of available options,
and removing it from the list returns it to the set of available
An example can be found in the Windows XP explorer (file manager), via
the "View -> Toolbars -> Customize..." menu option.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev