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

Method set

Lib/tkinter/__init__.py:655–657  ·  view source on GitHub ↗

Set the variable to VALUE.

(self, value)

Source from the content-addressed store, hash-verified

653 Variable.__init__(self, master, value, name)
654
655 def set(self, value):
656 """Set the variable to VALUE."""
657 return self._tk.globalsetvar(self._name, self._tk.getboolean(value))
658
659 initialize = set
660

Callers 2

test_setMethod · 0.95

Calls 1

getbooleanMethod · 0.45

Tested by 2

test_setMethod · 0.76