MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / subwidget

Method subwidget

tools/python-3.11.9-amd64/Lib/tkinter/tix.py:343–351  ·  view source on GitHub ↗

Return the named subwidget (which must have been created by the sub-class).

(self, name)

Source from the content-addressed store, hash-verified

341 self.tk.call('tixSetSilent', self._w, value)
342
343 def subwidget(self, name):
344 """Return the named subwidget (which must have been created by
345 the sub-class)."""
346 n = self._subwidget_name(name)
347 if not n:
348 raise TclError("Subwidget " + name + " not child of " + self._name)
349 # Remove header of name and leading dot
350 n = n[len(self._w)+1:]
351 return self._nametowidget(n)
352
353 def subwidgets_all(self):
354 """Return all subwidgets."""

Callers 5

pageMethod · 0.80
pagesMethod · 0.80
pageMethod · 0.80
pagesMethod · 0.80
panesMethod · 0.80

Calls 1

_subwidget_nameMethod · 0.95

Tested by

no test coverage detected