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

Method item

Lib/tkinter/ttk.py:1354–1363  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 10

create_doc_with_doctypeFunction · 0.45
testInsertBeforeMethod · 0.45
testNodeListItemMethod · 0.45
test_insert_itemMethod · 0.45
test_setMethod · 0.45

Calls 1

_val_or_dictFunction · 0.85

Tested by 10

create_doc_with_doctypeFunction · 0.36
testInsertBeforeMethod · 0.36
testNodeListItemMethod · 0.36
test_insert_itemMethod · 0.36
test_setMethod · 0.36