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

Method set

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:634–636  ·  view source on GitHub ↗

Set the variable to VALUE.

(self, value)

Source from the content-addressed store, hash-verified

632 Variable.__init__(self, master, value, name)
633
634 def set(self, value):
635 """Set the variable to VALUE."""
636 return self._tk.globalsetvar(self._name, self._tk.getboolean(value))
637
638 initialize = set
639

Callers 2

test_setMethod · 0.95

Calls 1

getbooleanMethod · 0.45

Tested by 2

test_setMethod · 0.76