package wayland

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

Callback object.

Clients can handle the 'done' event to get notified when the related request is done.

Note, because wl_callback objects are created from multiple independent factory interfaces, the wl_callback interface is frozen at version 1.

type 'v t = ([ `Wl_callback ], 'v, [ `Server ]) Proxy.t

Version 1, 2, 3, 4, 5, 6

val done_ : [< `V1 | `V2 | `V3 | `V4 | `V5 | `V6 ] t -> callback_data:int32 -> unit

Done event.

Notify the client when the related request is done.

Handlers

Note: Servers will always want to use v1.

class +'a v1 : object ... end

Handler for a proxy with version >= 1.

class +'a v2 : object ... end

Handler for a proxy with version >= 2.

class +'a v3 : object ... end

Handler for a proxy with version >= 3.

class +'a v4 : object ... end

Handler for a proxy with version >= 4.

class +'a v5 : object ... end

Handler for a proxy with version >= 5.

class +'a v6 : object ... end

Handler for a proxy with version >= 6.

OCaml

Innovation. Community. Security.