[GRASS-user] Changing menudata.xml to include an direct processing

Martin Landa landa.martin at gmail.com
Fri Jun 18 08:35:04 EDT 2010


Hi,

2010/6/9 Franz Schiller <franzschiller1975 at gmail.com>:
> Greetings
>
> I'm making some addaptions in menudata.xml in order to have a few functions
> available more rapidly (for me). I wanted to have a menu-item (I know how to
> add it) that runs directly without opening any panel. This would mean that
> all parameterization would be in the xml. Is this possible?

yes, it's possible in 6.5+. In 6.4 it will be probably not working.

	    <menuitem>
	      <label>Info elevation map</label>
	      <help>Show menudata of elevation raster map</help>
              <handler>OnMenuCmd</handler>
	      <command>r.info map=elevation</command>
	    </menuitem>

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-user mailing list