I am creating a Listbox using Tkinter and Python. I want to make a Button for select all, but I can't find any info regarding selecting elements using code.
self.l = Listbox(self, height=12, selectmode=MULTIPLE)
self.selectAll=Button(self, text="select all",
command=self.selectAllCallback())
def selectAllCallback(self)
# What to do here