Page 386 - MDP2020-3
P. 386

380
                      |    인천전자마이스터고등학교  ·············································································································

                    def  cotDown():
                            global  cotSet

                            if  cotSet  <=  3:
                                    cotSet  +=  1
                                    windowSetting()


                    def  cotUp():

                            global  cotSet
                            if  cotSet  >=  1:
                                    cotSet  -=  1
                                    windowSetting()



                    windowSetting()
                    showListFrame  =  Frame(windowFrame,  bg=barColor,  width=100,  height=720)
                    showListFrame.pack(side="right")
                    buttonExecuteClose        =          Button(showListFrame,             image=exitImage,
            command=closeExecute,  bg=statusButtonColor)

                    buttonExecuteUp   =     Button(showListFrame,        image=upCot,      command=cotUp,
            bg=statusButtonColor)
                    buttonExecuteDown  =  Button(showListFrame,  image=downCot,  command=cotDown,
            bg=statusButtonColor)



                    buttonExecuteUp.place(x=15,  y=435)
                    buttonExecuteDown.place(x=15,  y=535)
                    buttonExecuteClose.place(x=15,  y=635)





            def  faceWindow():
                    global  cotSet,  listFont,  numsSFont
                    windowFrame  =  Toplevel(frame,  bg=numsColor)
                    windowFrame.title("얼굴확인창")
                    windowFrame.overrideredirect(True)

                    windowFrame.geometry("1280x720+0+0")


                    faceNameLabel  =  Label(windowFrame,  text="이름",  font=numsSFont,  bg=numsColor)
                    faceNameEntry  =  Entry(windowFrame,  width=23,  relief="solid",  font=listFont)



                    faceNameEntry.place(x=50,  y=70)
                    faceNameLabel.place(x=50,  y=20)


                    def  closeExecute():
   381   382   383   384   385   386   387   388   389   390   391