lundi 6 mai 2019

How to disable a checkbox in a checkboxtreeview widget in Python

I'm using a checkboxtreeview widget from the ttkwidgets module in my Python script. By setting the state to "checked", "unchecked" or "tristate", I can make the checkbox of an item to appear accordingly as expected.

Is there any way to disable the checkbox, i.e. that the user can't change the state anymore by clicking it?

Thanks a lot for any help!




Aucun commentaire:

Enregistrer un commentaire