Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 1.68 KB

protocol_core.rst

File metadata and controls

75 lines (52 loc) · 1.68 KB

pywayland.protocol_core

Protocol Core Modules

Interface

Interface objects are only created as a subclass of Interface. The Interface class wraps the protocol objects, and serves to initialize a set of parameters for the Interface and provide decorators for defining ~pywayland.interface.Message objects on the interface.

Interface

Interface Metaclass

This metaclass initializes lists for the requests and events on an interface and initializes a cdata struct for the class.

pywayland.protocol_core.interface.InterfaceMeta

Proxy

Proxy objects are not created directly, and users should generally not create a proxy class on their own. Proxy classes give client side access to the interfaces defined by the Wayland protocol. Proxies are returned from the server after calling protocol methods which return new_id's.

Proxy

Resource

Resource

Global

Global

Message

~pywayland.interface.Message objects are used to wrap the method calls on the protocol objects. The Message objects are added to the ~pywayland.interface.Interface's as either requests (client-side functions) or events (server-side functions).

pywayland.protocol_core.message.Message

Argument

pywayland.protocol_core.argument.Argument

ArgumentType

pywayland.protocol_core.argument.ArgumentType