Searched defs:_canvas (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Lib/lib-tk/
H A Dturtle.py366 self._canvas = TK.Canvas(master, width=width, height=height,
368 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
370 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
371 self._canvas.configure(xscrollcommand=self.hscroll.set,
375 self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
392 self._canvas.config(bg=bg,
395 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
397 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
405 cwidth = self._canvas.winfo_width()
406 cheight = self._canvas
3559 _canvas = None variable in class:_Screen
[all...]
/external/python/cpython3/Lib/
H A Dturtle.py342 self._canvas = TK.Canvas(master, width=width, height=height,
344 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
346 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
347 self._canvas.configure(xscrollcommand=self.hscroll.set,
351 self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
368 self._canvas.config(bg=bg,
371 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
373 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
381 cwidth = self._canvas.winfo_width()
382 cheight = self._canvas
3668 _canvas = None variable in class:_Screen
[all...]

Completed in 55 milliseconds