MCPcopy Index your code
hub / github.com/python/cpython / create_rectangle

Method create_rectangle

Lib/tkinter/__init__.py:3089–3091  ·  view source on GitHub ↗

Create rectangle with coordinates x1,y1,x2,y2.

(self, *args, **kw)

Source from the content-addressed store, hash-verified

3087 return self._create('polygon', args, kw)
3088
3089 def create_rectangle(self, *args, **kw):
3090 """Create rectangle with coordinates x1,y1,x2,y2."""
3091 return self._create('rectangle', args, kw)
3092
3093 def create_text(self, *args, **kw):
3094 """Create text with coordinates x1,y1."""

Callers 4

dnd_enterMethod · 0.80
test_create_rectangleMethod · 0.80
test_movetoMethod · 0.80
paintMethod · 0.80

Calls 1

_createMethod · 0.95

Tested by 3

test_create_rectangleMethod · 0.64
test_movetoMethod · 0.64
paintMethod · 0.64