python 3.x - Can't configure tkinter object Listbox -
this question has answer here:
when run code create listbox , change appearance, given error "'nonetype' object has no attribute 'configure'":
listbox = listbox(myscreen).grid(row=1, column=0, sticky=nsew, rowspan=2) listbox.config(border=2, relief=sunken)
`
try configuring listbox before placing it.
listbox = listbox(myscreen) listbox.config(border=2, relief=sunken) listbox.grid(row=1, column=0, sticky=nsew, rowsoan=2)
Comments
Post a Comment