def on_checkbox_changed(self, chb):
        """ Internal callback when a checkbox got changed """
        for item in self._items:
            if item is not chb:
                item.set_checked(False)
                item.node["state"] = DGG.NORMAL
 Internal callback when a checkbox got changed 
metadrive/render_pipeline/rpcore/gui/checkbox_collection.py