MCPcopy Index your code
hub / github.com/RustPython/RustPython / _create

Method _create

Lib/tkinter/__init__.py:2970–2980  ·  view source on GitHub ↗

Internal function.

(self, itemType, args, kw)

Source from the content-addressed store, hash-verified

2968 self.tk.call((self._w, 'coords') + args))]
2969
2970 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={})
2971 """Internal function."""
2972 args = _flatten(args)
2973 cnf = args[-1]
2974 if isinstance(cnf, (dict, tuple)):
2975 args = args[:-1]
2976 else:
2977 cnf = {}
2978 return self.tk.getint(self.tk.call(
2979 self._w, 'create', itemType,
2980 *(args + self._options(cnf, kw))))
2981
2982 def create_arc(self, *args, **kw):
2983 """Create arc shaped region with coordinates x1,y1,x2,y2."""

Callers 9

create_arcMethod · 0.95
create_bitmapMethod · 0.95
create_imageMethod · 0.95
create_lineMethod · 0.95
create_ovalMethod · 0.95
create_polygonMethod · 0.95
create_rectangleMethod · 0.95
create_textMethod · 0.95
create_windowMethod · 0.95

Calls 5

isinstanceFunction · 0.85
_flattenFunction · 0.70
getintMethod · 0.45
callMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected