Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter 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)
commit66bfbb94573efa35d717e550778d02b5a2ea1369 (patch)
tree49b8a7912ca8edf07f2d34695078dcde1d785a8b
parentcdca5085dc79211ee6fd9614c97066adf79798e2 (diff)
added sample code for programmably saving a screen-shot image
-rw-r--r--tamyblock.py3
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