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

Method setvar

Lib/tkinter/__init__.py:773–775  ·  view source on GitHub ↗

Set Tcl variable NAME to VALUE.

(self, name='PY_VAR', value='1')

Source from the content-addressed store, hash-verified

771 self.tk.call('tkwait', 'visibility', window._w)
772
773 def setvar(self, name='PY_VAR', value='1'):
774 """Set Tcl variable NAME to VALUE."""
775 self.tk.setvar(name, value)
776
777 def getvar(self, name='PY_VAR'):
778 """Return value of Tcl variable NAME."""

Callers 6

testSetVarMethod · 0.45
testSetVarArrayMethod · 0.45
testUnsetVarMethod · 0.45
testUnsetVarArrayMethod · 0.45
test_null_in_nameMethod · 0.45

Calls

no outgoing calls

Tested by 6

testSetVarMethod · 0.36
testSetVarArrayMethod · 0.36
testUnsetVarMethod · 0.36
testUnsetVarArrayMethod · 0.36
test_null_in_nameMethod · 0.36