Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tamyblock.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-26 00:40:26 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-26 00:40:26 (GMT)
commit3c326eeedb87861b8b582395f8a2bdafd0f9aead (patch)
tree49542a7e34edc05b1ff817e5d6209d54a3a4a5ef /tamyblock.py
parent2e9a04acab7342f82621011b45cb85be270f5760 (diff)
new python example
Diffstat (limited to 'tamyblock.py')
-rw-r--r--tamyblock.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/tamyblock.py b/tamyblock.py
index 639c8c5..2d0b0e7 100644
--- a/tamyblock.py
+++ b/tamyblock.py
@@ -27,7 +27,16 @@
# the proper indentations.
#
-def myblock(lc,x):
+def myblock(lc, x):
+
+ ###########################################################################
+ #
+ # Set rgb color
+ #
+ ###########################################################################
+
+ # lc.tw.fgcolor = lc.tw.cm.alloc_color(x[0],x[1],x[2])
+ # return
###########################################################################
#
@@ -53,7 +62,6 @@ def myblock(lc,x):
lc.tw.canvas.setpen(pen) # restore pen state
-
###########################################################################
#
# Push an uppercase version of a string onto the heap.