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