[GRASS-dev] new std options for files

Glynn Clements glynn at gclements.plus.com
Fri Mar 23 16:36:55 EDT 2007


Hamish wrote:

> ## ->descs is ignored in the tcl GUI, it should be appended to the
> tooltip.

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.

You certainly *don't* want to be appending the entire set of
option/description pairs to the tooltip for the option; that would
result in excessively large tooltips, e.g. the color= option of
r.colors:

  color   Type of color table
          options: aspect,grey,grey.eq,grey.log,byg,byr,gyr,rainbow,ramp,
                   random,ryg,wave,rules
          aspect: aspect oriented grey colors
          grey: linear grey scale
          grey.eq: histogram equalized grey scale
          grey.log: histogram logarithmic transformed grey scale
          byg: blue through yellow to green colors
          byr: blue through yellow to red colors
          gyr: green through yellow to red colors
          rainbow: rainbow color table
          ramp: color ramp
          random: random color table
          ryg: red through yellow to green colors
          wave: color wave
          rules: create new color table by rules

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list