mercredi 12 mai 2021

Python Tkinter: Creating checkbuttons from a list

I am building a gui in tkinter with a list task_list = [].

Tasks are appended to/deleted from the list in the gui.

I want a window with checkboxes for every item in the list.

So if there's 10 items in the list, there should also be 10 checkboxes. If there's 5 items in the list, there should be 5 corresponding checkboxes.

Can this be done?

I can't find anything on it

Thanks!




Aucun commentaire:

Enregistrer un commentaire