User Profile
Collapse
-
Oh, Timers just countdown once? I assumed they executed a method every x seconds. Was I wrong?... -
Using Timer incorrectly
I am using a timer in an alarm clock application I am writing. I don't seem to understand how to use the timer.
Can someone...Code:import threading class MyClass: def __init__(self): self.t = threading.Timer(1, whatever) self.t.start() def whatever(self): print "you got here!" return -
Reload this Page PyGTK image bkg w/ widgets on top
I am trying to make a game using pygtk. It requires that there be an image in the background and widgets that can go in front of the image. I have tried defining a background image for the Mainwindow but cant seem to do that and I have tried to pack widgets into an image but gtk.Image does not have the add attribute. What approach should I be taking?
No activity results to display
Show More
Leave a comment: