Return the value of the variable as a bool.
(self)
| 641 | initialize = set |
| 642 | |
| 643 | def get(self): |
| 644 | """Return the value of the variable as a bool.""" |
| 645 | try: |
| 646 | return self._tk.getboolean(self._tk.globalgetvar(self._name)) |
| 647 | except TclError: |
| 648 | raise ValueError("invalid literal for getboolean()") |
| 649 | |
| 650 | |
| 651 | def mainloop(n=0): |
nothing calls this directly
no test coverage detected