[GRASS-dev] testing tcltk animate
Glynn Clements
glynn at gclements.plus.com
Wed Sep 5 12:09:12 EDT 2007
Michael Barton wrote:
> I took an initial look at the TclTk animator to replace xganim. I could get
> it started from the command line, but it only shows the display frame with
> buttons. I couldn't see a way to add maps.
>
> I also tried to run it from within the GUI by calling main. This returns an
> error " wrong # args: should be "main argc argv".
>
> So it needs to get passed something somewhere. What arguments is the program
> looking for to get started? A list of raster maps? Something else?
It is supposed to accept the same options as xganim, i.e. view1=...
etc, where the value of each option is a list of raster maps separated
by commas.
> I guess I should also ask, is 'main' the starting procedure?
Yes. The top level is a bunch of "set" commands, then a bunch of
"proc" commands, then a call to "main" on the last line. The
parse_command procedure deals with parsing the command line.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list