K
kuangye
Hi, all. Why can not i find the pack method in tkinter.
code segment:
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack() ###I can not find this method in Label and Label's ancesters
##So where does pack function come from??
root.mainloop()
code segment:
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack() ###I can not find this method in Label and Label's ancesters
##So where does pack function come from??
root.mainloop()