def connect_to(self, parameter):
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.remove_value_listener(self._on_parameter_changed)
     InputControlElement.connect_to(self, parameter)
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.add_value_listener(self._on_parameter_changed)
         self._on_parameter_changed()
 def connect_to(self, parameter):
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.remove_value_listener(
             self._on_parameter_changed)
     InputControlElement.connect_to(self, parameter)
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.add_value_listener(
             self._on_parameter_changed)
         self._on_parameter_changed()
Exemple #3
0
 def release_parameter(self):
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.remove_value_listener(
             self._on_parameter_changed)
     InputControlElement.release_parameter(self)
     return
 def release_parameter(self):
     if self._parameter_to_map_to != None:
         self._parameter_to_map_to.remove_value_listener(self._on_parameter_changed)
     InputControlElement.release_parameter(self)
 def release_parameter(self):
     self._parameter_value_slot.subject = None
     InputControlElement.release_parameter(self)
 def connect_to(self, parameter):
     InputControlElement.connect_to(self, parameter)
     self._parameter_value_slot.subject = parameter
     if self._parameter_to_map_to != None:
         self._on_parameter_changed()
 def release_parameter(self):
     self._parameter_value_slot.subject = None
     InputControlElement.release_parameter(self)
 def connect_to(self, parameter):
     InputControlElement.connect_to(self, parameter)
     self._parameter_value_slot.subject = parameter
     if self._parameter_to_map_to != None:
         self._on_parameter_changed()