Message175207
| Author |
Stefan.Stuhr |
| Recipients |
Bryan.Oakley, Stefan.Stuhr, asvetlov, eric.smith, ezio.melotti, ned.deily, serhiy.storchaka, zach.ware |
| Date |
2012年11月08日.23:11:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1352416272.83.0.564875101142.issue15861@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think this is a case of faulty over-engineering in the ttk module. The following works just fine (imports converted to Python3):
import tkinter as tk
import tkinter.ttk as ttk
root = tk.Tk()
tree = ttk.Treeview(root, columns="1 2 3")
tree.tk.call(tree, "insert", "", "end" , "-values", ("one","two","bam! {"))
tree.grid()
root.mainloop() |
|