def _updateFromPlug( self ) :

		if "enabled" in self.getPlug() :
			with self.getContext() :
				enabled = self.getPlug()["enabled"].getValue()

			if isinstance( self.__row[0], GafferUI.StringPlugValueWidget ) :
				self.__row[0].setEnabled( enabled )

			self.__row[-1].setEnabled( enabled )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/CompoundDataPlugValueWidget.py/_MemberPlugValueWidget._updateFromPlug/original