@staticmethod
    def dereference(elements, layer=None):
        return dict((k, v.value(layer)) for k, v in elements.items())
Given a dict of elements, extract their current settings
dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/FormElement.dereference