问答 / 0 / 1 / 创建于 1年前
在listbox里如何禁止选中,只能观看里面的内容,禁止其他操作。
You can do it by
Remove all the default bindings, or
listbox.bindtags((listbox, root, "all"))
Adding binding that override the default one
listbox.bind("<Button-1>", lambda event:"break")
我要举报该,理由是:
You can do it by
Remove all the default bindings, or
Adding binding that override the default one