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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eric Patton
Technologist, Geo-Spatial Data Services
Geological Survey of Canada (Atlantic)
Bedford Institute of Oceanography
P.O. Box 1006, Dartmouth, Nova Scotia
Canada B2Y 4A2
Telephone: (902)426-7732
Facsimile: (902)426-4104
E-mail: epatton@NRCan.gc.ca
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@gclements.plus.com>
This question just came up in my lab today too. Thanks for the information.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Glynn Clements <glynn@gclements.plus.com>
Date: Wed, 15 Nov 2006 02:37:49 +0000
To: "Patton, Eric" <epatton@nrcan.gc.ca>
Cc: <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] How to create tabbed gui in a script (like g.region)
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@gclements.plus.com>