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

Method set

Lib/tkinter/ttk.py:1437–1449  ·  view source on GitHub ↗

Query or set the value of given item. With one argument, return a dictionary of column/value pairs for the specified item. With two arguments, return the current value of the specified column. With three arguments, set the value of given column in given item to the s

(self, item, column=None, value=None)

Source from the content-addressed store, hash-verified

1435
1436
1437 def set(self, item, column=None, value=None):
1438 """Query or set the value of given item.
1439
1440 With one argument, return a dictionary of column/value pairs
1441 for the specified item. With two arguments, return the current
1442 value of the specified column. With three arguments, set the
1443 value of given column in given item to the specified value."""
1444 res = self.tk.call(self._w, "set", item, column, value)
1445 if column is None and value is None:
1446 return _splitdict(self.tk, res,
1447 cut_minus=False, conv=_tclobj_to_py)
1448 else:
1449 return res
1450
1451
1452 def tag_bind(self, tagname, sequence=None, callback=None):

Callers

nothing calls this directly

Calls 2

_splitdictFunction · 0.90
callMethod · 0.45

Tested by

no test coverage detected