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

Method get

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

Return the value of the variable as a float.

(self)

Source from the content-addressed store, hash-verified

611 Variable.__init__(self, master, value, name)
612
613 def get(self):
614 """Return the value of the variable as a float."""
615 return self._tk.getdouble(self._tk.globalgetvar(self._name))
616
617
618class BooleanVar(Variable):

Callers 5

test_defaultMethod · 0.95
test_getMethod · 0.95
test_get_from_intMethod · 0.95
test_invalid_valueMethod · 0.95
test_setMethod · 0.95

Calls 1

getdoubleMethod · 0.80

Tested by 5

test_defaultMethod · 0.76
test_getMethod · 0.76
test_get_from_intMethod · 0.76
test_invalid_valueMethod · 0.76
test_setMethod · 0.76