[GRASS-dev] new tests on wxgui

Michael Barton michael.barton at asu.edu
Tue May 15 10:25:26 EDT 2007

Because the options dialog is autogenerated and fairly sophisticated for
wxgrass, it would be helpful if all commands that take "none" for a color
had an identical interface description.


On 5/15/07 12:50 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:

> Michael Barton wrote:
>>> I didn't find an option to say that I don't want vector areas to be
>>> filled. I did found where to change the colors, but not the "no
>>> fill" option.
>> We need a transparent (none) option here--like in the dialog for
>> d.barscale.
> Sending it "d.vect fcolor=none" should work.
> the only difference with d.barscale is that the label for d.barscale's
> color option explicitly states that "none" works.
> The Tcl GUI for ->gisprompt=GISPROMPT_COLOR doesn't have a "none" button,
> it probably should.
> "d.rast.num grid_color=none" is slightly different, there we do:
>         opt2->options     = D_COLOR_LIST ",none";
>         opt2->key_desc    = "color";
>         opt2->description = _("Color for drawing grid, or \"none\"");
> (that gives you a pulldown list and won't take RRR:GGG:BBB)
> Hamish

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

More information about the grass-dev mailing list