Searched refs:_canvas (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Demo/tkinter/ttk/ |
D | ttkcalendar.py | 64 self._canvas['background'] = value 66 self._canvas.itemconfigure(self._canvas.text, item=value) 74 return self._canvas['background'] 76 return self._canvas.itemcget(self._canvas.text, 'fill') 120 self._canvas = canvas = Tkinter.Canvas(self._calendar, 153 canvas = self._canvas 190 self._canvas.place_forget() 198 self._canvas.place_forget()
|
/external/python/cpython2/Demo/turtle/ |
D | turtleDemo.py | 105 cwidth = self._canvas.winfo_width() 106 cheight = self._canvas.winfo_height() 107 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 108 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 132 turtle._Screen._canvas = self._canvas = canvas = turtle.ScrolledCanvas( 136 canvas._canvas['borderwidth'] = 0 139 turtle.TurtleScreen.__init__(_s_, _s_._canvas) 140 self.scanvas = _s_._canvas
|
/external/python/cpython2/Tools/pynche/ |
D | StripViewer.py | 102 self._canvas = canvas 107 arrow = self._canvas.create_line( 114 text = self._canvas.create_text( 122 coords = self._canvas.coords(self._TAG) 128 self._canvas.move(self._TAG, deltax, 0) 131 self._canvas.itemconfigure(self.__text, text=text) 138 arrow = self._canvas.create_line( 145 text = self._canvas.create_text( 154 coords = self._canvas.coords(self._TAG)
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 366 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.winfo_height() [all …]
|