parameters: (self, pt)
return_statement: return None, None
docstring: Return the object and selection handle at the given point.
  
              We draw selection handles (small rectangles) around the currently
              selected object(s).  If the given point is within one of the
              selection handle rectangles, we return the associated object and a
              code indicating which selection handle the point is in.  If the
              point isn't within any selection handle at all, we return the tuple
              (None, None).
docstring_summary: Return the object and selection handle at the given point.
docstring_tokens: Return the object and selection handle at the given point .
function: def getObjectAndSelectionHandleAt(self, pt):
          """ Return the object and selection handle at the given point.
  
              We draw selection handles (small rectangles) around the currently
              selected object(s).  If the given point is within one of the
              selection handle rectangles, we return the associated object and a
              code indicating which selection handle the point is in.  If the
              point isn't within any selection handle at all, we return the tuple
              (None, None).
          """
          for obj in self.selection:
              handle = obj.getSelectionHandleContainingPoint(pt.x, pt.y)
              if handle is not None:
                  return obj, handle
  
          return None, None
function_tokens: def getObjectAndSelectionHandleAt ( self , pt ) : for obj in self . selection : handle = obj . getSelectionHandleContainingPoint ( pt . x , pt . y ) if handle is not None : return obj , handle return None , None