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

Franz Schiller franzschiller1975 at gmail.com
Tue Jun 22 09:33:28 EDT 2010


Hi Martin
the OnMenuCmd it doesn't exist so I used self.OnMenuCMD and the r.info frame
module appeared with inserted parameters but it was not possible to avoid
the appearence of frames module. Has anyone has a suggestion regarding this?

Thanks
Franz

On Fri, Jun 18, 2010 at 1:35 PM, Martin Landa <landa.martin at gmail.com>wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100622/50095ee8/attachment.html


More information about the grass-user mailing list