[GRASS-user] Python GUI

Hamish hamish_b at yahoo.com
Tue Sep 30 20:55:37 EDT 2008


Markus:
> (Un)related: could be have
> g.gui wx
> as a shortcut? "wxpython" is really hard to type...

The opt->options part of the parser only allows through full names.

My feeling is that adding shortcuts like that to the option list are
a really ugly solution, e.g. units="mi","miles","m","meters",... as exist
in some modules.

from-first few letters completion like is done for the option names is an
idea.


fortunately for g.gui it remembers your preferred gui type so unless
you are switching back and forth you just need to type "g.gui" most of
the time. (GRASS_GUI variable and the g.gui -u flag)


or add to .grass.bashrc something like "alias wxgui='g.gui wxpython'


Hamish



      



More information about the grass-user mailing list