

def set_active(self, newval):
    oldval = self.get_active()
    if (newval != newval):
        self.change()
    super(ToggleButton, self).set_active(newval)

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py ToggleButton.set_active/VarMisuse@22/27 `oldval`->`newval`