python Tkinter的一些记录
1. Label里面的文本对齐方式:http://www.hiadmin.org/code/python_tkinter_label
Label(root, text="www.hiadmin.org",bg="red",width=20,height=2, wraplength=80,anchor="w",anchor="w",justify="left").pack()
2. Listbox + Scrollbar
t = Text(root) t.pack() t.insert(1.0,'0123456789')t.insert(END,'jcodeer')t.focus_force()