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`
-
method_args
¶ Generator of the arguments to the method
All arguments to be sent to ._post_event must be passed in
-
output_body
(printer: pywayland.scanner.printer.Printer, opcode: int) → None¶ Output the body of the event to the printer
-
output_doc_params
(printer: pywayland.scanner.printer.Printer) → None¶ Aguments documented as parameters
All arguments are event parameters.
-