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

Method tab

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:863–871  ·  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

861
862
863 def tab(self, tab_id, option=None, **kw):
864 """Query or modify the options of the specific tab_id.
865
866 If kw is not given, returns a dict of the tab option values. If option
867 is specified, returns the value of that option. Otherwise, sets the
868 options to the corresponding values."""
869 if option is not None:
870 kw[option] = None
871 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
872
873
874 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