(self, _widget)
The close button has been clicked. Destroy the tab
The close button has been clicked. Destroy the tab
The close button has been clicked . Destroy the tab
def on_close(self, _widget):
        """The close button has been clicked. Destroy the tab"""
        self.emit('close-clicked', self)
def on_close ( self , _widget ) : self . emit ( 'close-clicked' , self )