'Wait until the variable is modified.
A parameter of type IntVar, StringVar, DoubleVar or
BooleanVar must be given.'

def wait_variable(self, name='PY_VAR'):

    self.tk.call('tkwait', 'variable', name)
