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

Method _create

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:2841–2851  ·  view source on GitHub ↗

Internal function.

(self, itemType, args, kw)

Source from the content-addressed store, hash-verified

2839 self.tk.call((self._w, 'coords') + args))]
2840
2841 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={})
2842 """Internal function."""
2843 args = _flatten(args)
2844 cnf = args[-1]
2845 if isinstance(cnf, (dict, tuple)):
2846 args = args[:-1]
2847 else:
2848 cnf = {}
2849 return self.tk.getint(self.tk.call(
2850 self._w, 'create', itemType,
2851 *(args + self._options(cnf, kw))))
2852
2853 def create_arc(self, *args, **kw):
2854 """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 4

callMethod · 0.80
_flattenFunction · 0.70
getintMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected