[GRASSLIST:4057] how to create GUI in grass5.7

hi all,

I use grass 5.7 with my vector data to make Geographical Information System about transportation.
A long this time I just use and type grass command on grass prompt to operation my vector data.
I want ask you all, about GUI (Graphics User Interface) in grass.
I want to make a button in a windows that I can click to do some grass command.
what should I do to make GUI in grass 5.7?
would you tell me how to make a button, please?

thank’s for your help before.
regards,

Didit


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Hi,
On Sat, Jul 31, 2004 at 10:09:53PM -0700, Didit Ahendra wrote:

what should I do to make GUI in grass 5.7?
would you tell me how to make a button, please?

I would just write some simple perl script with Tk, which would call the GRASS
commands. If you do not know any program language, have a look e.g. to
http://glade.gnome.org/, but I do not have any experience with this.

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz

If you have installed Grass on a unix or linux system and the tcltk interface is operational simply type

grass5
   and then at the grass shell prompt type

tcltkgrass &

Jachym Cepicky wrote:

Hi,
On Sat, Jul 31, 2004 at 10:09:53PM -0700, Didit Ahendra wrote:

what should I do to make GUI in grass 5.7? would you tell me how to make a button, please?

I would just write some simple perl script with Tk, which would call the GRASS
commands. If you do not know any program language, have a look e.g. to
http://glade.gnome.org/, but I do not have any experience with this.

Jachym

If you always want to open up grass with a graphical interface, just change your
.grassrc5 file with a unix text editor like pico. Change the line that says
GRASS_GUI: text
to
GRASS_GUI: tcltk

with grass 57 the file might be called .grassrc57

Good luck,
Ian

Quoting Didit Ahendra <dee2t2001@yahoo.com>:

hi all,

I use grass 5.7 with my vector data to make Geographical Information System
about transportation.
A long this time I just use and type grass command on grass prompt to
operation my vector data.
I want ask you all, about GUI (Graphics User Interface) in grass.
I want to make a button in a windows that I can click to do some grass
command.
what should I do to make GUI in grass 5.7?
would you tell me how to make a button, please?

thank's for your help before.
regards,

Didit

---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

-----------------------------------------------------
Ian MacMillan
Geological Sciences-UCSB

"insert witticism here"