Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Turtle Art
(view source)
Revision as of 12:58, 18 March 2010
99 bytes added
,
12:58, 18 March 2010
→Understanding the Structure of Turtle Art
Line 698:
Line 698:
!Methods and data attributes!!Example!!Notes
!Methods and data attributes!!Example!!Notes
|-
|-
−
|set_fullscreen(self)||lc.tw.set_fullscreen()||
+
|set_fullscreen(self)||lc.tw.set_fullscreen()||
Hides the Sugar toolbar
|-
|-
|set_cartesian(self, flag)||lc.tw.set_cartesian(True)||True will make the overlay visible; False will make it invisible
|set_cartesian(self, flag)||lc.tw.set_cartesian(True)||True will make the overlay visible; False will make it invisible
Line 713:
Line 713:
!Methods and data attributes!!Example!!Notes
!Methods and data attributes!!Example!!Notes
|-
|-
−
|clearscreen(self)||lc.tw.canvas.clearscreen()||
+
|clearscreen(self)||lc.tw.canvas.clearscreen()||
Clears the screen and resets all turtle and pen attributes to default values
|-
|-
|setpen(self, flag)||lc.tw.canvas.setpen(True)||True will set the pen "down", enabling drawing; False will set the pen "up"
|setpen(self, flag)||lc.tw.canvas.setpen(True)||True will set the pen "down", enabling drawing; False will set the pen "up"
Walter
Bureaucrats
,
Administrators
10,554
edits