[GRASS-dev] GRASS 7 raster coding best practices

Hamish hamish_b at yahoo.com
Sun May 4 05:48:04 EDT 2008


Yann Chemin:
> OK, a small misunderstanding here, some small examples.
> 
> input->guisection will create a Tab in the GUI with the name given to
> it.
> 
> input->guisection = _("Required");
> input->guisection = _("Optional");
> input->guisection = _("Set of functions 1");
> input->guisection = _("Parameters for output2");
> 
> on the other hand,
> input->required=YES
> forbids the code to run on empty "input"


yes, the above is correct, just note that this is meaningless, other than
to group that option in a tab by that name:
  input->guisection = _("Required");

(and thus that is confusing+redundant and shouldn't be used IMHO)


Hamish




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the grass-dev mailing list