[GRASS-dev] new std options for files

Hamish hamish_nospam at yahoo.com
Sun Mar 25 23:39:23 EDT 2007


> Hamish wrote:
> > ## ->descs is ignored in the tcl GUI, it should be appended to the
> > tooltip.
Glynn:
> If you have tooltips for individual choices (e.g. for each item in an
> option menu; is that possible?), then the description for that choice
> would be the entire tooltip.

that would be nicer than the full list for each option; it sounds 
possible, "just" some smart parsing needed in the GUI code.


also, WRT help finding modules in the GUI menu tree I have just uploaded
a new script to CVS, tools/module_synopsis.sh. It makes a list of all
modules like:

g.module: Module description.
.
.
.

Perhaps the GUI menu items could have tooltips parsed from the resulting
file, in the same way option->options could have tooltips parsed from
the ->descs list?

I am not aware of another software package which does that, maybe for
good reason? At the same time our menu has more entries than most other
software. I seem to remember that Tcl won't let you do this? (beyond
module name printed to the bottom of the gis.m window) Maybe wxPy will?

note in writing that script, g.parser and r.mapcalc were the only two
modules that caused an obvious error (actually produced an error msg,
not $?==1). Progress!


Hamish




More information about the grass-dev mailing list