parameters: (self, arg)
docstring: :param arg: 
  		:return:
function: def enable_distributed(self, arg):
  		"""
  
  		:param arg: 
  		:return:
  		"""
  		mr_distr_frame = self.winMain + '|f0|t0|tc2|fr2'
  		mr_distr = mr_distr_frame + '|fc2|'
  		setDefaultIntValue(self_prefix, 'mr_distributed', self.mr_param, arg)
  		cmds.checkBoxGrp(mr_distr + 'mr_nomaster', edit=True, enable=arg)
  		#cmds.intFieldGrp (mr_distr + 'mr_port', edit = True, enable = arg)
  		cmds.intFieldGrp(mr_distr + 'mr_hosts_min', edit=True, enable=arg)
  		cmds.intFieldGrp(mr_distr + 'mr_hosts_max', edit=True, enable=arg)
  		#cmds.intFieldGrp (mr_distr + 'mr_threads_limit', edit = True, enable = arg)
  		cmds.textFieldGrp(mr_distr + 'mr_hosts', edit=True, enable=arg)
  		bg_color = self.save_frame_bgc
  		if arg:
  			bg_color = self.def_frame_bgc
  		cmds.frameLayout(mr_distr_frame,
  						 edit=True,
  						 bgc=bg_color)
function_tokens: def enable_distributed ( self , arg ) : mr_distr_frame = self . winMain + '|f0|t0|tc2|fr2' mr_distr = mr_distr_frame + '|fc2|' setDefaultIntValue ( self_prefix , 'mr_distributed' , self . mr_param , arg ) cmds . checkBoxGrp ( mr_distr + 'mr_nomaster' , edit = True , enable = arg ) #cmds.intFieldGrp (mr_distr + 'mr_port', edit = True, enable = arg) cmds . intFieldGrp ( mr_distr + 'mr_hosts_min' , edit = True , enable = arg ) cmds . intFieldGrp ( mr_distr + 'mr_hosts_max' , edit = True , enable = arg ) #cmds.intFieldGrp (mr_distr + 'mr_threads_limit', edit = True, enable = arg) cmds . textFieldGrp ( mr_distr + 'mr_hosts' , edit = True , enable = arg ) bg_color = self . save_frame_bgc if arg : bg_color = self . def_frame_bgc cmds . frameLayout ( mr_distr_frame , edit = True , bgc = bg_color )