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

Method add

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:809–814  ·  view source on GitHub ↗

Adds a new tab to the notebook. If window is currently managed by the notebook but hidden, it is restored to its previous position.

(self, child, **kw)

Source from the content-addressed store, hash-verified

807
808
809 def add(self, child, **kw):
810 """Adds a new tab to the notebook.
811
812 If window is currently managed by the notebook but hidden, it is
813 restored to its previous position."""
814 self.tk.call(self._w, "add", child, *(_format_optdict(kw)))
815
816
817 def forget(self, tab_id):

Callers 1

create_widgetsMethod · 0.95

Calls 2

_format_optdictFunction · 0.85
callMethod · 0.80

Tested by

no test coverage detected