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

Home » Public Forums » archive » Evenly timed events in a widget program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Evenly timed events in a widget program [message #85864] Sun, 15 September 2013 09:33 Go to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
Dear Folks,

I'm working on a widget program that resembles a TV screen with icons overlaid on the
video. In my present implementation, a widget timer event triggers updates of the TV screen,
while users interacting with the icons generate other widget events. My problem is that the timer
events can get stacked up behind a great many user-generated events, causing the TV screen to
update erratically.

Is there a way to convince xmanager to act on timer events as soon as they
arrive, rather than working its way systematically but indiscriminately through
the stack of events?

Alternatively, is there a way to run the TV widget as some sort of background process
that runs on its own fixed schedule independent of the user interaction in the foreground?

If the best answer is to ditch xmanager and to call widget_event directly,
can anyone point me to an effectively written example that I might use as a
model for my own code?

Many thanks,

David
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: The IDL library for Shuffled Complex Evolution (SCEUA)
Next Topic: Count duplicate elements in an array but keep their order!

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

Current Time: Wed Oct 08 19:22:01 PDT 2025

Total time taken to generate the page: 0.00455 seconds