Request¶
-
class
pywayland.scanner.request.
Request
(method, iface_name, opcode)¶ Scanner for request objects (client-side method)
Required attributes: name
Optional attributes: type and since
Child elements: description and arg
-
interface_types
¶ Generator of the types (for the wl_interface)
-
marshal_args
¶ Arguments sent to ._marshal
-
method_args
¶ Generator of the arguments to the method
The new_id args are generated in marshaling the args, they do not appear in the args of the method.
-
output_body
(printer)¶ Output the body of the request to the printer
-
output_doc_params
(printer)¶ Aguments documented as parameters
Anything that is not a new_id is
-
output_doc_ret
(printer)¶ Aguments documented as return values
Arguments of type new_id are returned from requests.
-