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.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to