MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _setbgpic

Method _setbgpic

tools/python-3.11.9-amd64/Lib/turtle.py:732–738  ·  view source on GitHub ↗

Configure image item as to draw image object at center of canvas. Set item to the first item in the displaylist, so it will be drawn below any other item .

(self, item, image)

Source from the content-addressed store, hash-verified

730 self.cv.itemconfig(item, image=image)
731
732 def _setbgpic(self, item, image):
733 """Configure image item as to draw image object
734 at center of canvas. Set item to the first item
735 in the displaylist, so it will be drawn below
736 any other item ."""
737 self.cv.itemconfig(item, image=image)
738 self.cv.tag_lower(item)
739
740 def _type(self, item):
741 """Return 'line' or 'polygon' or 'image' depending on

Callers 1

bgpicMethod · 0.80

Calls 1

tag_lowerMethod · 0.45

Tested by

no test coverage detected