time module question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Seale

    time module question

    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.
  • Martin v. Löwis

    #2
    Re: time module question

    Jeff Seale wrote:[color=blue]
    > 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.[/color]

    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

    Comment

    Working...