Python Programming 90 - Button to Add / Remove Tkinter Listbox Items

Python Programming 90 - Button to Add / Remove Tkinter Listbox Items

Caleb Curry

3 года назад

5,888 Просмотров

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


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

@WhereinTruthLies
@WhereinTruthLies - 26.05.2023 04:50

I'm out on account of kimchi SLANDER.

Ответить
@murilong5984
@murilong5984 - 07.09.2022 21:30

nice code

Ответить
@daverussell4052
@daverussell4052 - 17.01.2021 08:26

def add_to_list():
if listbox.curselection():
listbox.insert(listbox.curselection()[0]+1,entry.get())
else:
listbox.insert(END,entry.get())
entry.delete(0,END)
maybe this is how to add if the user select the list

Ответить
@DropDaFonk
@DropDaFonk - 29.09.2020 19:25

I think it's "current selection" ;)

Ответить
@user-nx9rr8zh6l
@user-nx9rr8zh6l - 28.09.2020 17:05

You are the best keep going 💚

Ответить