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

Method element_names

Lib/tkinter/ttk.py:449–452  ·  view source on GitHub ↗

Returns the list of elements defined in the current theme.

(self)

Source from the content-addressed store, hash-verified

447
448
449 def element_names(self):
450 """Returns the list of elements defined in the current theme."""
451 return tuple(n.lstrip('-') for n in self.tk.splitlist(
452 self.tk.call(self._name, "element", "names")))
453
454
455 def element_options(self, elementname):

Callers 6

test_element_optionsMethod · 0.80
test_theme_createMethod · 0.80

Calls 3

splitlistMethod · 0.80
lstripMethod · 0.45
callMethod · 0.45

Tested by 6

test_element_optionsMethod · 0.64
test_theme_createMethod · 0.64