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

Method element_create

Lib/tkinter/ttk.py:442–446  ·  view source on GitHub ↗

Create a new element in the current theme of given etype.

(self, elementname, etype, *args, **kw)

Source from the content-addressed store, hash-verified

440
441
442 def element_create(self, elementname, etype, *args, **kw):
443 """Create a new element in the current theme of given etype."""
444 *specs, opts = _format_elemcreate(etype, False, *args, **kw)
445 self.tk.call(self._name, "element", "create", elementname, etype,
446 *specs, *opts)
447
448
449 def element_names(self):

Calls 2

_format_elemcreateFunction · 0.85
callMethod · 0.45