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

Method pane

Lib/tkinter/ttk.py:949–958  ·  view source on GitHub ↗

Query or modify the options of the specified pane. pane is either an integer index or the name of a managed subwindow. If kw is not given, returns a dict of the pane option values. If option is specified then the value for that option is returned. Otherwise, sets the

(self, pane, option=None, **kw)

Source from the content-addressed store, hash-verified

947
948
949 def pane(self, pane, option=None, **kw):
950 """Query or modify the options of the specified pane.
951
952 pane is either an integer index or the name of a managed subwindow.
953 If kw is not given, returns a dict of the pane option values. If
954 option is specified then the value for that option is returned.
955 Otherwise, sets the options to the corresponding values."""
956 if option is not None:
957 kw[option] = None
958 return _val_or_dict(self.tk, kw, self._w, "pane", pane)
959
960
961 def sashpos(self, index, newpos=None):

Callers 2

test_addMethod · 0.80
test_paneMethod · 0.80

Calls 1

_val_or_dictFunction · 0.85

Tested by 2

test_addMethod · 0.64
test_paneMethod · 0.64