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

Home » Public Forums » archive » Re: collecting data files
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: collecting data files [message #44761 is a reply to message #44760] Thu, 14 July 2005 11:41 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
clive_cook59@hotmail.com wrote:
> Ok, so how do i write a timer event?
>

Choose some widget in your GUI to generate the timer event. With

widget_control, id, timer=x

you will generate a timer event in that widget in x seconds. Note that
this happens only once, so for a continuous timer you have to include
this line of code again in the event handler itself.

To distinguish the timer event from other events: The most simple thing
is to choose a widget which otherwise doesn't generate events, like a
label widget. Otherwise, you have to check the event structure name in
the event handler for 'WIDGET_TIMER'.

Check the IDL reference for the TIMER keyword to WIDGET_CONTROL for more
information, or go to Programming in IDL -> Creating Graphical User
Interfaces -> Widget Application Techniques.

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: projection for geostationary satellite data in ENVI
Next Topic: IDL, GDL, copyright, EULAs and such

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

Current Time: Fri Oct 10 16:28:47 PDT 2025

Total time taken to generate the page: 0.32492 seconds