Return the value of the variable as an integer.
(self)
| 589 | Variable.__init__(self, master, value, name) |
| 590 | |
| 591 | def get(self): |
| 592 | """Return the value of the variable as an integer.""" |
| 593 | value = self._tk.globalgetvar(self._name) |
| 594 | try: |
| 595 | return self._tk.getint(value) |
| 596 | except (TypeError, TclError): |
| 597 | return int(self._tk.getdouble(value)) |
| 598 | |
| 599 | |
| 600 | class DoubleVar(Variable): |
nothing calls this directly
no test coverage detected