def METHOD_NAME(self, context):
    """ called when user adjust num sockets per set slider """
    self.set_hidestate_output_sockets_to_cope_with_switchnum()
    self.set_hidestate_input_sockets_to_cope_with_switchnum()