[Tkinter-discuss] Treeview B1-Motion selection

Vasilis Vlachoudis Vasilis.Vlachoudis at cern.ch
Mon May 25 13:52:21 EDT 2020


Hi all,

For a ttk.Treeview() I've wanted to bind the B1-Motion to be able to select multiple items
by clicking and dragging the mouse as it happens in the simple listbox. However the bind-method is never called.
I saw that in the treeview.tcl it is binded to some drag method.
Is there a way to achieve a similar selection behaviour like in the listbox?

Thanks in advance.
Vasilis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20200525/7943ff8b/attachment.html>


More information about the Tkinter-discuss mailing list