Every line of 'clear canvas tkinter' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
290 def ClearFigure(self): 291 """ Clear all previously drawn apodization windows """ 292 self.axes.cla() 293 self.OnPaint(-1)
180 def clearCanvas(self): 181 self.initDrawing() 182 self.logCanvas.clear()
618 def clear_GL(self): 619 glClearColor(self.bgcolor[0],self.bgcolor[1],self.bgcolor[2],self.bgcolor[3]) 620 glClear(GL_COLOR_BUFFER_BIT) 621 swap_buffers()
62 def clear(self): 63 """Deletes main window and then quits Tkinter mainloop()""" 64 self.main_window.clear() 65 self.root.quit() 66 self.root.destroy()
629 @DrawAfter 630 def Clear(self): 631 """ Clear() 632 633 Clear the figure, removing all wibjects inside it and clearing all 634 callbacks. 635 636 """ 637 # remove children 638 while self._children: 639 child = self._children.pop() 640 if hasattr(child, 'Destroy'): 641 child.Destroy() 642 # remove callbacks 643 for fieldName in self.__dict__: 644 if fieldName.startswith('_event'): 645 event = self.__dict__[fieldName] 646 if hasattr(event,'Unbind'): 647 event.Unbind() 648 # Restore some event bindings 649 self.eventPosition.Bind(self._OnPositionChange)
23 def clear_command(): 24 global points, labels, medoids 25 points = [] 26 labels = [] 27 medoids = [] 28 message("") 29 get_axes().clear() 30 redraw()
150 def clear(self, canvas, button, data_x, data_y): 151 self.canvas.deleteAllObjects() 152 return False
57 def clear(self): 58 for item in [iid for sublist in self.items for iid in sublist]: 59 self.canvas.itemconfigure(item, text=" ", fill="white", tags=tuple(), 60 font=self.default_font, anchor=tk.NW)
172 def clear(): 173 global stage 174 stage = [ 175 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 176 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 177 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 178 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 179 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 180 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 181 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]], 182 [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]] 183 ] 184 render()
913 def clear(self): 914 """ 915 Clear the graph by creating a new root item. 916 """ 917 # remove root item (with all children) 918 self.canvas.get_root_item().remove() 919 self.canvas.set_root_item(GooCanvas.CanvasGroup())