[GRASS-user] How to create tabbed gui in a script (like g.region)

Glynn Clements glynn at gclements.plus.com
Tue Nov 14 21:37:49 EST 2006


Patton, Eric wrote:

> Is it possible to utilize some scripting syntax to create a tabbed gui
> in a bash script, like g.region? I'm creating a pretty detailed custom
> script and in order to organize the various sections, I would like to
> take advantage of a similar design that g.region employs.

Add a "guisection" field to each option to specify the tab for that
option. Any options without a guisection field go into the "Options"
tab.

See the r.in.wms script for an example.

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




More information about the grass-user mailing list