swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Swarm-Support] Panel buttons


From: Li An
Subject: RE: [Swarm-Support] Panel buttons
Date: Sun, 23 Mar 2003 10:41:27 -0500

Hi,

Nice idea, I will try that way. Maybe moving doTKEvents to observerSwarm would work. Thanks a lot.

Li


At 02:36 PM 3/22/2003 -0700, you wrote:
This is only half an answer:  the program's reaction to pushing the 'stop'
button happens
when the message 'doTKEvents' is called. In most applications, this is in the
actionGroup
of observerSwarm, and can be found in 'buildActions'.  Typically, the
actionGroup starts
with something like [super buildActions], then [modelSwarm buildActions], and
then all of
the instructions for updating observerSwarm's graphic widgets.  If you can
find a way to
have [observerSwarm doTKEvents] called at any time, not just after completion
of a
modelswarm's actionGroup, then your problem would be addressed.

>===== Original Message From Li An <address@hidden> =====
>Hi Swarm folks,
>
>I wonder if it is possible to stop the process whenever I click the stop
>button in the main control panel of any Swarm program--now it only stops
>the program after each time step. I appreciate it if you have comments or
>suggestions.
>
>Best regards,
>
>Li
>
>_______________________________________________
>Support mailing list
>address@hidden
>http://www.swarm.org/mailman/listinfo/support

////////////////////////////////////////
// Paul Box
// Aquatic, Watershed, and Earth Resources
// Utah State University

Li An
Laboratory of Systems Integration and Modeling
13 Natural Resources Building
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824

Phone (Work): 517-353-7981
Fax: 517-432-1699
http://www.msu.edu/~anli



reply via email to

[Prev in Thread] Current Thread [Next in Thread]