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)
| 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): |