MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / _setbgpic

Method _setbgpic

Python/Turtle.py:630–636  ·  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

628 self.cv.itemconfig(item, image=image)
629
630 def _setbgpic(self, item, image):
631 """Configure image item as to draw image object
632 at center of canvas. Set item to the first item
633 in the displaylist, so it will be drawn below
634 any other item ."""
635 self.cv.itemconfig(item, image=image)
636 self.cv.tag_lower(item)
637
638 def _type(self, item):
639 """Return 'line' or 'polygon' or 'image' depending on

Callers 1

bgpicMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected