code: def _get(self, pos):
          
          res = None, None
          if pos is not None:
              try:
                  res = self[pos], pos
              except (IndexError, KeyError):
                  pass
          return res
docs: loads widget at given position; handling invalid arguments