[GRASS-dev] Re: [GRASSGUI] module dialogs in wxPython

Glynn Clements glynn at gclements.plus.com
Mon Aug 6 12:18:16 EDT 2007


Michael Barton wrote:

> What would it take to have a module come up in the wxPython version of the
> autogenerated dialog if GRASS_GUI is set to wx in .grassrc6? I think this
> discussion got started sometime back, but wasn't resolved.

It needs:

1. A Python equivalent of lib/gis/gui.tcl.

2. A Python equivalent of generate_tcl(), unless you make #1 accept
XML, in which case G_usage_xml() can be used.

3. Some changes to G_gui() to select the desired GUI based upon
$GRASS_GUI.

#1 is the main part; the rest is straightforward.

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




More information about the grass-dev mailing list