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

Method pack_content

Lib/tkinter/__init__.py:1901–1910  ·  view source on GitHub ↗

Returns a list of all of the content widgets in the packing order for this container.

(self)

Source from the content-addressed store, hash-verified

1899 propagate = pack_propagate
1900
1901 def pack_content(self):
1902 """Returns a list of all of the content widgets in the packing order
1903 for this container."""
1904 try:
1905 res = self.tk.call('pack', 'content', self._w)
1906 except TclError:
1907 if self.info_patchlevel() >= (8, 6):
1908 raise
1909 res = self.tk.call('pack', 'slaves', self._w)
1910 return [self._nametowidget(x) for x in self.tk.splitlist(res)]
1911
1912 content = pack_content
1913

Callers 5

test_pack_forgetMethod · 0.80
test_pack_contentMethod · 0.80

Calls 3

info_patchlevelMethod · 0.95
splitlistMethod · 0.80
callMethod · 0.45

Tested by 5

test_pack_forgetMethod · 0.64
test_pack_contentMethod · 0.64