Lines Matching full:master
9 def __init__(self, master, argument
13 self.root = Toplevel(master, class_=class_)
15 self.root = Toplevel(master)
35 self._set_transient(master)
37 def _set_transient(self, master, relx=0.5, rely=0.3): argument
40 widget.transient(master)
42 if master.winfo_ismapped():
43 m_width = master.winfo_width()
44 m_height = master.winfo_height()
45 m_x = master.winfo_rootx()
46 m_y = master.winfo_rooty()
48 m_width = master.winfo_screenwidth()
49 m_height = master.winfo_screenheight()
55 if x+w_width > master.winfo_screenwidth():
56 x = master.winfo_screenwidth() - w_width
59 if y+w_height > master.winfo_screenheight():
60 y = master.winfo_screenheight() - w_height