Argumet¶
-
class
pywayland.scanner.argument.Argument(name: str, type: ArgumentType, summary: str | None, interface: str | None, allow_null: bool, enum: str | None, description: Description | None)¶ Argument to a request or event method
Required attributes: name and type
Optional attributes: summary, interface, and allow-null
Child elements: description
-
argument¶ Output as an Argument
-
interface_class¶ Returns the Interface class name
Gives the class name for the Interface coresponding to the type of the argument.
-
output_doc_param(printer: pywayland.scanner.printer.Printer) → None¶ Document the argument as a parameter
-
output_doc_ret(printer: pywayland.scanner.printer.Printer) → None¶ Document the argument as a return
-
signature¶ Output as the argument appears in the signature.
-
-
class
pywayland.scanner.argument.ArgumentType¶ An enumeration.