I have an OptionMenu widget what I added some checkbuttons. It keeps closing when an item is check and I want it to stop doing this here's the code
drop1=OptionMenu(frame2, variable=clicked1,value="Options :")
other_variables={}
for o in other:
drop1['menu'].addcheckbutton(label=o,onvalue=1,offvalue=2,variable=var4, command=checkedOther)
Other is a list containing the items that need to be selected