(self)
Unset the variable in Tcl.
Unset the variable in Tcl.
Unset the variable in Tcl .
def __del__(self):
        """Unset the variable in Tcl."""
        if self._tk is None:
            return
        if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
            self._tk.globalunsetvar(self._name)
        if self._tclCommands is not None:
            for name in self._tclCommands:
                #print '- Tkinter: deleted command', name
                self._tk.deletecommand(name)
            self._tclCommands = None
def __del__ ( self ) : if self . _tk is None : return if self . _tk . getboolean ( self . _tk . call ( "info" , "exists" , self . _name ) ) : self . _tk . globalunsetvar ( self . _name ) if self . _tclCommands is not None : for name in self . _tclCommands : #print '- Tkinter: deleted command', name self . _tk . deletecommand ( name ) self . _tclCommands = None