I have a problem in the python code which is as follows, type I want to remove the frame from the checkbutton of the entry so I can not, if you can help me, execute the code there for you to understand the problem. >
'from Tkinter import * from sqlite3 import *
class create (object): def init (self, main):
frames and frames packaging
self.font = ('Arial', '18', 'bold')
self.frame1 = Frame(principal)
self.frame1.place()
self.frame1.pack()
self.frame1['bg'] = '#B5B5B5'
self.frame2 = Frame(principal)
self.frame2.place()
self.frame2.pack()
self.frame2['bg'] = '#B5B5B5'
text displayed on screen
L1 = Label(self.frame1, font = self.font, text = " Nome do Seu Banco de Dado ", bg = '#B5B5B5')
L1.pack()
E1 = Entry(self.frame1, bd = 5, highlightcolor = '#1E90FF')
E1.pack()
checkButtons
self.nome = Checkbutton(self.frame2, bd = 5, text = 'Nome', variable = Vnome)
self.nome.place()
self.nome.pack(side = LEFT)
Vnome.get()
self.cor = Checkbutton(self.frame2, bd = 5, text = 'Cor', variable = Vcor)
self.cor.pack(side = LEFT)
Vcor.get()
self.cpf = Checkbutton(self.frame2, bd = 5, text = 'CPF', variable = Vcpf)
self.cpf.pack(side = LEFT)
Vcpf.get()
self.email = Checkbutton(self.frame2, bd = 5, text = 'Email', variable = Vemail)
self.email.pack(side = LEFT)
Vemail.get()
main = Tk ()
variables of the checkButtons methods
Vnome = IntVar () Vcor = IntVar () Vcpf = IntVar () Vemail = IntVar ()
creates instance
create (main) main ['bg'] = '# B5B5B5' background = PhotoImage ('Blue') principal.geometry ('400x300') principal.title ("Register Manager") main.mainloop () '