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

Method tab

Lib/tkinter/ttk.py:873–881  ·  view source on GitHub ↗

Query or modify the options of the specific tab_id. If kw is not given, returns a dict of the tab option values. If option is specified, returns the value of that option. Otherwise, sets the options to the corresponding values.

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

Source from the content-addressed store, hash-verified

871
872
873 def tab(self, tab_id, option=None, **kw):
874 """Query or modify the options of the specific tab_id.
875
876 If kw is not given, returns a dict of the tab option values. If option
877 is specified, returns the value of that option. Otherwise, sets the
878 options to the corresponding values."""
879 if option is not None:
880 kw[option] = None
881 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
882
883
884 def tabs(self):

Callers 4

test_tab_identifiersMethod · 0.80
test_tabMethod · 0.80
test_traversalMethod · 0.80
helpMethod · 0.80

Calls 1

_val_or_dictFunction · 0.85

Tested by 3

test_tab_identifiersMethod · 0.64
test_tabMethod · 0.64
test_traversalMethod · 0.64