def populateFrame_2(self): self.frame_3.grid_forget() self.enableFrame_2() self.insertBtn.grid_forget() self.insertBtn = ttk.Button(self.frame_2, text = 'Confirm Edit and View', command = self.confirmEdit).grid(row = 6, column = 0, sticky = N+S+E+W) self.filename.insert(0, self.combox.get()) self.body.insert(1.0, hp.getBodyText('Pages/' + self.combox.get())) self.filename.configure(state='disable')
def populateFrame_2(self): self.enableFrame_2() self.filename.insert(0, self.combox.get()) self.body.insert(1.0, hp.getBodyText('Pages/' + self.combox.get())) self.filename.configure(state='disable')