[GRASS-dev] Default content for the "answer" to G_OPT_F_INPUT
Nikos Alexandris
nik at nikosalexandris.net
Tue Apr 17 06:31:50 PDT 2018
Dear developers,
is there a way to set a string as the content of a default "answer" for
the G_OPT_F_INPUT option? I am trying to identify potential cases in the
grass-addons repository, but I am not sure I have seen something related.
The G_OPT_F_INPUT offers a field to enter a filename. The default
"answer", for the parser, will be the name of the file.
In addition, a field to "enter values directly" is created. The
description of this field is: "Enter file content directly instead of
specifying a file. Temporary file will be automatically created."
Can this field be filled with a pre-defined content?
The use case is to expose, to the user, a pre-defined set of
reclassification rules. These will help a beginner to get started,
understand easier and modify rules as he sees fit.
Thank you, Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180417/4d0f5fd2/attachment.sig>
More information about the grass-dev
mailing list