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

Method place_content

Lib/tkinter/__init__.py:1923–1932  ·  view source on GitHub ↗

Returns a list of all the content widgets for which this widget is the container.

(self)

Source from the content-addressed store, hash-verified

1921
1922 # Place method that applies to the container widget
1923 def place_content(self):
1924 """Returns a list of all the content widgets for which this widget is
1925 the container."""
1926 try:
1927 res = self.tk.call('place', 'content', self._w)
1928 except TclError:
1929 if self.info_patchlevel() >= (8, 6):
1930 raise
1931 res = self.tk.call('place', 'slaves', self._w)
1932 return [self._nametowidget(x) for x in self.tk.splitlist(res)]
1933
1934 def place_slaves(self):
1935 """Synonym for place_content()."""

Callers 1

test_place_contentMethod · 0.80

Calls 3

info_patchlevelMethod · 0.95
splitlistMethod · 0.80
callMethod · 0.45

Tested by 1

test_place_contentMethod · 0.64