def add_field(self, key, field):
        self.inputs[key] = field
        container = Widget()
        container.style['display'] = 'block'
        container.style['overflow'] = 'auto'
        container.style['padding'] = '3px'
        container.set_layout_orientation(Widget.LAYOUT_HORIZONTAL)
        container.append(self.inputs[key], key=key)
        self.container.append(container, key=key)
Adds a field to the dialog with a unique identifier.
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/GenericDialog.add_field