Рет қаралды 51,522
In this video we'll create a simple search and autofill function with Tkinter and Python.
We'll create an entry box and a list box full of pizza toppings. As you start to type a topping into the entry box, the listbox will automatically update to show toppings that look like what you're typing.
This is a very basic search function and the beginnings of an auto complete or autofill function that you can play with.
** NOTE - TYPO IN THE CODE
my_entry.insert(0, my_list.get(ACTIVE))
should be
my_entry.insert(0, my_list.get(ANCHOR))