from Tkinter import * from process import * class customerInterface: value=None nameEntry = None def __init__(self, master): self.value = StringVar() self.nameLabel = Label(master, text="Name:").grid(row=0, sticky=W) self.addressLabel = Label(master, text="Address:").grid(row=1, sticky=W) self.phoneLabel = Label(master, text="Phone:").grid(row=2, sticky=W) self.mobileLabel = Label(master, text="Mobile:").grid(row=3, sticky=W) self.cpfLabel = Label(master, text="CPF").grid(row=4, sticky=W) self.rglabel = Label(master, text="RG").grid(row=5, sticky=W) self.nameEntry = Entry(master, textvariable=self.value).grid(row=0,column=1) self.addresEntry = Entry(master).grid(row=1,column=1) self.phoneEntry = Entry(master).grid(row=2,column=1) self.mobileEntry = Entry(master).grid(row=3,column=1) self.cpfEntry = Entry(master).grid(row=4,column=1) self.rgEntry = Entry(master).grid(row=5,column=1) self.buttonSave = Button(master, text="Save", command=self.save).grid(row=6,columnspan=2, sticky=W+E+N+S) #grid_forget() or grid_remove() remove o widget porem pode aparecer de novo print self.value.get() def save(self): print self.value.get() Agora funciona, porem não imprime nada, deve ser alguma problema relacinado a classe, alguém consegue identifica?:??