(self)
When deleting the widget.
When deleting the widget.
When deleting the widget .
def onDeleteWidget(self):
        """When deleting the widget."""
        super().onDeleteWidget()
        self.clear()
def onDeleteWidget ( self ) : super ( ) . onDeleteWidget ( ) self . clear ( )