time module question

J

Jeff Seale

How would one go about writing a program which included a clock that
updated itself? Right now I'm able to display the time in a text widget in
the window but I can't get it to update.
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Jeff said:
How would one go about writing a program which included a clock that
updated itself? Right now I'm able to display the time in a text widget in
the window but I can't get it to update.

In your GUI library, find the mechanism to produce delayed/timed events.
Then, in the event callback, update the text of the widget.

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,497
Latest member
PilarLumpk

Latest Threads

Top