List Box : ListBox : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » ListBox »

 

List Box


List Box: insert items


from Tkinter import *

root = Tk()
root.title('Listbox')
list = Listbox(root, width=15)
list.pack()

for item in range(10):
    list.insert(END, item)

root.mainloop()


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» ListBox