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

Method add

Lib/tkinter/__init__.py:4908–4916  ·  view source on GitHub ↗

Add a child widget to the panedwindow in a new pane. The child argument is the name of the child widget followed by pairs of arguments that specify how to manage the windows. The possible options and values are the ones accepted by the paneconfigure method.

(self, child, **kw)

Source from the content-addressed store, hash-verified

4906 Widget.__init__(self, master, 'panedwindow', cnf, kw)
4907
4908 def add(self, child, **kw):
4909 """Add a child widget to the panedwindow in a new pane.
4910
4911 The child argument is the name of the child widget
4912 followed by pairs of arguments that specify how to
4913 manage the windows. The possible options and values
4914 are the ones accepted by the paneconfigure method.
4915 """
4916 self.tk.call((self._w, 'add', child) + self._options(kw))
4917
4918 def remove(self, child):
4919 """Remove the pane containing child from the panedwindow

Callers 1

__init__Method · 0.95

Calls 2

callMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected