Interface
*********

class pywayland.scanner.interface.Interface(name: 'str', version: 'str', description: 'Description | None', enum: 'list[Enum]', event: 'list[Event]', request: 'list[Request]')

   property class_name: str

      Returns the name of the class of the interface

      Camel cases the name of the interface, to be used as the class
      name.

   get_imports(all_imports: dict[str, str]) -> set[tuple[str, str]]

      Return necessary imports for this interface

   output_attributes(printer: Printer) -> None

      Generate the output only of the attributes of the interface

   output_events(printer: Printer) -> None

      Generate the output only of the proxy class

   output_global(printer: Printer) -> None

      Generate the output only of the proxy class

   output_interface(printer: Printer) -> None

      Generate the output only of the interface class

   output_requests(printer: Printer) -> None

      Generate the output only of the proxy class

   classmethod parse(element: Element) -> Interface

      Scanner for interface objects

      Required attributes: *name* and *version*

      Child elements: *description*, *request*, *event*, *enum*
