需要使用 Entry.insert 。 例如: from Tkinter import * root = Tk() e = Entry(root) e.insert(END, 'default text') e.pack() root.mainloop().
確定! 回上一頁