[GRASS-GUI] List of items in a combo-box or a list

Glynn Clements glynn at gclements.plus.com
Wed Apr 7 19:25:05 EDT 2010


Luisa Peña wrote:

> > You can't do this via g.parser. You would need to either dynamically
> > generate a script with a suitable header,
> 
> 
> Ah is it possible to have a script in which i have a dynamic script? Is
> there any available script/function, developed for GRASS, in which I can get
> some "inspiration"?

I don't know of any examples of this approach.

> > or have the script create
> > the GUI itself using wxPython or Tcl/Tk.
> 
> So you mean, instead of using g.parser, that reads wxpython file that define
> module, My script would have Wxpython code similar to the one, that g.parser
> uses, but with dynamic fields?
> 
> For instance, combo-boxes that lists available rasters/vectorial files in
> GRASS are dynamic. Right?

Right.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-gui mailing list