original_docstring: 
          Defines the target offsets that are used to move the slider position to
          a target location.
  
          Determine proper offset values depending on if the slider is horizontal or vertical
  
          Returns:
              (tuple): The X and Y coordinates for the target coordinates
  
          
docstring: Defines the target offsets that are used to move the slider position to
  a target location.
  
  Determine proper offset values depending on if the slider is horizontal or vertical
docstring_tokens: Defines the target offsets that are used to move the slider position to a target location . Determine proper offset values depending on if the slider is horizontal or vertical
code: def define_offsets(self, desired_percent):
          """
          Defines the target offsets that are used to move the slider position to
          a target location.
  
          Determine proper offset values depending on if the slider is horizontal or vertical
  
          Returns:
              (tuple): The X and Y coordinates for the target coordinates
  
          """
          target_offset_x = self.get_target_offset(desired_percent) if self.orientation == 'horizontal' else 0
          target_offset_y = self.get_target_offset(desired_percent) if self.orientation == 'vertical' else 0
  
          return target_offset_x, target_offset_y
code_tokens: def define_offsets ( self , desired_percent ) : target_offset_x = self . get_target_offset ( desired_percent ) if self . orientation == 'horizontal' else 0 target_offset_y = self . get_target_offset ( desired_percent ) if self . orientation == 'vertical' else 0 return target_offset_x , target_offset_y
short_docstring: Defines the target offsets that are used to move the slider position to
  a target location.
short_docstring_tokens: Defines the target offsets that are used to move the slider position to a target location .
comment: """
          Defines the target offsets that are used to move the slider position to
          a target location.
  
          Determine proper offset values depending on if the slider is horizontal or vertical
  
          Returns:
              (tuple): The X and Y coordinates for the target coordinates
  
          """