Page 281 - MDP2020-3
P. 281
················································································ 명장양성프로젝트 【MDP】 과제발표회 자료집 Ⅲ | 275
windowFrame = Toplevel(frame, bg=numsColor)
windowFrame.title("커튼확인창")
windowFrame.overrideredirect(True)
windowFrame.geometry("1280x720+0+0")
cotMainFrame = Frame(windowFrame, width=1004, height=481, bg=numsColor, bd=2,
relief="solid")
cotFrameF = Frame(cotMainFrame, bg="khaki", width=1000, height=119)
cotFrameS = Frame(cotMainFrame, bg="white", width=1000, height=120)
cotFrameT = Frame(cotMainFrame, bg="khaki", width=1000, height=120)
cotFrameFo = Frame(cotMainFrame, bg="white", width=1000, height=120)
cotMainFrame.place(x=100, y=120)
cotFrameF.place(x=0, y=0)
cotFrameS.place(x=0, y=119)
cotFrameT.place(x=0, y=237)
cotFrameFo.place(x=0, y=357)
def windowSetting():
if cotSet == 0:
cotFrameF.place_forget()
cotFrameS.place_forget()
cotFrameT.place_forget()
cotFrameFo.place_forget()
elif cotSet == 1:
cotFrameF.place(x=0, y=0)
cotFrameS.place(x=0, y=119)
cotFrameS.config(bg="white")
cotFrameT.place_forget()
cotFrameFo.place_forget()
elif cotSet == 2:
cotFrameF.place(x=0, y=0)
cotFrameS.place(x=0, y=119)
cotFrameS.config(bg="khaki")
cotFrameT.place_forget()
cotFrameFo.place_forget()
elif cotSet == 3:
cotFrameF.place(x=0, y=0)
cotFrameS.place(x=0, y=119)
cotFrameS.config(bg="white")
cotFrameT.place(x=0, y=238)