Beispiel #1
0
 def setOpts(self, **opts):
     SimpleParameter.setOpts(self, **opts)
     if 'readonly' in opts:  ## if this param is set to readonly, then disable sequencing.
         if opts['readonly'] is False:
             self['sequence'] = 'off'
         self.param('sequence').setOpts(readonly=opts['readonly'],
                                        visible=False)
Beispiel #2
0
 def setOpts(self, **opts):
     SimpleParameter.setOpts(self, **opts)
     if 'readonly' in opts:  ## if this param is set to readonly, then disable sequencing.
         if opts['readonly'] is False:
             self['sequence'] = 'off'
         self.param('sequence').setOpts(readonly=opts['readonly'], visible=False)