def METHOD_NAME(self, geometryModel):
    """Set the geometry to display.
    :param ~pyFAI.gui.model.GeometryModel geometryModel: A geometry.
    """
    assert(isinstance(geometryModel, GeometryModel))
    if self._geometryTabs._geometry is geometryModel:
        return
    self._geometryTabs._geometry.changed.disconnect(self.__updateButtons)
    self._geometryTabs.METHOD_NAME(geometryModel)
    self._geometryTabs._geometry.changed.connect(self.__updateButtons)
    self.__updateButtons()