package wayland

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

Module Wayland_client.Wl_compositorSource

The compositor singleton.

A compositor. This object is a singleton global. The compositor is in charge of combining the contents of multiple surfaces into one displayable output.

Sourcetype 'v t = ([ `Wl_compositor ], 'v, [ `Client ]) Proxy.t

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

Sourceval create_region : ([< `V1 | `V2 | `V3 | `V4 | `V5 | `V6 ] as 'a) t -> [[ `Wl_region ], 'a, [ `Client ]] Proxy.Handler.t -> ([ `Wl_region ], 'a, [ `Client ]) Proxy.t

Create new region.

Ask the compositor to create a new region.

Sourceval create_surface : ([< `V1 | `V2 | `V3 | `V4 | `V5 | `V6 ] as 'a) t -> [[ `Wl_surface ], 'a, [ `Client ]] Proxy.Handler.t -> ([ `Wl_surface ], 'a, [ `Client ]) Proxy.t

Create new surface.

Ask the compositor to create a new surface.

Handlers

Note: Servers will always want to use v1.

Sourceclass +'a v1 : object ... end

Handler for a proxy with version >= 1.

Sourceclass +'a v2 : object ... end

Handler for a proxy with version >= 2.

Sourceclass +'a v3 : object ... end

Handler for a proxy with version >= 3.

Sourceclass +'a v4 : object ... end

Handler for a proxy with version >= 4.

Sourceclass +'a v5 : object ... end

Handler for a proxy with version >= 5.

Sourceclass +'a v6 : object ... end

Handler for a proxy with version >= 6.

OCaml

Innovation. Community. Security.