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

Method get

Lib/tkinter/__init__.py:634–636  ·  view source on GitHub ↗

Return the value of the variable as a float.

(self)

Source from the content-addressed store, hash-verified

632 Variable.__init__(self, master, value, name)
633
634 def get(self):
635 """Return the value of the variable as a float."""
636 return self._tk.getdouble(self._tk.globalgetvar(self._name))
637
638
639class 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