Lines Matching refs:master
20 def __init__(self, master=None, **options):
21 if master is None:
22 master = options.get('parent')
23 self.master = master
40 master = self.master
41 if master is None:
42 master = _get_temp_root()
44 self._test_callback(master) # The function below is replaced for some tests.
45 s = master.tk.call(self.command, *master._options(self.options))
46 s = self._fixresult(master, s)
48 _destroy_temp_root(master)
52 def _test_callback(self, master):