Lines Matching refs:self
20 def __init__(self, master=None, **options):
23 self.master = master
24 self.options = options
26 def _fixoptions(self):
29 def _fixresult(self, widget, result):
32 def show(self, **options):
36 self.options[k] = v
38 self._fixoptions()
40 master = self.master
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)
52 def _test_callback(self, master):