[GRASS-dev] g.parser: gisprompt: color-option ?

Glynn Clements glynn at gclements.plus.com
Tue Feb 20 12:38:14 EST 2007


"Peter Löwe" wrote:

> is there a way to configure a shell-script using 
> #%  gisprompt 
> to encourage the g.parser module to provide a color selection window (like the ones in d.vect for color/bcolor) ?
> 
> The straightforward approach
> #% gisprompt old,color,color 
> does not work.

Use:
	#% gisprompt: color,grass,color

That's what d.vect uses; the GUI only requires that the string begins
with "color," to display a colour selector dialog.

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




More information about the grass-dev mailing list