Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-03 16:03:22 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-03 16:03:22 (GMT)
commitd306fb21464579a3a7d727812f060ce02c54a19a (patch)
treef1099ce7d2e7b76d9361ca43256bf9ba8b3391b4 /tawindow.py
parent2573df3606380970efb3a106bff10dba0437b6be (diff)
added showblock
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 4a7f72d..3fdfa64 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -261,6 +261,15 @@ class TurtleArtWindow():
self.activity.do_hide()
"""
+ Callback from 'show blocks' block
+ """
+ def showblocks(self):
+ self.hide = True
+ self.hideshow_button()
+ if self.running_sugar:
+ self.activity.do_show()
+
+ """
Where is the mouse event?
"""
def xy(self, event):