Python Forum
[Tkinter] Treeview actions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Treeview actions
#2
Bind a '<ButtonRelease-1>' event to the treeview.
In the event handler do the following:
use the treeview's focus method to get the iid that has focus.
Use the treeview's item method, passing it the iid and it will return a dictionary.
Use the dictionary to update the relevant widget.
Reply


Messages In This Thread
Treeview actions - by swanysto - Oct-22-2022, 10:58 PM
RE: Treeview actions - by Yoriz - Oct-23-2022, 09:14 AM
RE: Treeview actions - by swanysto - Oct-23-2022, 12:33 PM
RE: Treeview actions - by swanysto - Oct-23-2022, 03:27 PM
RE: Treeview actions - by deanhystad - Oct-24-2022, 08:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] [split] Is there a way to embed a treeview as a row inside another treeview? CyKlop 5 3,409 Oct-20-2021, 12:14 AM
Last Post: CyKlop

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020