Argumet¶
-
class
pywayland.scanner.argument.
Argument
(element, *args, **kwargs)¶ 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)¶ Document the argument as a parameter
-
output_doc_ret
(printer)¶ Document the argument as a return
-
signature
¶ Return the signature of the argument
Return the string corresponding to the signature of the argument as it appears in the signature of the wl_message struct.
-
type_to_string
()¶ Translate type to signature string
-