Back to index

python3.2  3.2.2
Public Member Functions | Private Member Functions | Private Attributes
turtle._Root Class Reference

List of all members.

Public Member Functions

def __init__
def setupcanvas
def set_geometry
def ondestroy
def win_width
def win_height

Private Member Functions

def _getcanvas

Private Attributes

 _canvas

Detailed Description

Root class for Screen based on Tkinter.

Definition at line 431 of file turtle.py.


Constructor & Destructor Documentation

def turtle._Root.__init__ (   self)

Definition at line 433 of file turtle.py.

00433 
00434     def __init__(self):
00435         TK.Tk.__init__(self)

Here is the caller graph for this function:


Member Function Documentation

def turtle._Root._getcanvas (   self) [private]

Definition at line 440 of file turtle.py.

00440 
00441     def _getcanvas(self):
00442         return self._canvas

def turtle._Root.ondestroy (   self,
  destroy 
)

Definition at line 446 of file turtle.py.

00446 
00447     def ondestroy(self, destroy):
00448         self.wm_protocol("WM_DELETE_WINDOW", destroy)

Here is the call graph for this function:

def turtle._Root.set_geometry (   self,
  width,
  height,
  startx,
  starty 
)

Definition at line 443 of file turtle.py.

00443 
00444     def set_geometry(self, width, height, startx, starty):
00445         self.geometry("%dx%d%+d%+d"%(width, height, startx, starty))

def turtle._Root.setupcanvas (   self,
  width,
  height,
  cwidth,
  cheight 
)

Definition at line 436 of file turtle.py.

00436 
00437     def setupcanvas(self, width, height, cwidth, cheight):
00438         self._canvas = ScrolledCanvas(self, width, height, cwidth, cheight)
00439         self._canvas.pack(expand=1, fill="both")

def turtle._Root.win_height (   self)

Definition at line 452 of file turtle.py.

00452 
00453     def win_height(self):
00454         return self.winfo_screenheight()

Here is the call graph for this function:

def turtle._Root.win_width (   self)

Definition at line 449 of file turtle.py.

00449 
00450     def win_width(self):
00451         return self.winfo_screenwidth()

Here is the call graph for this function:


Member Data Documentation

Definition at line 437 of file turtle.py.


The documentation for this class was generated from the following file: