[GRASS-dev] info buttons in gis.m (tcltk)

Michael Barton michael.barton at asu.edu
Mon Jul 2 17:57:10 EDT 2007


Carlos,

I think that this is very nice. I have only 2 suggestions:

1) make the icon 24x24 to match the size of all other icons (just add more
white border or make it 24x24 with a transparent background). This would
make its button match all the others.

2) name the icon gui-rv.info.gif, or make 2 icons--one for each command. The
convention is that icons named module-* actually run real GRASS modules. So,
you could have module-r.info.gif and module-v.info.gif (and make them
identical) or have a special GUI module named gui-rv.info.gif.

If others think also think this is handy, we should go ahead and put them in
the cvs.

Michael


On 7/2/07 2:01 PM, "Carlos "Guâno" Grohmann" <carlos.grohmann at gmail.com>
wrote:

> Hi all,
> 
> I always thought it would be nice to have a "info" button on gism, so
> it wouldn't be necessary to go all the way down the menus to get to
> r.info or v.info (it's a long way..), so I made this little hack in
> the tcl code. If you want to try, just replace raster.tcl and
> vector.tcl in $GRASS/etc/gm, and the gif icon goes to
> $GRASS/etc/gui/icons.
> 
> hope you enjoy and don't mind about me messing around.
> 
> cheers
> 
> carlos

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and 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