[GRASS-dev] Integrating a python Script in menu for
WinGRASS6.4.1- GRASS seems slower
Martin Landa
landa.martin at gmail.com
Tue Nov 2 12:39:54 EDT 2010
Hi,
2010/11/2 António Rocha <antonio.rocha at deimos.com.pt>:
> I have a Python script that works fine in Linux and in WinGRASS (running
> from commandline). But, I added to the menu (XML) a link to this Script and
> now GRASS is much slower on opening and displaying this interface. Was this
> expected? Or Is any problem expected? (because using commandline it runs
> just fine).
it's not expected, not sure if I understand well. Can you send me a
sample script to test it. What version of GRASS do you use?
> I added a link to my script this way:
> <menuitem>
> <label>Import Landsat</label>
> <help>Import Landsat images</help>
> <handler>self.OnMenuCmd</handler>
> <command>r.in.landsat</command>
> </menuitem>
>
> Is this corrrect?
yes, it is.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list