Lines Matching refs:parent
37 def __init__(self, parent, title = None):
43 parent -- a parent window (the application window)
47 Toplevel.__init__(self, parent)
53 if parent.winfo_viewable():
54 self.transient(parent)
59 self.parent = parent
75 if self.parent is not None:
76 self.geometry("+%d+%d" % (parent.winfo_rootx()+50,
77 parent.winfo_rooty()+50))
142 # put focus back to the parent window
143 if self.parent is not None:
144 self.parent.focus_set()
177 parent = None):
179 if not parent:
181 parent = Tkinter._default_root
189 Dialog.__init__(self, parent, title)
219 parent = self
228 parent = self
237 parent = self