

def set_menu(self, default=None, *values):
    'Build a new menu of radiobuttons with *values and optionally\n        a default value.'
    menu = self['menu']
    menu.delete(0, 'end')
    for val in values:
        menu.add_radiobutton(label=val, command=Tkinter._setit(self._variable, val, val._callback))
    if default:
        self._variable.set(default)

dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py OptionMenu.set_menu/VarMisuse@62/104 `self`->`val`