Hi,

Thus spoketh pyt...@bdurham.com 
unto us on Thu, 30 Dec 2010 16:49:43 -0500:

> Is there a way to for users to re-arrange column order in the
> ttk.treeview widget? Many grid-like user interfaces allow a user
> to drag and drop columns to change column order. Any such
> capability present in the ttk.treeview widget?

You can change the order of the columns with the treeview's displaycolumns
option. The dnd handling seems to be a perfect task for the Tkdnd module,
just look at the module's demo code, it shouldn't be too hard to figure
out how it works.

Regards, and a happy new year!

Michael



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Suffocating together ... would create heroic camaraderie.
                -- Khan Noonian Singh, "Space Seed", stardate 3142.8
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to