Argumet¶
-
class
pywayland.scanner.argument.
Argument
(name: str, type: pywayland.scanner.argument.ArgumentType, summary: Optional[str], interface: Optional[str], allow_null: bool, enum: Optional[str], description: Optional[pywayland.scanner.description.Description])¶ Argument to a request or event method
Required attributes: name and type
Optional attributes: summary, interface, and allow-null
Child elements: description
-
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
-
-
class
pywayland.scanner.argument.
ArgumentType
¶ An enumeration.