Glynn,
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? I guess I should also ask, is ‘main’ the starting procedure?
Thanks
Michael
Michael Barton, Professor of Anthropology
Director of Graduate Studies
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
Thanks for looking into this. After a quick look, I became lost and realized I didn't even know where to start to try to run this.
On Sep 4, 2007, at 10:16 PM, Michael Barton wrote:
Glynn,
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? I guess I should also ask, is 'main' the starting procedure?
Thanks
Michael
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Those people who most want to rule people are, ipso-facto, those least suited to do it."
- A rule of the universe, from the HitchHiker's Guide to the Galaxy
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@gclements.plus.com>