package wayland

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Handler for a proxy with version >= 2.

constraint 'a = [< `V2 | `V3 ]
method private virtual on_destroy : [> `V2 | `V3 ] t -> unit

Unbind the factory.

Objects created through this interface, especially wl_buffers, will remain valid.

method private virtual on_create_params : [> `V2 | `V3 ] t -> ([ `Zwp_linux_buffer_params_v1 ], 'b, [ `Server ]) {Proxy}2.t -> unit

Create a temporary object for buffer parameters.

This temporary object is used to collect multiple dmabuf handles into a single batch to create a wl_buffer. It can only be used once and should be destroyed after a 'created' or 'failed' event has been received.

method min_version : 'a v2 -> int32
method bind_version : 'c -> [ `V2 ]