[GRASS-dev] module ->label versus ->description

Martin Landa landa.martin at gmail.com
Sat Feb 2 07:31:19 EST 2008


Hi,

2008/1/31, Hamish <hamish_b at yahoo.com>:

> I notice these two changes:  (are there more?)
>   http://trac.osgeo.org/grass/changeset/25463
>   http://trac.osgeo.org/grass/changeset/29533
>
> They are good candidates to use both module->label and
> module->description. Using both of those is not an error. If the GUI or
> lib/parser.c fails to deal with that, the bug is not in the module.

I am not sure about using tooltips for module description (i.e.
label/description). The tooltip can be moved to the manual page
('description' section). See [1].

[1] http://www.nabble.com/Re%3A-new-std-options-for-files-p12554008.html

> Just like with option descriptions, when ->label is present it becomes
> the short GUI label and ->description then becomes the longer tooltip
> text.
>
> In the case where helpful information is removed from one place, care
> must be taken to add it back in somewhere else.

http://trac.osgeo.org/grass/changeset/25463

The tooltip (module->description) has been moved to the manual page.

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list