Пример #1
0
    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.pack(fill=BOTH)
        global textPath
        opt=Frame(self, bd = 1)
        textPath = StringVar()

        lb1=Label(opt,text="Path ? ")
        entre = Entry(opt,textvariable=textPath)

        lb1.pack(side="left")
        entre.pack()
        opt.bouton_Valider = Button(self, text="Valider", command = affiche_recap)
        opt.bouton_Valider.pack(side = "bottom")
        opt.pack(side="top")