From 4e75964c7d73a2f763728c0858e0a6130cd456a5 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Fri, 07 Oct 2011 12:24:04 +0000 Subject: consolidation of remote turtle positioning code --- (limited to 'TurtleArtActivity.py') diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 3395b48..861122f 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -733,6 +733,10 @@ class TurtleArtActivity(activity.Activity): self._collaboration = Collaboration(self.tw, self) self._collaboration.setup() + def send_xy(self): + ''' Resync xy position (and orientation) of my turtle. ''' + self._collaboration.send_my_xy() + def _setup_visibility_handler(self): ''' Notify me when the visibility state changes. ''' self.add_events(gtk.gdk.VISIBILITY_NOTIFY_MASK) -- cgit v0.9.1