Method

class pywayland.scanner.method.Method(method, iface_name, opcode)

Scanner for methods

Corresponds to event and requests defined on an interface

imports(module_imports)

Get the imports required for each of the interfaces

output(printer, in_class, module_imports)

Generate the output for the given method to the printer

output_doc(printer)

Output the documentation for the interface