Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: alarms and timers on Win32

by MZSanford (Curate)
on Oct 23, 2002 at 12:52 UTC ( #207372=note: print w/ replies, xml ) Need Help??


in reply to alarms and timers on Win32

You could use Tk::After (doc) and give it a callback and time ... i am not sure if that will work on Win32, but i believe so. If you want to get really tricky, you could also use Win32::OLE or Win32::API to access the VB timer object, or other Win32 naitive function, directly. Lastly (and, i am sure this is not the last, but the last i have right now), you could fork a process to keep track of the time, and use IPC to update the label ... seems a bit complex for what you want though. Also, a pretty good clock inplimentation is here(analog), or maybe Tk::Clock ?


from the frivolous to the serious


Comment on Re: alarms and timers on Win32
Re: Re: alarms and timers on Win32
by rinceWind (Monsignor) on Oct 23, 2002 at 13:00 UTC
    Fine! Tk::After was what I was looking for. Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207372]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2015-07-04 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls