Treeview B1-Motion selection
Vasilis Vlachoudis <[email protected]> Mon, 25 May 2020 17:52:21 +0000
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
--===============8973209963857607125== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_0BC70B5D93E054469872FFD0FE07220E02E655F545CERNXCHG53cer_" --_000_0BC70B5D93E054469872FFD0FE07220E02E655F545CERNXCHG53cer_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. How= ever 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 --_000_0BC70B5D93E054469872FFD0FE07220E02E655F545CERNXCHG53cer_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" id=3D"owaParaStyle"></style> </head> <body fpstyle=3D"1" ocsi=3D"0"> <div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: = 10pt;"> <div style=3D"font-family: Times New Roman; color: #000000; font-size: 16px= "> <div> <div dir=3D"ltr"> <div>Hi all,</div> <div><br> </div> <div>For a ttk.Treeview() I've wanted to bind the B1-Motion to be able to s= elect multiple items</div> <div>by clicking and dragging the mouse as it happens in the simple listbox= . However the bind-method is never called.</div> <div>I saw that in the treeview.tcl it is binded to some drag method.</div> <div>Is there a way to achieve a similar selection behaviour like in the li= stbox?</div> <div><br> </div> <div>Thanks in advance.</div> <div>Vasilis</div> </div> </div> </div> </div> </body> </html> --_000_0BC70B5D93E054469872FFD0FE07220E02E655F545CERNXCHG53cer_-- --===============8973209963857607125== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss --===============8973209963857607125==--