Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b9388eb..3a0e890 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ ENHANCEMENTS
* Shared turtles are updated after mouse drag (#2687)
* Shared turtles cannot be repositioned remotely (#2687)
* Turtles are synchronized when joining share (#2687)
+* Comments on usage included in the python sample code (#2709)
BUG FIXES
@@ -20,6 +21,18 @@ BUG FIXES
* Fixed regression with camera_plugin after refactoring (#2689)
* Fixed problem with saving/loading extra turtles when nick changes (#2441)
+PYTHON CODE FLAG DAY
+
+* Userdefined code gets TurtleWindow instance rather than LogoCode
+ instance as first argument. This change was made in order to better
+ accommodate and better parallel the new plugin mechanism. Most
+ likely, you had been referencing tw, the TurtleWindow instance from
+ lc, the LogoCode instance, e.g., lc.tw. Now you can reference tw
+ directly, e.g., tw. To reference lc, use tw.lc. Also note that the
+ push_mouse_event.py sample has changed. The x,y position of the
+ mouse is now always pushed to the stack, whether or not the mouse
+ button is pressed.
+
106
ENHANCEMENTS