comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Q: synchronizing widget events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Q: synchronizing widget events [message #3945] Tue, 21 March 1995 09:41
zender is currently offline  zender
Messages: 2
Registered: August 1994
Junior Member
i've got a widget program and i am starting to implement a kind
of macro capability where one button will generate a pre-programmed
sequence of events (with widget_control,send_event=...)
to send off to the other buttons. i've got it working so that the
events are all sent and control is returned to the user when the
macro finishes playing. but there's a sequencing problem.

i may send the events in the order a,b,c,... but the events are
getting permuted in order by the time they execute. this is a problem
because these are non-commutative operations, and the outcome of event
b will be incorrect if event a hasn't finished yet. i think this is
what's happening. is there a way of running the event managers in
a synchronous mode so that the order the events is processed in is
determinate?

i'm not sure it's relevent but i'm sending events to two different
event managers. would it help if i moved all the pertinent widgets
to the same event manager?

thanks,
charlie

--
Charlie Zender Tel: (303) 497-1612
NCAR/CGD/CMS Rm ML-320 FAX: (303) 497-1324
P.O. Box 3000 zender@ncar.ucar.edu
Boulder CO 80307-3000 http://www.cgd.ucar.edu/cms/zender
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Reading USGS DEMs
Next Topic: Re: 2-D power spectra

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:00:53 PDT 2025

Total time taken to generate the page: 0.00540 seconds