class_docstr: Instances of this class are delivered to items in a :class:`GraphicsScene <pyqtgraph.GraphicsScene>` via their mouseDragEvent() method when the item is being mouse-dragged. 
docstr: Return the button that initiated the drag (may be different from the buttons currently pressed)
  (see QGraphicsSceneMouseEvent::button in the Qt documentation)
docstr_tok: ["Return","the","button","that","initiated","the","drag","(","may","be","different","from","the","buttons","currently","pressed",")","(","see","QGraphicsSceneMouseEvent",":",":button","in","the","Qt","documentation",")"]
code: def button(self):
      """Return the button that initiated the drag (may be different from the buttons currently pressed)
      (see QGraphicsSceneMouseEvent::button in the Qt documentation)
  
      """
      return self._button
  
imports: import weakref
  from time import perf_counter
  from ..Point import Point
  from ..Qt import QtCore
label_desc: Use image node_id 12 for calling the MouseDragEvent obj's underlying member method code with example usage: obj.button() and returns: self