class_docstr: Draws a draggable target symbol (circle plus crosshair).
  
  The size of TargetItem will remain fixed on screen even as the view is zoomed.
  Includes an optional text label.
class_docstr_tok: ["Draws","a","draggable","target","symbol","(","circle","plus","crosshair",")",".","The","size","of","TargetItem","will","remain","fixed","on","screen","even","as","the","view","is","zoomed",".","Includes","an","optional","text","label","."]
docstr: Method to set the position to ``(x, y)`` within the plot view
  
  Parameters
  ----------
  args : tuple or list or QtCore.QPointF or QtCore.QPoint or Point or float
      Two float values or a container that specifies ``(x, y)`` position where the
      TargetItem should be placed
  
  Raises
  ------
  TypeError
      If args cannot be used to instantiate a Point
docstr_tok: ["Method","to","set","the","position","to","``","(","x",",","y",")","``","within","the","plot","view","Parameters","--","--","--","--","--","args",":","tuple","or","list","or","QtCore.QPointF","or","QtCore.QPoint","or","Point","or","float","Two","float","values","or","a","container","that","specifies","``","(","x",",","y",")","``","position","where","the","TargetItem","should","be","placed","Raises","--","--","--","TypeError","If","args","can","not","be","used","to","instantiate","a","Point"]
code: def setPos(self, *args):
      """Method to set the position to ``(x, y)`` within the plot view
  
      Parameters
      ----------
      args : tuple or list or QtCore.QPointF or QtCore.QPoint or Point or float
          Two float values or a container that specifies ``(x, y)`` position where the
          TargetItem should be placed
  
      Raises
      ------
      TypeError
          If args cannot be used to instantiate a Point
      """
      try:
          newPos = Point(*args)
      except TypeError:
          raise
      except Exception:
          raise TypeError(
              f"Could not make Point from arguments: {args!r}"
          )
  
      if self._pos != newPos:
          self._pos = newPos
          super().setPos(self._pos)
          self.sigPositionChanged.emit(self)
  
imports: import string
  from math import atan2
  from ..None import functions
  from ..Point import Point
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
  from .ScatterPlotItem import Symbols
  from .TextItem import TextItem
  from .UIGraphicsItem import UIGraphicsItem
  from .ViewBox import ViewBox
label_desc: Use image node_id 2 for calling the TargetItem obj's underlying member method code with example usage: obj.setPos() without return types