class_docstr: When a subclass of EventData is added as a type hint to an argument of an event listener method, this object will be passed as that argument.
  It contains information about the event that triggered the listener, such the target object, and other data related to the specific event that are attributes of the subclass.
  
  Example:
      table = gr.Dataframe([[1, 2, 3], [4, 5, 6]])
      gallery = gr.Gallery([("cat.jpg", "Cat"), ("dog.jpg", "Dog")])
      textbox = gr.Textbox("Hello World!")
  
      statement = gr.Textbox()
  
      def on_select(evt: gr.SelectData):  # SelectData is a subclass of EventData
          return f"You selected {evt.value} at {evt.index} from {evt.target}"
  
      table.select(on_select, None, statement)
      gallery.select(on_select, None, statement)
      textbox.select(on_select, None, statement)
  Demos: gallery_selections, tictactoe
docstr: Parameters:
      target: The target object that triggered the event. Can be used to distinguish if multiple components are bound to the same listener.
docstr_tok: ["Parameters",":","target",":","The","target","object","that","triggered","the","event",".","Can","be","used","to","distinguish","if","multiple","components","are","bound","to","the","same","listener","."]
code: def __init__(self, target: Block | None, _data: Any):
      """
      Parameters:
          target: The target object that triggered the event. Can be used to distinguish if multiple components are bound to the same listener.
      """
      self.target = target
      self._data = _data
  
imports: from __future__ import annotations
  import dataclasses
  from functools import partial, wraps
  from typing import TYPE_CHECKING, Any, Callable, Literal, Sequence
  from gradio_client.documentation import document
  from jinja2 import Template
  from gradio.context import Context
  from gradio.utils import get_cancel_function
label_desc: Use image node_id 1 to create a new EventData object  with example: obj = EventData(target, _data)