[GRASS-dev] d.rast.edit in wxgrass
Daniel Calvelo
dca.gis at gmail.com
Wed Jun 27 14:29:39 EDT 2007
On 6/26/07, Glynn Clements <glynn at gclements.plus.com> wrote:
[Me]
> Currently, menuform.py if run standalone will accept one argument, the
> grass command, and will call it on its own to get back the
> --xml-description. So an execve() should be enough, I think.
[Glynn]
> IOW:
> sprintf(script, "%s/etc/wx/gui_modules/menuform.py", G_gisbase());
> execlp(script, "menuform.py", pgm_name, NULL);
> G_fatal_error(_("Unable to invoke wxPython GUI"));
> ?
Yes.
However, I should ask, is this preferable to the stdin feed of xml?
Which is more maintainable? I'm uneasy about handling things
differently for tcltk and wxpython; seems messy.
Daniel.
--
-- Daniel Calvelo Aros
More information about the grass-dev
mailing list