pygsear-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygsear] config canvas dimensions


From: reavey
Subject: [pygsear] config canvas dimensions
Date: Sat, 29 Mar 2003 10:41:11 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

Hi,
I'd like to use a full screen canvas. I can find the dimensions using the forward command in the python2.2 module turtle.py. The process is:
invoke python interpreter
$ python
>>>from turtle import *
>>>reset()
#######at this point you'll see a canvas open,
use your expand button on the canvas###########

>>>reset()
############you will now have a full screen canvas with the pen centered. From here you can issue forward commands to the edges of the canvas to find it's full screen dimensions#############

if my canvas dimension is (1200,800), how can I inform the penguin.py?
TIA
re-v







reply via email to

[Prev in Thread] Current Thread [Next in Thread]