swarm-support
[Top][All Lists]
Advanced

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

Re: using Canvas


From: Marcus G. Daniels
Subject: Re: using Canvas
Date: 15 May 1999 09:33:27 -0700

>>>>> "XH" == xueyue  <address@hidden> writes:

XH> My guess is that in main.m, there should be a command to
XH> initialize graphical environment. But I did not where is the
XH> equivalent in Swarm (I did not examine it yet).
 
It's necessary to have something processing the Tk events.
In Swarm, this is typically done using the doTkEvents method.
Another way is to add this line at the end of your test program:

  while (1) { while (GUI_EVENT_ASYNC ()) {} } 

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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