Event
*****

class pywayland.scanner.event.Event(name: str, since: str | None, description: Description | None, arg: list[Argument])

   Scanner for event objects (server-side method)

   Required attributes: *name*

   Optional attributes: *since*

   Child elements: *description* and *arg`*

   property method_args: Iterator[str]

      Generator of the arguments to the method

      All arguments to be sent to *._post_event* must be passed in

   output_body(printer: Printer, opcode: int) -> None

      Output the body of the event to the printer

   output_doc_params(printer: Printer) -> None

      Aguments documented as parameters

      All arguments are event parameters.
