Event

class pywayland.scanner.event.Event(method, iface_name, opcode)

Scanner for event objects (server-side method)

Required attributes: name

Optional attributes: since

Child elements: description and arg`

interface_types

Generator of the types (for the wl_interface)

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) → 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.

output_doc_ret(printer: pywayland.scanner.printer.Printer) → None

Aguments documented as return values

Nothing is returned from event calls.