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

Method set_children

Lib/tkinter/ttk.py:1208–1214  ·  view source on GitHub ↗

Replaces item's child with newchildren. Children present in item that are not present in newchildren are detached from tree. No items in newchildren may be an ancestor of item.

(self, item, *newchildren)

Source from the content-addressed store, hash-verified

1206
1207
1208 def set_children(self, item, *newchildren):
1209 """Replaces item's child with newchildren.
1210
1211 Children present in item that are not present in newchildren
1212 are detached from tree. No items in newchildren may be an
1213 ancestor of item."""
1214 self.tk.call(self._w, "children", item, newchildren)
1215
1216
1217 def column(self, column, option=None, **kw):

Callers 1

test_childrenMethod · 0.80

Calls 1

callMethod · 0.45

Tested by 1

test_childrenMethod · 0.64