Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pack tkinter

from Tkinter import *

root = Tk()

listbox = Listbox(root)
listbox.pack(fill=BOTH, expand=1)

for i in range(20):
    listbox.insert(END, str(i))

mainloop()
Source by effbot.org #
 
PREVIOUS NEXT
Tagged: #pack #tkinter
ADD COMMENT
Topic
Name
4+5 =