'Windows quit, saves the position and size.
:param widget: who sent the signal.
:param event: the event that happened'

def quit(self, widget, event):

    if (self.onDestroy is not None):
        if (not self.onDestroy()):
            return True
    try:
        self.winconfig[self.id_size] = self.get_size()
        self.winconfig[self.id_position] = self.get_position()
    except ValueError:
        pass
    return False
