[GRASS-dev] GRASS 7 raster coding best practices
Hamish
hamish_b at yahoo.com
Sun May 4 05:24:25 EDT 2008
> > > input = G_define_option(G_OPT_F(D?)_INPUT) ;
> > > input->key =_("parameter");
> > > input->type = TYPE_DOUBLE;
> > > input->required = YES;
> > > input->gisprompt =_("value, parameter");
> > > input->description=_("Value of the parameter");
> > > /*input->answer =_("0.000");*/
> > input->gisprompt is wrong, have a look at the GRASS 5 programmers
> > manual for a nice write up about what that is for (maybe in the
> > GRASS 6 one too, I'm not sure)
>
> Do you have a link to this one please?
http://grass.osgeo.org/devel/index.php#prog
section 12.16.5, Full Structure Members Description
the 12.16.5.2.4, gisprompt Member
ctrl-f "gisprompt" gets you there.......
> > > input->guisection = _("Required");
> >
> > FWIW I consider this to be redundant noise. If it is wished that the
> > module GUI(s) group required options in the first tab then they
> > should extract that from the input->required field.
>
> Can you provide an example of filling in input->required, that would
> be nice to add.
?
you already have it above; =YES or =NO.
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