diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-09-30 14:41:15 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-09-30 14:41:15 (GMT) |
commit | 66bfbb94573efa35d717e550778d02b5a2ea1369 (patch) | |
tree | 49b8a7912ca8edf07f2d34695078dcde1d785a8b /tamyblock.py | |
parent | cdca5085dc79211ee6fd9614c97066adf79798e2 (diff) |
added sample code for programmably saving a screen-shot imageSucrose-0.86
Diffstat (limited to 'tamyblock.py')
-rw-r--r-- | tamyblock.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tamyblock.py b/tamyblock.py index 5643a9c..888588c 100644 --- a/tamyblock.py +++ b/tamyblock.py @@ -78,5 +78,8 @@ def myblock(lc,x): # reallocate current color # lc.tw.fgcolor = lc.tw.cm.alloc_color(r<<8,g<<8,b<<8) + # save a screen- image in the journal + + # lc.tw.activity._do_saveimage_cb(lc.tw.activity) return |