[GRASS-user] menu items

Koen Hufkens koen.hufkens at ua.ac.be
Wed Feb 11 15:46:03 EST 2009


Updated the FAQ...

Should work for most systems as described in the FAQ

Koen


Op 11-feb-09, om 18:03 heeft Markus Neteler het volgende geschreven:

> On Wed, Feb 11, 2009 at 10:59 AM, Glynn Clements
> <glynn at gclements.plus.com> wrote:
>>
>> Koen Hufkens wrote:
>>
>>> I'm cleaning up my grass scripts and making them user friendly  
>>> using the
>>> g.parser module.
>>>
>>> However, I'm wondering if it is possible to add a menu item to the  
>>> gis
>>> manager window in a similar fashion. I found d.menu but this  
>>> doesn't do
>>> what I expected it to do. Any tips and hints on how to add on an  
>>> extra
>>> menu item in the gis.m gis manager?
>>
>> You need to modify $GISBASE/etc/gm/gmmenu.tcl.
>>
>> Or alternatively, create $GISBASE/etc/xtnmenu.dat file, or
>> <dir>/xtnmenu.dat for any <dir> in $GRASS_ADDON_ETC. However, I'm not
>> entirely sure of the format; examine the code at the top of  
>> gmmenu.tcl
>> for clues.
>
> ...added as new FAQ:
>
> http://grass.osgeo.org/wiki/GIS_manager
>
> Markus



More information about the grass-user mailing list