Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-21 22:25:27 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-21 22:25:27 (GMT)
commit3f588a5f8e2f9fbaf2c2329eb23a34c362d7a345 (patch)
tree7afc207a0f31af33baa3f35fe803169ae3ac03c4 /NEWS
parent1969d568bb440424d4128f627ac62ad3d5c62172 (diff)
added comments to Python samples (#2709)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS12
1 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 48859dc..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,10 +21,17 @@ BUG FIXES
* Fixed regression with camera_plugin after refactoring (#2689)
* Fixed problem with saving/loading extra turtles when nick changes (#2441)
-FLAG
+PYTHON CODE FLAG DAY
* Userdefined code gets TurtleWindow instance rather than LogoCode
- instance as first argument
+ 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