

def validateTableInfosetMenuEntender(cntlr, validateMenu):
    cntlr.modelManager.generateTableInfoset = cntlr.config.setdefault('generateTableInfoset', False)
    from tkinter import BooleanVar
    generateTableInfoset = BooleanVar(value=cntlr.modelManager.generateTableInfoset)

    def setTableInfosetOption(*args):
        cntlr.config['generateTableInfoset'] = cntlr.modelManager.generateTableInfoset = generateTableInfoset.get()
    generateTableInfoset.trace('w', setTableInfosetOption)
    validateMenu.add_checkbutton(label=_('Generate table infosets (instead of diffing them)'), underline=0, variable=validateMenu, onvalue=True, offvalue=False)

dataset/ETHPy150Open Arelle/Arelle/arelle/examples/plugin/validateTableInfoset.py validateTableInfosetMenuEntender/VarMisuse@103/189 `generateTableInfoset`->`validateMenu`