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

Home » Public Forums » archive » Re: Interupting a running procedure using Widget event interupts.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Interupting a running procedure using Widget event interupts. [message #83142 is a reply to message #83140] Tue, 05 February 2013 22:54 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, February 6, 2013 12:54:03 AM UTC-5, Bogdanovist wrote:
> I am making a simple widget to interactively view sequences of images. I want basic 'player' functionality like play/pause, step forward/back.
...
> Does anyone know how I could achieve what I'm trying to do, or is this just not possible?

To do it in a more widget-ish way, you should set a timer event. See the TIMER keyword of WIDGET_CONTROL. You can set a timer event to happen after 1 second, and when you receive the timeout event, transition to the next image. That way, your widget application is always ready for any kind of event, including a button click. I'm just giving you the bare bones description of what to do. Actually setting up will take some effort. (for example to disable some buttons of your interface while in auto-slideshow mode)

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: color tables and cgcolorbar
Next Topic: Re: 2D Savitzky-Golay derivative filter?

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

Current Time: Fri Oct 10 00:38:08 PDT 2025

Total time taken to generate the page: 0.16591 seconds