in svn/gui/wxpython/lmgr/frame.py line 758 by adding: def RunCmd(self, event = None, cmd = []): """!Run command to system from menu""" if event: cmd = self.GetMenuCmd(event) os.system(cmd)
it should handle it, however, it seems that a flag is needed to enable the possibility to click the command from the created menu. It is still grey/shadowed. On 16/05/2014, Yann Chemin <yche...@gmail.com> wrote: > To be precise, the non-GRASS programs have their own GUI already, and > the calls need only one word. > > On 16/05/2014, Yann Chemin <yche...@gmail.com> wrote: >> Hi, >> >> I would like to make a customized toolbox to call some non-GRASS CLI >> programs. >> >> Handlers OnMenuCmd and RunMenuCmd seem not to work. The menu items are >> grey/shadowed so that no mouse click is allowed on them. >> >> thanks >> Yann >> -- >> ---- >> > > > -- > ---- > -- ---- _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev