package wayland

  1. Overview
  2. Docs
Pure OCaml Wayland protocol library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wayland-2.3.tbz
sha256=10627a94f4cef97147991528fcd246f8f27ccbf3026eafdece995b53ee9468a0
sha512=8e319dc236d04cc9084bf81782497899dca12a392d649a2ac7bd1d5edc1101ebe2bc266a033e23ab9ed46a8b692018bc47005036d10872f7825f4aa4009ab825

doc/wayland.protocols/Wayland_protocols/Viewporter_server/Wp_viewporter/class-v1/index.html

Class Wp_viewporter.v1Source

Handler for a proxy with version >= 1.

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

Unbind from the cropping and scaling interface.

Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wp_viewport objects included.

method private virtual on_get_viewport : [> `V1 ] t -> ([ `Wp_viewport ], 'a, [ `Server ]) Proxy.t -> surface: ([ `Wl_surface ], [> Imports.Wl_surface.versions ], [ `Server ]) Proxy.t -> unit

Extend surface interface for crop and scale.

Instantiate an interface extension for the given wl_surface to crop and scale its content. If the given wl_surface already has a wp_viewport object associated, the viewport_exists protocol error is raised.

method min_version : int32
method bind_version : [ `V1 ]