MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / set

Method set

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:1427–1439  ·  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

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

Source from the content-addressed store, hash-verified

1425
1426
1427 def set(self, item, column=None, value=None):
1428 """Query or set the value of given item.
1429
1430 With one argument, return a dictionary of column/value pairs
1431 for the specified item. With two arguments, return the current
1432 value of the specified column. With three arguments, set the
1433 value of given column in given item to the specified value."""
1434 res = self.tk.call(self._w, "set", item, column, value)
1435 if column is None and value is None:
1436 return _splitdict(self.tk, res,
1437 cut_minus=False, conv=_tclobj_to_py)
1438 else:
1439 return res
1440
1441
1442 def tag_bind(self, tagname, sequence=None, callback=None):

Callers

nothing calls this directly

Calls 2

_splitdictFunction · 0.90
callMethod · 0.80

Tested by

no test coverage detected