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.