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

Method add

Lib/tkinter/ttk.py:819–824  ·  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

817
818
819 def add(self, child, **kw):
820 """Adds a new tab to the notebook.
821
822 If window is currently managed by the notebook but hidden, it is
823 restored to its previous position."""
824 self.tk.call(self._w, "add", child, *(_format_optdict(kw)))
825
826
827 def forget(self, tab_id):

Callers 15

create_widgetsMethod · 0.95
segregateFunction · 0.45
_task_print_stackFunction · 0.45
iscoroutineFunction · 0.45
interruptMethod · 0.45
_server_pipe_handleMethod · 0.45
_register_with_iocpMethod · 0.45
_stop_servingMethod · 0.45
future_add_to_awaited_byFunction · 0.45
_waitFunction · 0.45
_register_taskFunction · 0.45
_register_eager_taskFunction · 0.45

Calls 2

_format_optdictFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected