[GRASS-dev] TclTk animator finished - replaces xganim

Michael Barton michael.barton at asu.edu
Sat Sep 15 11:18:18 EDT 2007




On 9/14/07 9:55 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:

> Michael Barton wrote:
>> 
>> Without apply, you hit OK and the map selection window closes. Then you
>> have to reopen it and enter from scratch when you want to change
>> something. I could rename apply to OK and have a close button. However,
>> the OK button is like a combination of OK and close, and is a default
>> that is activated when you hit the return key, which is also handy
>> sometimes.
> 
> but what if you make it so when you reopen the map selection window the
> old choices are still there? (within the same session) Then you don't
> start from scratch. Highlighting and deleting a long list of map names is
> easy enough.

This is a good idea and I think I can do this. Still, is there any problem
with a button that lets you apply changes and not close the map selection
window.

> 
> [minor issue, I assume this is a tcl limitation]
> I notice I can use ctrl-click to pick a number of maps at once, but only
> left-click to reset and start from scratch. ie no way to unselect a map
> without full reset. and shift-click to flood- select a bunch of maps
> doesn't work.

This is part of the mysteries of select.tcl, an ancient but useful TclTk
module that is one of the few remaining pieces inherited from tcltkgrass. I
found the select multiple option buried in it and turned it on, but haven't
tested it extensively. So I'm not sure how it really works.

> 
> Expand "Names" button to "Show names" or "Display map names" or something?
> At present it's a bit unclear what that button is supposed to do, and
> there is lots of real-estate available in the toolbar for a longer button
> name.

Easily done. There IS mouseover help on all buttons that explain what they
do. 

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





More information about the grass-dev mailing list