Tkinter - Treeview Get Selected Items

Tkinter - Treeview Get Selected Items

JobinPy

2 года назад

10,095 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@videosyarego
@videosyarego - 09.09.2022 20:55

thanks for share your knowledge

Ответить
@gflequio
@gflequio - 23.09.2022 05:31

Thanks for your help, you saved me time to be able to carry out this operation (sorry for my English).

Ответить
@datasoul3256
@datasoul3256 - 19.10.2022 18:42

Hello bro I'm Working on a tkinter app Soo I want the Multiple Selected item in a Nested list like [[1,2,3],[2,3,4]]
So how can I Do This!
Your support will be appreciated!

Ответить
@pcinfor2010
@pcinfor2010 - 27.11.2022 23:29

I watch all your videos, thanks for making them available.
I have a doubt, can you do something to copy information in the treeview to be used elsewhere, I didn't find anything.

Ответить
@tussilherbilot3011
@tussilherbilot3011 - 12.02.2023 20:25

Thanks for sharing it was really helpful

Ответить
@MartinEastwood-t8b
@MartinEastwood-t8b - 16.07.2023 14:44

Thank you, awesome video. Very clear, well paced, no nonsense and easy to follow. Your style of teaching works for me.

Ответить
@robertreopelle2347
@robertreopelle2347 - 19.11.2023 20:10

Thank you, I was looking all over for this exact information.

Ответить
@Honey0062
@Honey0062 - 20.01.2024 08:58

Which module is this?

Ответить
@jeffreywarf
@jeffreywarf - 21.01.2024 02:52

this is the video that took my project over the finish line. thank you!

Ответить
@cecilbrews
@cecilbrews - 20.02.2024 04:43

great video! It helped me a lot to understand a lot of issues I was having with my cursed Treview T_T suscribed so I can check the other videos too!

Ответить
@batdude2196
@batdude2196 - 10.04.2024 22:57

Using a SELECT button is awkward in BROWSE mode (1 item selection). One of the difficulties of the treeview is handling mouse click on an item. If you try to trap the click on the treeview widget you may get the PRIOR value, not the current value, depending on your code. For anyone reading this, here is some proper code to determine what was clicked in the treeview in BROWSE mode:

def myTreeviewClick(event):
item = myTreeView.identify('item', event.x, event.y)
print("You Selected ->", myTreeView.item(item, "text"))

Ответить