Query or modify the options for the specified item. If no options are given, a dict with options/values for the item is returned. If option is specified then the value for that option is returned. Otherwise, sets the options to the corresponding values as given by kw
(self, item, option=None, **kw)
| 1352 | |
| 1353 | |
| 1354 | def item(self, item, option=None, **kw): |
| 1355 | """Query or modify the options for the specified item. |
| 1356 | |
| 1357 | If no options are given, a dict with options/values for the item |
| 1358 | is returned. If option is specified then the value for that option |
| 1359 | is returned. Otherwise, sets the options to the corresponding |
| 1360 | values as given by kw.""" |
| 1361 | if option is not None: |
| 1362 | kw[option] = None |
| 1363 | return _val_or_dict(self.tk, kw, self._w, "item", item) |
| 1364 | |
| 1365 | |
| 1366 | def move(self, item, parent, index): |