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-08 13:14:54 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-08 13:14:54 (GMT)
commit6e6e934eca364e404de4faf635d6d0aa5aaefc9d (patch)
tree1909dd2b238db34ac59ab27a47e6cccd1138e495 /tawindow.py
parent445b756e59b8dd7f676fe55c1a89b193717ef554 (diff)
added fullscreen button
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 68a9f01..fd1d949 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -269,6 +269,14 @@ class TurtleArtWindow():
self.nop = 'pythonloaded'
"""
+ Enter fulscreen mode
+ """
+ def set_fullscreen(self):
+ if self.running_sugar:
+ self.activity.fullscreen()
+ self.activity.recenter()
+
+ """
Hide/show button
"""
def hideshow_button(self):