diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-01-18 02:47:04 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-01-18 02:47:04 (GMT) |
commit | f90774178e691a92f9e539b87bb4ec066828ba7e (patch) | |
tree | 8e04cdb311968685bc88968dbe10c815a005d28c /tawindow.py | |
parent | 270d4813374b4ebae7899d8f97d3e274aa211d00 (diff) |
added delay on run button off
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py index d0765b4..5de4183 100644 --- a/tawindow.py +++ b/tawindow.py @@ -402,12 +402,13 @@ def hideshow_blocks(tw,spr): def run(tw, spr): print "you better run, turtle, run!!" + setshape(spr,spr.onshape) for b in blocks(tw): if find_block_to_run(tw, b): - setshape(spr,spr.onshape) run_stack(tw, b) - setshape(spr,spr.offshape) + gobject.timeout_add(250,setshape,spr,spr.offshape) return + setshape(spr,spr.offshape) # find a stack to run (a stack without a hat) def find_block_to_run(tw, spr): |