(self, widget)
Remove all signal handlers for a widget
Remove all signal handlers for a widget
Remove all signal handlers for a widget
def remove_widget(self, widget):
        """Remove all signal handlers for a widget"""
        if widget not in self.cnxids:
            dbg('%s not registered' % widget)
            return
        signals = list(self.cnxids[widget].keys())
        for signal in signals:
            self.remove_signal(widget, signal)
def remove_widget ( self , widget ) : if widget not in self . cnxids : dbg ( '%s not registered' % widget ) return signals = list ( self . cnxids [ widget ] . keys ( ) ) for signal in signals : self . remove_signal ( widget , signal )